Bug 49831

Summary: Crash in g_io_stream_get_output_stream ()
Product: Telepathy Reporter: Milan Bouchet-Valat <nalimilan>
Component: idleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED DUPLICATE QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Milan Bouchet-Valat 2012-05-12 03:36:34 UTC
This crash has been reported 3 times in Fedora 17. It happens when connecting (or disconnecting, I can't tell), even when no messages has been sent.


telepathy-idle-0.1.11-2.fc17
https://bugzilla.redhat.com/show_bug.cgi?id=804413


Core was generated by `/usr/libexec/telepathy-idle'.
Program terminated with signal 11, Segmentation fault.
#0  g_io_stream_get_output_stream (stream=0x0) at giostream.c:247
247	  g_assert (klass->get_output_stream != NULL);

Thread 3 (Thread 0x7f85f2bab700 (LWP 1471)):
#0  0x0000003f0c8e8e4f in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <optimized out>
        oldtype = 0
        result = <optimized out>
#1  0x0000003f0e447af4 in g_main_context_poll (n_fds=3, fds=0x7f85e80010c0, timeout=-1, context=0x7f85ec00c4f0, priority=<optimized out>) at gmain.c:3412
        poll_func = 0x3f0e455970 <g_poll>
#2  g_main_context_iterate (context=0x7f85ec00c4f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3113
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = <optimized out>
        fds = 0x7f85e80010c0
#3  0x0000003f0e447f42 in g_main_loop_run (loop=0x7f85ec00c4a0) at gmain.c:3312
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#4  0x0000003c2b8d33f6 in gdbus_shared_thread_func (user_data=0x7f85ec00c4c0) at gdbusprivate.c:276
        data = 0x7f85ec00c4c0
#5  0x0000003f0e46a155 in g_thread_proxy (data=0x7f85ec00b140) at gthread.c:801
        thread = 0x7f85ec00b140
#6  0x0000003f0cc07d14 in start_thread (arg=0x7f85f2bab700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7f85f2bab700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140213279700736, 1414433731533189272, 0, 270790688768, 140213279700736, 140213166851264, -1393030065276735336, 1431874738110836888}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
#7  0x0000003f0c8f18fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
No locals.

Thread 2 (Thread 0x7f85f3fd1700 (LWP 1469)):
#0  0x0000003f0c8e8e4f in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <optimized out>
        oldtype = 0
        result = <optimized out>
#1  0x0000003f0e447af4 in g_main_context_poll (n_fds=1, fds=0x7f85ec0010e0, timeout=-1, context=0x17ed000, priority=<optimized out>) at gmain.c:3412
        poll_func = 0x3f0e455970 <g_poll>
#2  g_main_context_iterate (context=0x17ed000, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3113
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x7f85ec0010e0
#3  0x0000003f0e447f42 in g_main_loop_run (loop=0x7f85ec0010c0) at gmain.c:3312
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#4  0x00007f85f3fd6afb in dconf_context_thread (data=0x17ed000) at dconfcontext.c:11
        context = 0x17ed000
        loop = <optimized out>
        __PRETTY_FUNCTION__ = "dconf_context_thread"
#5  0x0000003f0e46a155 in g_thread_proxy (data=0x17dc400) at gthread.c:801
        thread = 0x17dc400
#6  0x0000003f0cc07d14 in start_thread (arg=0x7f85f3fd1700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7f85f3fd1700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140213300827904, 1414433731533189272, 0, 270790688768, 140213300827904, 25088000, -1393032828014448488, 1431874738110836888}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
#7  0x0000003f0c8f18fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
No locals.

Thread 1 (Thread 0x7f85f4614800 (LWP 1465)):
#0  g_io_stream_get_output_stream (stream=0x0) at giostream.c:247
        _g_boolean_var_ = <optimized out>
        klass = <error reading variable klass (Cannot access memory at address 0x0)>
#1  0x0000000000415ca3 in idle_server_connection_send_async (conn=0x17e18e0, cmd=cmd@entry=0x7fffdd46d020 "PING 1332092290426724\r\n", cancellable=cancellable@entry=0x0, callback=callback@entry=0x40a5d0 <_msg_queue_timeout_ready>, user_data=user_data@entry=0x7f85e4003710) at idle-server-connection.c:452
        priv = 0x17e1900
        output_stream = <optimized out>
        result = <optimized out>
        __PRETTY_FUNCTION__ = "idle_server_connection_send_async"
#2  0x000000000040a5a7 in msg_queue_timeout_cb (user_data=<error reading variable: value has been optimized out>) at idle-connection.c:904
        conn = 0x17db020
        priv = 0x17db110
        i = 1
        output_msg = 0x180b520
        data = 0x7f85e4003710
        msg = "PING 1332092290426724\r\n\000\253\262@\000\000\000\000\000PING 1332092290426724\000\000\000\001", '\000' <repeats 15 times>"\300, \261}\001\000\000\000\000\022\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000\004\000\000\000\000\000\000\000\b\225a\364\205\177\000\000\005", '\000' <repeats 15 times>, "\001\000\000\000?\000\000\000\250\022b\f?\000\000\000\240B\000\344\205\177\000\000\242\001\000\000\000\000\000\000:\217A", '\000' <repeats 22 times>, "\026b\f?\000\000\000\060\321F\335\377\177\000\000\020\321F\335\377\177\000\000\340\321F\335\377\177\000\000\b\225a\364\205\177\000\000\355\r0\033\000\000\000\000<<\202\000\000\000\000\000\377\377\377\377\000\000\000\000@\021b", '\000' <repeats 13 times>...
        __PRETTY_FUNCTION__ = "msg_queue_timeout_cb"
#3  0x0000003f0e4483ab in g_timeout_dispatch (source=source@entry=0x1809a40, callback=<optimized out>, user_data=<optimized out>) at gmain.c:3854
        timeout_source = <optimized out>
        again = <optimized out>
#4  0x0000003f0e44773c in g_main_dispatch (context=0x17cc5a0) at gmain.c:2510
        dispatch = 0x3f0e448390 <g_timeout_dispatch>
        was_in_call = 0
        user_data = 0x17db020
        callback = 0x40a450 <msg_queue_timeout_cb>
        cb_funcs = 0x3f0e71e960
        cb_data = 0x17cc400
        current_source_link = {data = 0x1809a40, next = 0x0}
        need_destroy = <optimized out>
        source = 0x1809a40
        current = 0x17c2660
        i = <optimized out>
#5  g_main_context_dispatch (context=context@entry=0x17cc5a0) at gmain.c:3047
No locals.
#6  0x0000003f0e447b58 in g_main_context_iterate (context=0x17cc5a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3118
        max_priority = 2147483647
        timeout = 1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0x17fd9b0
#7  0x0000003f0e447f42 in g_main_loop_run (loop=0x17cdc80) at gmain.c:3312
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#8  0x0000003f2954ff62 in tp_run_connection_manager (prog_name=prog_name@entry=0x418c84 "telepathy-idle", version=version@entry=0x418c7d "0.1.11", construct_cm=construct_cm@entry=0x408990 <_construct_cm>, argc=argc@entry=1, argv=argv@entry=0x7fffdd46d4a8) at run.c:285
        connection = 0x17c9730
        bus_daemon = 0x17ce090
        error = 0x0
        ret = 1
        __PRETTY_FUNCTION__ = "tp_run_connection_manager"
#9  0x0000000000408878 in main (argc=1, argv=0x7fffdd46d4a8) at idle.c:47
        debug_sender = 0x17c5260
        result = <optimized out>
Comment 1 Jonny Lamb 2012-05-17 03:24:03 UTC

*** This bug has been marked as a duplicate of bug 47312 ***

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.