After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632719 - empathy-auth-client crashed with SIGABRT in dbus_g_connection_register_g_object()
empathy-auth-client crashed with SIGABRT in dbus_g_connection_register_g_obje...
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: General
2.32.x
Other Linux
: Normal critical
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-10-20 16:52 UTC by Cristian Aravena Romero
Modified: 2010-12-03 14:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
valgrind.log (161.20 KB, text/plain)
2010-11-05 21:54 UTC, Cristian Aravena Romero
Details

Description Cristian Aravena Romero 2010-10-20 16:52:39 UTC
Open Bug in Launchpad.net:
https://bugs.launchpad.net/bugs/664017

"Close and open Empathy"


Stacktrace:
 #0  0x00007f8348a12ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
         pid = <value optimized out>
         selftid = <value optimized out>
 #1  0x00007f8348a166b0 in abort () at abort.c:92
         act = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = {__val = {13262848, 2, 140201839418944, 2, 13251808, 140201835780944, 140201994278088, 46, 4294967295, 2, 5, 3014768, 0, 140201663590832, 140201842454112, 140201839435776}}, sa_flags = 1374866321, sa_restorer = 0x5}
         sigs = {__val = {32, 0 <repeats 15 times>}}
 #2  0x00007f8348dacf0a in g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, args1=0x7f833e5af620) at /build/buildd/glib2.0-2.26.0/glib/gmessages.c:557
         depth = <value optimized out>
         domain = <value optimized out>
         data = 0x0
         log_func = 0x7f8348dac570 <g_log_default_handler>
         domain_fatal_mask = -1
         test_level = 3
         was_recursion = 0
         i = <value optimized out>
 #3  0x00007f8348dacfa3 in g_log (log_domain=0xea2 <Address 0xea2 out of bounds>, log_level=3747, format=0x6 <Address 0x6 out of bounds>) at /build/buildd/glib2.0-2.26.0/glib/gmessages.c:577
         args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7f833e5af700, reg_save_area = 0x7f833e5af640}}
 #4  0x00007f83505ff55d in dbus_g_connection_register_g_object () from /usr/lib/libdbus-glib-1.so.2
 No symbol table info available.
 #5  0x00007f834e416f66 in tp_debug_sender_constructed (object=<value optimized out>) at debug-sender.c:230
         dbus_daemon = <value optimized out>
 #6  0x00007f8349668b90 in g_object_newv (object_type=<value optimized out>, n_parameters=1, parameters=0x7f8349042788) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:1490
         oparams = 0x0
         nqueue = 0xc94780
         object = <value optimized out>
         class = 0xc82d70
         unref_class = 0x0
         slist = <value optimized out>
         n_total_cparams = 1
         n_cparams = <value optimized out>
         n_oparams = <value optimized out>
         n_cvalues = 1343880304
         clist = 0x7f835019fc70
         newly_constructed = 1
         i = 1
         __PRETTY_FUNCTION__ = "g_object_newv"
 #7  0x00007f834966964c in g_object_new (object_type=13118512, first_property_name=0x0) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:1293
         var_args = {{gp_offset = 13107200, fp_offset = 0, overflow_arg_area = 0x0, reg_save_area = 0xc697a0}}
         __PRETTY_FUNCTION__ = "g_object_new"
 #8  0x000000000041b04b in log_to_debug_sender (flag=EMPATHY_DEBUG_TLS, format=<value optimized out>) at empathy-debug.c:125
         sender = <value optimized out>
         now = {tv_sec = 1212, tv_usec = 140201836309450}
 #9  empathy_debug (flag=EMPATHY_DEBUG_TLS, format=<value optimized out>) at empathy-debug.c:149
         message = 0xca5c60 "get_number_and_type_of_certificates: Found PEM, with 142 certificates"
         args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7f833e5afac0, reg_save_area = 0x7f833e5af9d0}}
 #10 0x000000000041c559 in get_number_and_type_of_certificates (job=<value optimized out>, cancellable=<value optimized out>, user_data=<value optimized out>) at empathy-tls-verifier.c:362
         fake = 0xc697a0
         retval = 142
         res = <value optimized out>
 #11 build_gnutls_ca_and_crl_lists (job=<value optimized out>, cancellable=<value optimized out>, user_data=<value optimized out>) at empathy-tls-verifier.c:418
         contents = 0x7f8352067010 "-----BEGIN CERTIFICATE-----\nMIIEuDCCA6CgAwIBAgIBBDANBgkqhkiG9w0BAQUFADCBtDELMAkGA1UEBhMCQlIx\nEzARBgNVBAoTCklDUC1CcmFzaWwxPTA7BgNVBAsTNEluc3RpdHV0byBOYWNpb25h\nbCBkZSBUZWNub2xvZ2lhIGRhIEluZm9ybWFjYW8gLS"...
         length = 221357
         datum = {data = 0x7f8352067010 "-----BEGIN CERTIFICATE-----\nMIIEuDCCA6CgAwIBAgIBBDANBgkqhkiG9w0BAQUFADCBtDELMAkGA1UEBhMCQlIx\nEzARBgNVBAoTCklDUC1CcmFzaWwxPTA7BgNVBAsTNEluc3RpdHV0byBOYWNpb25h\nbCBkZSBUZWNub2xvZ2lhIGRhIEluZm9ybWFjYW8gLS"..., size = 221357}
         path = 0x436520 "/etc/ssl/certs/ca-certificates.crt"
         res = <value optimized out>
         n_certs = 32643
         format = <value optimized out>
         idx = <value optimized out>
         user_certs_dir = <value optimized out>
         dir = <value optimized out>
         error = 0x0
         priv = 0xc9d540
         __PRETTY_FUNCTION__ = "build_gnutls_ca_and_crl_lists"
 #12 0x00007f83498f3426 in io_job_thread (data=<value optimized out>, user_data=<value optimized out>) at /build/buildd/glib2.0-2.26.0/gio/gioscheduler.c:181
         job = 0xc3df60
         result = 0
 #13 0x00007f8348dcd73f in g_thread_pool_thread_proxy (data=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gthreadpool.c:319
         task = 0xc3df60
         pool = 0xc79cc0
 #14 0x00007f8348dcb7e4 in g_thread_create_proxy (data=0xc860d0) at /build/buildd/glib2.0-2.26.0/glib/gthread.c:1897
         __PRETTY_FUNCTION__ = "g_thread_create_proxy"
 #15 0x00007f835019c971 in start_thread () from /lib/libpthread.so.0
 No symbol table info available.
 #16 0x00007f8348ac591d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 No locales.
 #17 0x0000000000000000 in ?? ()
 No symbol table info available.
StacktraceTop:
 dbus_g_connection_register_g_object () from /usr/lib/libdbus-glib-1.so.2
 tp_debug_sender_constructed (object=<value optimized out>) at debug-sender.c:230
 g_object_newv (object_type=<value optimized out>, n_parameters=1, parameters=0x7f8349042788) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:1490
 g_object_new (object_type=13118512, first_property_name=0x0) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:1293
 log_to_debug_sender (flag=EMPATHY_DEBUG_TLS, format=<value optimized out>) at empathy-debug.c:125
Tags: maverick
ThreadStacktrace:
 .
 Hilo 2 (Thread 3746):
 #0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:26
 No locales.
 #1  0x00007f83503be238 in dbus_connection_unregister_object_path () from /lib/libdbus-1.so.3
 No symbol table info available.
 #2  0x00007f8349665210 in weak_refs_notify (data=<value optimized out>) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:2205
         wstack = 0x7f8338000bb0
         i = 2
 #3  0x00007f8348d8b24e in g_data_set_internal (datalist=0x7f835019fc70, key_id=53, data=0x0, destroy_func=0) at /build/buildd/glib2.0-2.26.0/glib/gdataset.c:351
         list = 0xc9f820
 #4  g_datalist_id_set_data_full (datalist=0x7f835019fc70, key_id=53, data=0x0, destroy_func=0) at /build/buildd/glib2.0-2.26.0/glib/gdataset.c:598
         __PRETTY_FUNCTION__ = "g_datalist_id_set_data_full"
 #5  0x00007f834966599a in g_object_unref (_object=<value optimized out>) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:2658
         object = 0xca12c0
         old_ref = 1
         __PRETTY_FUNCTION__ = "g_object_unref"
 #6  0x000000000041b0b1 in log_to_debug_sender (flag=<value optimized out>, format=<value optimized out>) at empathy-debug.c:134
         sender = 0xca12c0
         now = {tv_sec = 1287590712, tv_usec = 706220}
 #7  empathy_debug (flag=<value optimized out>, format=<value optimized out>) at empathy-debug.c:149
         message = 0x7f8338001160 "auth_factory_new_handler_cb: New TLS server handler received from the factory"
         args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff03561b70, reg_save_area = 0x7fff03561a80}}
 #8  0x000000000041378f in auth_factory_new_handler_cb (factory=<value optimized out>, handler=0xc58e00, user_data=<value optimized out>) at empathy-auth-client.c:191
         certificate = 0x0
         hostname = 0x0
         verifier = <value optimized out>
         __PRETTY_FUNCTION__ = "auth_factory_new_handler_cb"
 #9  0x00007f8349663a6e in g_closure_invoke (closure=0xc7df00, return_value=0x0, n_param_values=2, param_values=0xca1290, invocation_hint=0x7fff03561cc0) at /build/buildd/glib2.0-2.26.0/gobject/gclosure.c:766
         marshal = 0x20
         marshal_data = 0xea2
         __PRETTY_FUNCTION__ = "g_closure_invoke"
 #10 0x00007f83496794d7 in signal_emit_unlocked_R (node=0xc75d60, detail=<value optimized out>, instance=<value optimized out>, emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:3252
         tmp = <value optimized out>
         handler = 0xc48990
         accumulator = 0x0
         emission = {next = 0x0, instance = 0xc48690, ihint = {signal_id = 147, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
         class_closure = 0x0
         handler_list = 0xc48990
         return_accu = <value optimized out>
         accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
         signal_id = 147
         max_sequential_handler_number = <value optimized out>
         return_value_altered = 0
 #11 0x00007f834967a996 in g_signal_emit_valist (instance=0xc48690, signal_id=<value optimized out>, detail=0, var_args=0x7fff03561eb0) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:2983
         signal_return_type = 4
         param_values = <value optimized out>
         node = 0xc75d60
         i = <value optimized out>
         n_params = <value optimized out>
         __PRETTY_FUNCTION__ = "g_signal_emit_valist"
 #12 0x00007f834967af53 in g_signal_emit (instance=0x7f8338000930, signal_id=939526448, detail=1346251157) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:3040
         var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fff03561f90, reg_save_area = 0x7fff03561ed0}}
 #13 0x000000000041af6e in server_tls_handler_ready_cb (source=<value optimized out>, res=<value optimized out>, user_data=0xc5e6c0) at empathy-auth-factory.c:104
         handler = 0xc58e00
         error = 0x0
         __PRETTY_FUNCTION__ = "server_tls_handler_ready_cb"
 #14 0x00007f83498ffa19 in complete_in_idle_cb (data=0x7f8338000930) at /build/buildd/glib2.0-2.26.0/gio/gsimpleasyncresult.c:702
 No locales.
 #15 0x00007f8348da2342 in g_main_dispatch (context=0xbf7080) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
         dispatch = 0x7f8348da0380 <g_idle_dispatch>
         user_data = 0xc9d460
         callback = 0x7f83498ffa10 <complete_in_idle_cb>
         cb_funcs = 0x7f8349042610
         cb_data = 0x7f83380017c0
         current_source_link = {data = 0x7f8338001670, next = 0x0}
         source = 0x7f8338001670
         current = 0xc7fa10
         i = 0
 #16 g_main_context_dispatch (context=0xbf7080) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
 No locales.
 #17 0x00007f8348da62a8 in g_main_context_iterate (context=0xbf7080, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
         max_priority = 0
         timeout = 0
         some_ready = 1
         nfds = 3
         allocated_nfds = 1222324624
         fds = <value optimized out>
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #18 0x00007f8348da67b5 in g_main_loop_run (loop=0xc68900) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2988
         self = 0xbbaf60
         __PRETTY_FUNCTION__ = "g_main_loop_run"
 #19 0x00007f834b8be3e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
         tmp_list = 0x7fff035621c8
         functions = 0x0
         init = 0xc48690
         loop = <value optimized out>
 #20 0x000000000041368c in main (argc=1, argv=0x7fff035622c8) at empathy-auth-client.c:263
         context = <value optimized out>
         error = 0x0
         factory = 0xc48690
         __PRETTY_FUNCTION__ = "main"
 .
 Hilo 1 (Thread 3747):
 #0  0x00007f8348a12ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
         pid = <value optimized out>
         selftid = <value optimized out>
 #1  0x00007f8348a166b0 in abort () at abort.c:92
         act = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = {__val = {13262848, 2, 140201839418944, 2, 13251808, 140201835780944, 140201994278088, 46, 4294967295, 2, 5, 3014768, 0, 140201663590832, 140201842454112, 140201839435776}}, sa_flags = 1374866321, sa_restorer = 0x5}
         sigs = {__val = {32, 0 <repeats 15 times>}}
 #2  0x00007f8348dacf0a in g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, args1=0x7f833e5af620) at /build/buildd/glib2.0-2.26.0/glib/gmessages.c:557
         depth = <value optimized out>
         domain = <value optimized out>
         data = 0x0
         log_func = 0x7f8348dac570 <g_log_default_handler>
         domain_fatal_mask = -1
         test_level = 3
         was_recursion = 0
         i = <value optimized out>
 #3  0x00007f8348dacfa3 in g_log (log_domain=0xea2 <Address 0xea2 out of bounds>, log_level=3747, format=0x6 <Address 0x6 out of bounds>) at /build/buildd/glib2.0-2.26.0/glib/gmessages.c:577
         args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7f833e5af700, reg_save_area = 0x7f833e5af640}}
 #4  0x00007f83505ff55d in dbus_g_connection_register_g_object () from /usr/lib/libdbus-glib-1.so.2
 No symbol table info available.
 #5  0x00007f834e416f66 in tp_debug_sender_constructed (object=<value optimized out>) at debug-sender.c:230
         dbus_daemon = <value optimized out>
 #6  0x00007f8349668b90 in g_object_newv (object_type=<value optimized out>, n_parameters=1, parameters=0x7f8349042788) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:1490
         oparams = 0x0
         nqueue = 0xc94780
         object = <value optimized out>
         class = 0xc82d70
         unref_class = 0x0
         slist = <value optimized out>
         n_total_cparams = 1
         n_cparams = <value optimized out>
         n_oparams = <value optimized out>
         n_cvalues = 1343880304
         clist = 0x7f835019fc70
         newly_constructed = 1
         i = 1
         __PRETTY_FUNCTION__ = "g_object_newv"
 #7  0x00007f834966964c in g_object_new (object_type=13118512, first_property_name=0x0) at /build/buildd/glib2.0-2.26.0/gobject/gobject.c:1293
         var_args = {{gp_offset = 13107200, fp_offset = 0, overflow_arg_area = 0x0, reg_save_area = 0xc697a0}}
         __PRETTY_FUNCTION__ = "g_object_new"
 #8  0x000000000041b04b in log_to_debug_sender (flag=EMPATHY_DEBUG_TLS, format=<value optimized out>) at empathy-debug.c:125
         sender = <value optimized out>
         now = {tv_sec = 1212, tv_usec = 140201836309450}
 #9  empathy_debug (flag=EMPATHY_DEBUG_TLS, format=<value optimized out>) at empathy-debug.c:149
         message = 0xca5c60 "get_number_and_type_of_certificates: Found PEM, with 142 certificates"
         args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7f833e5afac0, reg_save_area = 0x7f833e5af9d0}}
 #10 0x000000000041c559 in get_number_and_type_of_certificates (job=<value optimized out>, cancellable=<value optimized out>, user_data=<value optimized out>) at empathy-tls-verifier.c:362
         fake = 0xc697a0
         retval = 142
         res = <value optimized out>
 #11 build_gnutls_ca_and_crl_lists (job=<value optimized out>, cancellable=<value optimized out>, user_data=<value optimized out>) at empathy-tls-verifier.c:418
         contents = 0x7f8352067010 "-----BEGIN CERTIFICATE-----\nMIIEuDCCA6CgAwIBAgIBBDANBgkqhkiG9w0BAQUFADCBtDELMAkGA1UEBhMCQlIx\nEzARBgNVBAoTCklDUC1CcmFzaWwxPTA7BgNVBAsTNEluc3RpdHV0byBOYWNpb25h\nbCBkZSBUZWNub2xvZ2lhIGRhIEluZm9ybWFjYW8gLS"...
         length = 221357
         datum = {data = 0x7f8352067010 "-----BEGIN CERTIFICATE-----\nMIIEuDCCA6CgAwIBAgIBBDANBgkqhkiG9w0BAQUFADCBtDELMAkGA1UEBhMCQlIx\nEzARBgNVBAoTCklDUC1CcmFzaWwxPTA7BgNVBAsTNEluc3RpdHV0byBOYWNpb25h\nbCBkZSBUZWNub2xvZ2lhIGRhIEluZm9ybWFjYW8gLS"..., size = 221357}
         path = 0x436520 "/etc/ssl/certs/ca-certificates.crt"
         res = <value optimized out>
         n_certs = 32643
         format = <value optimized out>
         idx = <value optimized out>
         user_certs_dir = <value optimized out>
         dir = <value optimized out>
         error = 0x0
         priv = 0xc9d540
         __PRETTY_FUNCTION__ = "build_gnutls_ca_and_crl_lists"
 #12 0x00007f83498f3426 in io_job_thread (data=<value optimized out>, user_data=<value optimized out>) at /build/buildd/glib2.0-2.26.0/gio/gioscheduler.c:181
         job = 0xc3df60
         result = 0
 #13 0x00007f8348dcd73f in g_thread_pool_thread_proxy (data=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gthreadpool.c:319
         task = 0xc3df60
         pool = 0xc79cc0
 #14 0x00007f8348dcb7e4 in g_thread_create_proxy (data=0xc860d0) at /build/buildd/glib2.0-2.26.0/glib/gthread.c:1897
         __PRETTY_FUNCTION__ = "g_thread_create_proxy"
 #15 0x00007f835019c971 in start_thread () from /lib/libpthread.so.0
 No symbol table info available.
 #16 0x00007f8348ac591d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 No locales.
 #17 0x0000000000000000 in ?? ()
 No symbol table info available.
Comment 1 Guillaume Desmottes 2010-10-21 08:58:48 UTC
Looks like a memory corruption. Could you please run /usr/lib/empathy/empathy-auth-client with valgrind and attach logs please?

Start it using:

G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 /usr/lib/empathy/empathy-auth-client
Comment 2 Cristian Aravena Romero 2010-11-05 21:54:37 UTC
Created attachment 173922 [details]
valgrind.log
Comment 3 Cristian Aravena Romero 2010-11-06 22:14:21 UTC
Random Crash
Comment 4 Guillaume Desmottes 2010-11-08 09:28:43 UTC
This log doesn't contain any info about the crash, so I suspect it wasn't reproduced. Could you please define the env variable EMPATHY_PERSIST=1 and then retry? This should prevent the app of closing automatically so you'll get logs until it crashes.
Comment 5 Fabio Durán Verdugo 2010-12-03 03:40:36 UTC
cristian any news?
Comment 6 Cristian Aravena Romero 2010-12-03 14:39:10 UTC
Not problem with Empathy 2.32.1.  Please close report