Bug 48720 - telepathy-gabble crashed with signal 5 in g_simple_async_result_complete()
Summary: telepathy-gabble crashed with signal 5 in g_simple_async_result_complete()
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium critical
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-15 00:24 UTC by Bilal shahid
Modified: 2019-12-03 19:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bilal shahid 2012-04-15 00:24:16 UTC
empathy crashed once network connection went down

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: telepathy-gabble 0.13.5-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
people also having this bug in ubuntu  12.04 
with 0.16 version of telepathy gabble in precise ubuntu
Comment 1 Bilal shahid 2012-04-15 00:24:57 UTC
#0  g_logv (log_domain=0x7f15362dd561 "GLib-GIO", log_level=<optimized out>, format=0x7f153570f712 "%s: assertion `%s' failed", args1=0x7fff91fbc2c8) at /build/buildd/glib2.0-2.30.0/./glib/gmessages.c:577
        depth = 0
        domain = 0x0
        data = 0x0
        log_func = 0x432030 <log_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = <optimized out>
        test_level = <optimized out>
        was_fatal = 0
        was_recursion = 0
        i = <optimized out>
#1  0x00007f15356ca6a2 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmessages.c:591
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff91fbc3a0, reg_save_area = 0x7fff91fbc2e0}}
#2  0x000000000045753a in close_sent_cb (source=0xfef160, res=0x12c1920, user_data=<optimized out>) at wocky-c2s-porter.c:1377
        self = 0xff6950
        priv = 0xff6970
        error = 0x9bd0c0
#3  0x00007f1536261c17 in g_simple_async_result_complete (simple=0x12c1920) at /build/buildd/glib2.0-2.30.0/./gio/gsimpleasyncresult.c:749
        current_source = 0x0
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#4  0x0000000000453f1e in wocky_xmpp_connection_write_cb (source=0xa1a900, res=0x12c18c0, user_data=<optimized out>) at wocky-xmpp-connection.c:338
        r = 0x12c1920
        self = <optimized out>
        priv = 0xfef180
        written = <optimized out>
        error = 0x9bd140
#5  0x00007f153625d679 in async_ready_callback_wrapper (source_object=<optimized out>, res=0x12c18c0, user_data=0xfef160) at /build/buildd/glib2.0-2.30.0/./gio/goutputstream.c:592
        stream = 0xa1a900
#6  0x00007f1536261c17 in g_simple_async_result_complete (simple=0x12c18c0) at /build/buildd/glib2.0-2.30.0/./gio/gsimpleasyncresult.c:749
        current_source = 0x0
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#7  0x00000000004cb946 in wocky_tls_job_result_gssize (job=<optimized out>, result=-10) at wocky-tls.c:378
        simple = 0x12c18c0
#8  0x00007f153625d469 in g_output_stream_write_async (stream=0xa1a900, buffer=0x510c6c, count=17, io_priority=0, cancellable=0x0, callback=0x453e70 <wocky_xmpp_connection_write_cb>, user_data=0xfef160) at /build/buildd/glib2.0-2.30.0/./gio/goutputstream.c:768
        class = 0x7f152c009200
        simple = <optimized out>
        error = 0x0
        __PRETTY_FUNCTION__ = "g_output_stream_write_async"
#9  0x0000000000453724 in wocky_xmpp_connection_do_write (self=0xfef160) at wocky-xmpp-connection.c:352
        priv = 0xfef180
        output = <optimized out>
#10 0x0000000000456cb4 in send_close (self=0xff6950) at wocky-c2s-porter.c:1405
        priv = 0xff6970
#11 close_if_waiting (self=0xff6950) at wocky-c2s-porter.c:667
No locals.
#12 close_if_waiting (self=0xff6950) at wocky-c2s-porter.c:659
        priv = <optimized out>
#13 0x0000000000457454 in send_stanza_cb (source=0xfef160, res=<optimized out>, user_data=<optimized out>) at wocky-c2s-porter.c:709
        self = 0xff6950
        priv = 0xff6970
        error = 0x9bd120
#14 0x00007f1536261c17 in g_simple_async_result_complete (simple=0x158af60) at /build/buildd/glib2.0-2.30.0/./gio/gsimpleasyncresult.c:749
        current_source = 0x0
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#15 0x0000000000453f1e in wocky_xmpp_connection_write_cb (source=0xa1a900, res=0x12c1980, user_data=<optimized out>) at wocky-xmpp-connection.c:338
        r = 0x158af60
        self = <optimized out>
        priv = 0xfef180
        written = <optimized out>
        error = 0x9bd170
#16 0x00007f153625d679 in async_ready_callback_wrapper (source_object=<optimized out>, res=0x12c1980, user_data=0xfef160) at /build/buildd/glib2.0-2.30.0/./gio/goutputstream.c:592
        stream = 0xa1a900
#17 0x00007f1536261c17 in g_simple_async_result_complete (simple=0x12c1980) at /build/buildd/glib2.0-2.30.0/./gio/gsimpleasyncresult.c:749
        current_source = 0x0
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#18 0x00000000004cb946 in wocky_tls_job_result_gssize (job=<optimized out>, result=-10) at wocky-tls.c:378
        simple = 0x12c1980
#19 0x00007f153625d679 in async_ready_callback_wrapper (source_object=<optimized out>, res=0x13bfd80, user_data=0x99f480) at /build/buildd/glib2.0-2.30.0/./gio/goutputstream.c:592
        stream = 0xd19020
#20 0x00007f1536261c17 in g_simple_async_result_complete (simple=0x13bfd80) at /build/buildd/glib2.0-2.30.0/./gio/gsimpleasyncresult.c:749
        current_source = 0x0
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#21 0x00007f153626b61c in g_socket_output_stream_write_ready (socket=<optimized out>, condition=<optimized out>, stream=0xd19020) at /build/buildd/glib2.0-2.30.0/./gio/gsocketoutputstream.c:158
        simple = 0x13bfd80
        error = 0x9bd150
        result = -1
#22 0x00007f15356c1a5d in g_main_dispatch (context=0x98b010) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
        dispatch = 0x7f15362623d0 <socket_source_dispatch>
        was_in_call = 0
        user_data = 0xd19020
        callback = 0x7f153626b570 <g_socket_output_stream_write_ready>
        cb_funcs = 0x7f1535971670
        cb_data = 0x152c280
        current_source_link = {data = 0x158df60, next = 0x0}
        need_destroy = <optimized out>
        source = 0x158df60
        current = 0x999dc0
        i = <optimized out>
#23 g_main_context_dispatch (context=0x98b010) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
No locals.
#24 0x00007f15356c2258 in g_main_context_iterate (context=0x98b010, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 7
        allocated_nfds = <optimized out>
        fds = <optimized out>
#25 0x00007f15356c2792 in g_main_loop_run (loop=0x9914d0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#26 0x00007f15368acf7f in tp_run_connection_manager (prog_name=<optimized out>, version=<optimized out>, construct_cm=<optimized out>, argc=<optimized out>, argv=<optimized out>) at run.c:285
        connection = 0x9881a0
        bus_daemon = 0x98d090
        error = 0x0
        ret = 1
        __PRETTY_FUNCTION__ = "tp_run_connection_manager"
#27 0x000000000043231a in gabble_main (argc=1, argv=0x7fff91fbc928) at gabble.c:177
        loader = 0x984720
        out = <optimized out>
        fatal_mask = <optimized out>
#28 0x00007f15352ff30d in __libc_start_main (main=0x431f00 <main>, argc=1, ubp_av=0x7fff91fbc928, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff91fbc918) at libc-start.c:226
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -4018395960388863543, 4398880, 140735642585376, 0, 0, 4018593905175443913, 3896071581112744393}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x504250, 0x7fff91fbc928}, data = {prev = 0x0, cleanup = 0x0, canceltype = 5259856}}}
        not_first_call = <optimized out>
#29 0x0000000000431f49 in _start ()
No symbol table info available.
Comment 2 Bilal shahid 2012-04-15 00:26:30 UTC
downstream bug
https://bugs.launchpad.net/ubuntu/+source/telepathy-gabble/+bug/867682
Comment 3 Jonny Lamb 2012-04-17 11:42:41 UTC
I don't get this. The line where an assertion is clearly not satisfied is wocky-c2s-porter.c:1377. Yet, in gabble 0.13.5 this is the line:

1374  if (!wocky_xmpp_connection_send_close_finish (WOCKY_XMPP_CONNECTION (source),
1375        res, &error))
1376    {
1377      g_simple_async_result_set_from_error (priv->close_result, error);
1378      g_error_free (error);
1379
1380      goto out;
1381    }

So g_simple_async_result_set_from_error, but that's a real symbol (not inline or a macro) and we don't get a frame for g_simple_async_result_set_from_error in the backtrace so it seems to be failing in close_sent_cb?

However, there's no typecheck there? so I don't understand what's actually failing here. If we could see what assertion is actually being logged failing that would be useful. Perhaps look in xsession-errors?
Comment 4 GitLab Migration User 2019-12-03 19:56:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/225.


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.