Bug 52030 - Logger crashes on every received call (sofiasip)
Summary: Logger crashes on every received call (sofiasip)
Status: RESOLVED NOTOURBUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: 0.4
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-12 22:52 UTC by Felix Möller
Modified: 2012-07-14 06:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Felix Möller 2012-07-12 22:52:10 UTC
Hi,

I am using telepathy-logger 0.4.0-0ubuntu1.

It crashes on every received call via sofiasip.

The following is the backtrace:
(gdb) bt
#0  0x00007fa1227e5dba in _IO_vfprintf_internal (s=<optimized out>, format=<optimized out>, ap=<optimized out>) at vfprintf.c:1624
#1  0x00007fa1228a49d1 in __GI___vasprintf_chk (result_ptr=0x7fff311adb88, flags=1, 
    format=0x7fa1236ef5a0 "%s: Moving to ENDED_STATE, duration=%li reason=%s details=%s", args=0x7fff311adba8) at vasprintf_chk.c:68
#2  0x00007fa123204dbb in vasprintf (__ap=<optimized out>, __fmt=<optimized out>, __ptr=0x7fff311adb88) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:199
#3  g_vasprintf (string=0x7fff311adb88, format=<optimized out>, args=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gprintf.c:314
#4  0x00007fa1231e449d in g_strdup_vprintf (format=<optimized out>, args=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gstrfuncs.c:509
#5  0x00007fa1236d4f0e in _tpl_debug (flag=TPL_DEBUG_CHANNEL, format=<optimized out>) at debug.c:97
#6  0x00007fa121a25a14 in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#7  0x00007fa121a25435 in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#8  0x00007fa123487b16 in g_cclosure_marshal_generic_va (closure=0x186e8e0, return_value=0x0, instance=0x1894050, args_list=<optimized out>, 
    marshal_data=0x7fa1236e72f0, n_params=7, param_types=0x184c910) at /build/buildd/glib2.0-2.32.3/./gobject/gclosure.c:1550
#9  0x00007fa123486eca in _g_closure_invoke_va (closure=0x186e8e0, return_value=0x0, instance=0x1894050, args=0x7fff311ae2a8, n_params=7, 
    param_types=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gobject/gclosure.c:840
#10 0x00007fa12349f741 in g_signal_emit_valist (instance=0x1894050, signal_id=<optimized out>, detail=0, var_args=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3207
#11 0x00007fa1234a0754 in g_signal_emit_by_name (instance=0x1894050, detailed_signal=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3389
#12 0x00007fa122e2e256 in handle_members_changed (self=0x1894050, message=0x7fa122f1a135 "", added=<optimized out>, removed=0x1878c70, 
    local_pending=0x1878960, remote_pending=<optimized out>, actor=4, reason=0, details=0x187ca40) at channel-group.c:1130
#13 0x00007fa122e2e5f1 in tp_channel_group_members_changed_detailed_cb (self=0x1894050, added=0x188f730, removed=0x1878c70, local_pending=0x1878960, 
    remote_pending=0x188f700, details=0x187ca40, unused=0x0, weak_obj=0x0) at channel-group.c:1210
#14 0x00007fa122e05ff1 in _tp_cli_channel_interface_group_invoke_callback_for_members_changed_detailed (tpproxy=0x1894050, error=<optimized out>, 
    args=0x1888280, generic_callback=0x7fa122e2e510 <tp_channel_group_members_changed_detailed_cb>, user_data=<optimized out>, weak_object=<optimized out>)
    at _gen/tp-cli-channel-body.h:3646
#15 0x00007fa122ebd40c in tp_proxy_signal_invocation_run (p=0x184b680) at proxy-signals.c:268
#16 0x00007fa1231c9d53 in g_main_dispatch (context=0x183b5d0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#17 g_main_context_dispatch (context=0x183b5d0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#18 0x00007fa1231ca0a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x183b5d0, self=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#19 g_main_context_iterate (context=0x183b5d0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#20 0x00007fa1231ca49a in g_main_loop_run (loop=0x1871600) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#21 0x000000000040164e in main (argc=<optimized out>, argv=<optimized out>) at telepathy-logger.c:194
(gdb) down
Bottom (innermost) frame selected; you cannot go down.
(gdb) up
#1  0x00007fa1228a49d1 in __GI___vasprintf_chk (result_ptr=0x7fff311adb88, flags=1, 
    format=0x7fa1236ef5a0 "%s: Moving to ENDED_STATE, duration=%li reason=%s details=%s", args=0x7fff311adba8) at vasprintf_chk.c:68
68	vasprintf_chk.c: Datei oder Verzeichnis nicht gefunden.


I think https://bugs.launchpad.net/ubuntu/+source/telepathy-logger/+bug/1006417 might be the same...
Comment 1 Nicolas Dufresne 2012-07-13 15:12:05 UTC
I was able to reproduce, though I didn't trap it in the debugger yet. Some more information:

**
tp-glib:ERROR:connection.c:2430:_tp_connection_set_account: assertion failed: (self->priv->account == NULL)
Abandon (core dumped)
Comment 2 Nicolas Dufresne 2012-07-13 15:38:38 UTC
Ok, for me it crash once because of MC crash, but I really can't reproduce anymore. Can you run telepathy-logger with debug logs and provide this to me.

killall telepathy-logger; G_MESSAGES_DEBUG=all TPL_DEBUG=all gdb /usr/libexec/telepathy-logger

Also provide telepathy-glib version you are running as there a bug in version check of telepathy-logger 0.4 which may explains this.
Comment 3 Felix Möller 2012-07-14 06:41:15 UTC
This bug is solved by rebuilding tp-logger. A rebuilt has been requested for the Ubuntu packages.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.