/usr/lib/telepathy/telepathy-gabble:5:g_source_remove:ffi_call_unix64:ffi_call:g_cclosure_marshal_generic:g_closure_invoke

Bug #1257686 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telepathy Glib
Confirmed
Medium
telepathy-glib (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding telepathy-gabble. This problem was most recently seen with version 0.18.1-1, the problem page at https://errors.ubuntu.com/problem/00594d5c83cc8b30ba8dc5fcea3ae1a37392fb19 contains more details.

Tags: saucy trusty
Revision history for this message
In , Sebastien Bacher (seb128) wrote :
Download full text (7.2 KiB)

The issue seems to happen every time the status change (e.g when you get online), when using glib 2.39

The issue has been reported on launchpad, https://bugs.launchpad.net/ubuntu/+source/telepathy-gabble/+bug/1257686

The glib change that makes it error out on such invalid use is
https://git.gnome.org/browse/glib/commit/?id=a919be3d39150328874ff647fb2c2be7af3df996

"#0 0x00007f0d21694789 in g_logv (log_domain=0x7f0d216d0e2e "GLib", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7ffff08ab988) at /build/buildd/glib2.0-2.39.1/./glib/gmessages.c:1019
domain = 0x0
data = 0x0
depth = 1
log_func = 0x426a30 <_start+272>
domain_fatal_mask = <optimized out>
masquerade_fatal = 0
test_level = <optimized out>
was_fatal = <optimized out>
was_recursion = <optimized out>
msg = 0x1f140e0 "Source ID 4 was not found when attempting to remove it"
msg_alloc = 0x1f140e0 "Source ID 4 was not found when attempting to remove it"
i = 3
#1 0x00007f0d21694922 in g_log (log_domain=log_domain@entry=0x7f0d216d0e2e "GLib", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7f0d216d84b0 "Source ID %u was not found when attempting to remove it") at /build/buildd/glib2.0-2.39.1/./glib/gmessages.c:1059
args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffff08aba60, reg_save_area = 0x7ffff08ab9a0}}
#2 0x00007f0d2168c77c in g_source_remove (tag=4) at /build/buildd/glib2.0-2.39.1/./glib/gmain.c:2210
source = 0x0
__FUNCTION__ = "g_source_remove"
#3 0x00007f0d1f85cadc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
No symbol table info available.
#4 0x00007f0d1f85c40c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
No symbol table info available.
#5 0x00007f0d21b5a9c8 in g_cclosure_marshal_generic (closure=0x183b040, return_gvalue=0x0, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=0x0) at /build/buildd/glib2.0-2.39.1/./gobject/gclosure.c:1454
rtype = <optimized out>
rvalue = 0x7ffff08abc10
n_args = 5
atypes = <optimized out>
i = <optimized out>
cif = {abi = FFI_UNIX64, nargs = 5, arg_types = 0x7ffff08abbd0, rtype = 0x7f0d1f85ced0 <ffi_type_void>, bytes = 0, flags = 0}
cc = 0x183b040
enum_tmpval = <optimized out>
tmpval_used = 0
#6 0x00007f0d21b5a188 in g_closure_invoke (closure=0x183b040, return_value=0x0, n_param_values=4, param_values=0x7ffff08abea0, invocation_hint=0x7ffff08abe40) at /build/buildd/glib2.0-2.39.1/./gobject/gclosure.c:777
marshal = 0x425100 <g_cclosure_marshal_generic@plt>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x183b020
__FUNCTION__ = "g_closure_invoke"
#7 0x00007f0d21b6bb4d in signal_emit_unlocked_R (node=node@entry=0x181a6b0, detail=detail@entry=0, instance=instance@entry=0x181ac30, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffff08abea0) at /build/buildd/glib2.0-2.39.1/./gobject/gsignal.c:3586
tmp = <optimized out>
handler = 0x180fc10
accumulator = 0x0
emission = {next = 0x0, instance = 0x181ac30, ihint = {signal_id = 6, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
handler_list = 0x180fc10
return_accu = 0x0
accu = {g_type...

Read more...

Changed in telepathy-gabble (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
In , Martin Pitt (pitti) wrote :

Confirming, since that glib update Jabber (through t-gabble) cannot connect due to this crash.

Revision history for this message
In , Sebastien Bacher (seb128) wrote :
Download full text (3.2 KiB)

Seems like it could be rather a bug in telepathy-glib, other connectors have the same issue, e.g telepathy-salut

"#0 0xb72e015d in g_logv (log_domain=log_domain@entry=0xb732040e "GLib",
    log_level=<optimized out>, log_level@entry=G_LOG_LEVEL_CRITICAL,
    format=format@entry=0xb7326dcc "Source ID %u was not found when attempting to remove it", args=args@entry=0xbfb5dddc "\005")
    at /build/buildd/glib2.0-2.39.1/./glib/gmessages.c:1019
#1 0xb72e0273 in g_log (log_domain=log_domain@entry=0xb732040e "GLib",
    log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
    format=format@entry=0xb7326dcc "Source ID %u was not found when attempting to remove it") at /build/buildd/glib2.0-2.39.1/./glib/gmessages.c:1059
#2 0xb72d7a5c in g_source_remove (tag=5)
    at /build/buildd/glib2.0-2.39.1/./glib/gmain.c:2210
#3 0xb71af8ab in no_more_connections (conn=0x9d419e8) at run.c:113
#4 0xb73a7549 in g_cclosure_marshal_VOID__VOIDv (closure=0x9d4c888,
    return_value=0x0, instance=0x9d419e8, args=0xbfb5dfac "",
    marshal_data=0x0, n_params=0, param_types=0x0)
    at /build/buildd/glib2.0-2.39.1/./gobject/gmarshal.c:115
#5 0xb73a5aee in _g_closure_invoke_va (closure=closure@entry=0x9d4c888,
    return_value=return_value@entry=0x0, instance=instance@entry=0x9d419e8,
    args=args@entry=0xbfb5dfac "", n_params=0, param_types=0x0)
    at /build/buildd/glib2.0-2.39.1/./gobject/gclosure.c:840
#6 0xb73bee70 in g_signal_emit_valist (instance=instance@entry=0x9d419e8,
    signal_id=signal_id@entry=7, detail=detail@entry=0,
    var_args=var_args@entry=0xbfb5dfac "")
    at /build/buildd/glib2.0-2.39.1/./gobject/gsignal.c:3238
#7 0xb73bf9e3 in g_signal_emit (instance=instance@entry=0x9d419e8,
    signal_id=7, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.39.1/./gobject/gsignal.c:3386
#8 0xb70c5def in connection_shutdown_finished_cb (conn=0x9d54108,
    data=0x9d419e8) at base-connection-manager.c:642
#9 0xb73a7549 in g_cclosure_marshal_VOID__VOIDv (closure=0x9d4f450,
    return_value=0x0, instance=0x9d54108, args=0xbfb5e17c "\r",
    marshal_data=0x0, n_params=0, param_types=0x0)
    at /build/buildd/glib2.0-2.39.1/./gobject/gmarshal.c:115
#10 0xb73a5aee in _g_closure_invoke_va (closure=closure@entry=0x9d4f450,
    return_value=return_value@entry=0x0, instance=instance@entry=0x9d54108,
    args=args@entry=0xbfb5e17c "\r", n_params=0, param_types=0x0)
    at /build/buildd/glib2.0-2.39.1/./gobject/gclosure.c:840
#11 0xb73bee70 in g_signal_emit_valist (instance=instance@entry=0x9d54108,
    signal_id=signal_id@entry=21, detail=detail@entry=0,
    var_args=var_args@entry=0xbfb5e17c "\r")
    at /build/buildd/glib2.0-2.39.1/./gobject/gsignal.c:3238
#12 0xb73bf9e3 in g_signal_emit (instance=instance@entry=0x9d54108,
    signal_id=21, detail=detail@entry=0)
    at /build/buildd/glib2.0-2.39.1/./gobject/gsignal.c:3386
#13 0xb70c3c27 in tp_base_connection_finish_shutdown (self=0x9d54108)
    at base-connection.c:2896
#14 0x0807f310 in ?? ()
#15 0xb7455515 in g_simple_async_result_complete (simple=0x9d37618)
    at /build/buildd/glib2.0-2.39.1/./gio/gsimpleasyncresult.c:777
#16 0xb769e640 in ?? ()
   from /usr/lib/telepathy/salut-0/lib/lib...

Read more...

Changed in telepathy-gabble:
importance: Unknown → Medium
status: Unknown → Confirmed
affects: telepathy-gabble (Ubuntu) → telepathy-glib (Ubuntu)
Changed in telepathy-glib (Ubuntu):
status: Triaged → Fix Committed
affects: telepathy-gabble → telepathy-glib
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package telepathy-glib - 0.22.0-1ubuntu2

---------------
telepathy-glib (0.22.0-1ubuntu2) trusty; urgency=low

  * debian/patches/working_test_on_new_glib.patch: the previous version
    was unreliable, that one should be better
 -- Sebastien Bacher <email address hidden> Wed, 04 Dec 2013 20:39:26 +0100

Changed in telepathy-glib (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.