Bug 47312

Summary: telepathy-idle crashed with SIGSEGV in g_io_stream_get_output_stream()
Product: Telepathy Reporter: Bilal shahid <s9iper1>
Component: idleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: critical    
Priority: medium CC: bugs, nalimilan, reklov
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Bilal shahid 2012-03-14 08:50:26 UTC
woke up laptop and got error

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: telepathy-idle 0.1.11-2
ProcVersionSignature: Ubuntu 3.2.0-9.16-generic 3.2.1
Comment 1 Bilal shahid 2012-03-14 08:51:37 UTC
Trace 
#0  g_io_stream_get_output_stream (stream=0x0) at /build/buildd/glib2.0-2.31.10/./gio/giostream.c:247
        _g_boolean_var_ = <optimized out>
        klass = <error reading variable klass (Cannot access memory at address 0x0)>
#1  0x0000000000415d83 in idle_server_connection_send_async (conn=0x1892920, cmd=0x7fff649daed0 "USER pk 8 * :Pavol Klacansky\r\n", cancellable=0x0, callback=0x40a520 <_msg_queue_timeout_ready>, user_data=0x17ad100) at idle-server-connection.c:452
        priv = 0x1892940
        output_stream = <optimized out>
        result = <optimized out>
        __PRETTY_FUNCTION__ = "idle_server_connection_send_async"
#2  0x000000000040a4bc in msg_queue_timeout_cb (user_data=<optimized out>) at idle-connection.c:904
        conn = 0x17af500
        priv = 0x17af5f0
        i = 1
        output_msg = 0x1a26a60
        data = 0x17ad100
        msg = "USER pk 8 * :Pavol Klacansky\r\n\000\000h\023b", '\000' <repeats 13 times>, " g\242\001\000\000\000\000\030\000\000\000\000\000\000\000\000Y\241\001\000\000\000\000)\221\300l\373\177\000\000\005\000\000\000\000\000\000\000qb\276l\373\177\000\000\300\064\271l\373\177\000\000\264oem\373\177\000\000\005\000\000\000\000\000\000\000\000\226@", '\000' <repeats 13 times>, " g\242\001\000\000\000\000`j\242\001\000\000\000\000\000Y\241\001\000\000\000\000\200%y\001\000\000\000\000\323\330\273l\373\177\000\000\340\274y\001\000\000\000\000\323\330\273l\373\177\000\000\030\000\000\000\000\000\000\000\200%y\001\000\000\000\000\200%y\001\000\000\000\000\001\000\000\000\000\000\000\000`\000\000\000\000\000\000\000)\221\300l\373\177"...
        __PRETTY_FUNCTION__ = "msg_queue_timeout_cb"
#3  0x00007ffb6cbce41b in g_timeout_dispatch (source=0x18b1de0, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/glib2.0-2.31.10/./glib/gmain.c:3857
        timeout_source = 0x18b1de0
        again = <optimized out>
#4  0x00007ffb6cbcd7da in g_main_dispatch (context=0x17a03d0) at /build/buildd/glib2.0-2.31.10/./glib/gmain.c:2513
        dispatch = 0x7ffb6cbce400 <g_timeout_dispatch>
        was_in_call = 0
        user_data = 0x17af500
        callback = 0x40a380 <msg_queue_timeout_cb>
        cb_funcs = 0x7ffb6ce779a0
        cb_data = 0x17ca680
        current_source_link = {data = 0x18b1de0, next = 0x0}
        need_destroy = <optimized out>
        source = 0x18b1de0
        current = 0x17964c0
        i = <optimized out>
#5  g_main_context_dispatch (context=0x17a03d0) at /build/buildd/glib2.0-2.31.10/./glib/gmain.c:3050
No locals.
#6  0x00007ffb6cbcdba0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x17a03d0, self=<optimized out>) at /build/buildd/glib2.0-2.31.10/./glib/gmain.c:3121
        timeout = 2579
        some_ready = 1
        fds = <optimized out>
        max_priority = 2147483647
        nfds = 4
        allocated_nfds = <optimized out>
#7  g_main_context_iterate (context=0x17a03d0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.31.10/./glib/gmain.c:3058
        some_ready = 1
#8  0x00007ffb6cbcdf9a in g_main_loop_run (loop=0x17a1a60) at /build/buildd/glib2.0-2.31.10/./glib/gmain.c:3315
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#9  0x00007ffb6c8d86ef 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 = 0x179d6d0
        bus_daemon = 0x17a2090
        error = 0x0
        ret = 1
        __PRETTY_FUNCTION__ = "tp_run_connection_manager"
#10 0x00000000004087e8 in main (argc=1, argv=0x7fff649db348) at idle.c:47
        debug_sender = 0x1799260
        result = <optimized out>
Comment 2 Ken VanDine 2012-04-17 09:09:29 UTC
Downstream bug: https://bugs.launchpad.net/bugs/918744
Comment 3 Jonny Lamb 2012-05-17 03:23:29 UTC
I fixed this in master:

http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=7f1093771689
Comment 4 Jonny Lamb 2012-05-17 03:24:03 UTC
*** Bug 49831 has been marked as a duplicate of this bug. ***

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.