[Bug 32019] New: tp-idle aborts when run with G_SLICE=debug-blocks

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 1 16:47:24 CET 2010


https://bugs.freedesktop.org/show_bug.cgi?id=32019

           Summary: tp-idle aborts when run with G_SLICE=debug-blocks
           Product: Telepathy
           Version: 5.5
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: idle
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: nalimilan at club.fr
         QAContact: telepathy-bugs at lists.freedesktop.org


I wanted to debug telepathy-idle because of a crash (bug 29103), but it aborts
as soon as I start Empathy. So I can't go further to catch memory errors...

I'm using version 5.5.4, telepathy-idle 0.1.6 on Ubuntu 10.10.


IDLE_PERSIST=1 IDLE_DEBUG=all G_SLICE=debug-blocks gdb
/usr/lib/telepathy/telepathy-idle
[...]
Starting program: /usr/lib/telepathy/telepathy-idle 
[Thread debugging using libthread_db enabled]
(process:4014): tp-glib/proxy-DEBUG: tp_proxy_dispose: 0x807b410
(process:4014): tp-glib/proxy-DEBUG: tp_proxy_invalidate: 0x807b410: Proxy
unreferenced
(process:4014): tp-glib/proxy-DEBUG: tp_proxy_finalize: 0x807b410
(telepathy-idle:4014): tp-glib-DEBUG: started version 0.1.6 (telepathy-glib
version 0.12.0)
** (telepathy-idle:4014): DEBUG: idle_nickname_is_valid: Validating nickname
'milanbv' with strict mode 1
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for account:
"milanbv"
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for server:
"irc.gimp.org"
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for port: 6667
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for password:
<secret>
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for fullname:
"Milan Bouchet-Valat"
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: no default value for username
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using default value for charset
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: no default value for quit-message
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for use-ssl: FALSE
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: account
= "milanbv"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: server
= "irc.gimp.org"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: port =
6667 = 0x1a0b
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset:
password = <hidden>
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset:
fullname = "Milan Bouchet-Valat"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: charset
= "UTF-8"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: use-ssl
= FALSE
(telepathy-idle:4014): tp-glib/connection-DEBUG: tp_base_connection_class_init:
Initializing (TpBaseConnectionClass *)0x807f140
(telepathy-idle:4014): tp-glib/connection-DEBUG: tp_base_connection_init:
Initializing (TpBaseConnection *)0x8080810
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Post-construction: (TpBaseConnection
*)0x8080810
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #0 at (nil)
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #1 at 0x806fe60
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #2 at 0x806fef0
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #3 at (nil)
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #4 at (nil)
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Channel manager #0 at 0x80753c0
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Channel manager #1 at 0x807a250
(telepathy-idle:4014): tp-glib/connection-DEBUG: tp_base_connection_register:
bus name
org.freedesktop.Telepathy.Connection.idle.irc.milanbv_40irc_2egimp_2eorg0x8080810
(telepathy-idle:4014): tp-glib/connection-DEBUG: tp_base_connection_register:
object path
/org/freedesktop/Telepathy/Connection/idle/irc/milanbv_40irc_2egimp_2eorg0x8080810
** (telepathy-idle:4014): DEBUG: idle_nickname_is_valid: Validating nickname
'milanbv' with strict mode 1
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for account:
"milanbv"
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for server:
"irc.ubuntu.com"
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for port: 6667
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for password:
<secret>
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for fullname:
"Milan Bouchet-Valat"
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: no default value for username
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using default value for charset
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: no default value for quit-message
(telepathy-idle:4014): tp-glib/params-DEBUG:
tp_base_protocol_sanitize_parameters: using specified value for use-ssl: FALSE
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: account
= "milanbv"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: server
= "irc.ubuntu.com"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: port =
6667 = 0x1a0b
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset:
password = <hidden>
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset:
fullname = "Milan Bouchet-Valat"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: charset
= "UTF-8"
(telepathy-idle:4014): tp-glib/params-DEBUG: tp_cm_param_setter_offset: use-ssl
= FALSE
(telepathy-idle:4014): tp-glib/connection-DEBUG: tp_base_connection_init:
Initializing (TpBaseConnection *)0x80808d0
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Post-construction: (TpBaseConnection
*)0x80808d0
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #0 at (nil)
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #1 at 0x806fc90
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #2 at 0x806fcf0
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #3 at (nil)
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Handle repo for type #4 at (nil)
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Channel manager #0 at 0x8075680
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_constructor: Channel manager #1 at 0x807a2c8
(telepathy-idle:4014): tp-glib/connection-DEBUG: tp_base_connection_register:
bus name
org.freedesktop.Telepathy.Connection.idle.irc.milanbv_40irc_2eubuntu_2ecom0x80808d0
(telepathy-idle:4014): tp-glib/connection-DEBUG: tp_base_connection_register:
object path
/org/freedesktop/Telepathy/Connection/idle/irc/milanbv_40irc_2eubuntu_2ecom0x80808d0
** (telepathy-idle:4014): DEBUG: change_state: emitting status-changed, state
1, reason 1
** (telepathy-idle:4014): DEBUG: sconn_status_changed_cb: called with state 1
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_change_status: was 4294967295, now 1, for reason 1
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_change_status: emitting status-changed to 1, for reason 1
** (telepathy-idle:4014): DEBUG: change_state: emitting status-changed, state
1, reason 1
** (telepathy-idle:4014): DEBUG: sconn_status_changed_cb: called with state 1
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_change_status: was 4294967295, now 1, for reason 1
(telepathy-idle:4014): tp-glib/connection-DEBUG:
tp_base_connection_change_status: emitting status-changed to 1, for reason 1
** (telepathy-idle:4014): DEBUG: connect_io_func: connected!
** (telepathy-idle:4014): DEBUG: change_state: emitting status-changed, state
2, reason 1
** (telepathy-idle:4014): DEBUG: sconn_status_changed_cb: called with state 2
GSlice: MemChecker: attempt to release block with invalid size: 0x8075960
size=28 invalid-size=24

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) ba
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7a56941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7a59e42 in abort () at abort.c:92
#3  0xb7e913df in g_slice_free1 (mem_size=24, mem_block=0x8075960)
    at /build/buildd/glib2.0-2.26.1/glib/gslice.c:880
#4  0x08059cc8 in idle_dns_result_destroy (result=0x8075960)
    at idle-dns-resolver.c:50
#5  0x08059ca9 in idle_dns_result_destroy (result=0x8075940)
    at idle-dns-resolver.c:45
#6  0x08059ca9 in idle_dns_result_destroy (result=0x8075920)
    at idle-dns-resolver.c:45
#7  0x0805669b in async_connect_data_destroy (data=0x8076590)
    at idle-server-connection.c:82
#8  0x08056d1a in connect_io_func (src=0x8088468, cond=G_IO_OUT, 
    data=0x80856f0) at idle-server-connection.c:366
#9  0xb7eb8e9b in g_io_unix_dispatch (source=0x80884c0, 
    callback=0x8056960 <connect_io_func>, user_data=0x80856f0)
    at /build/buildd/glib2.0-2.26.1/glib/giounix.c:166
#10 0xb7e71855 in g_main_dispatch (context=0x8079b30)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#11 g_main_context_dispatch (context=0x8079b30)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#12 0xb7e75668 in g_main_context_iterate (context=0x8079b30, 
    block=<value optimized out>, dispatch=1, self=0x8069008)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#13 0xb7e75ba7 in g_main_loop_run (loop=0x8071890)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2988
#14 0xb7c517ff in tp_run_connection_manager (
    prog_name=0x8061edb "telepathy-idle", version=0x8061ed5 "0.1.6", 
    construct_cm=0x804d940 <_construct_cm>, argc=1, argv=0xbffff414)
    at run.c:285
#15 0x0804d92a in main (argc=1, argv=0xbffff414) at idle.c:47

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list