[Bug 35613] New: Segfault on file xfer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 24 05:26:13 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35613

           Summary: Segfault on file xfer
           Product: Telepathy
           Version: 0.10
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: olivier.crete at ocrete.ca
         QAContact: telepathy-bugs at lists.freedesktop.org


Segfault after failing to receive a file transfer

(gdb) c
Continuing.
[New Thread 0x7fbeb76ac700 (LWP 19984)]
[Thread 0x7fbeb76ac700 (LWP 19984) exited]

Program received signal SIGSEGV, Segmentation fault.
__libc_free (mem=0x7f006d6f7266) at malloc.c:3710
3710      if (chunk_is_mmapped(p))                       /* release mmapped
memory. */
(gdb) bt
#0  __libc_free (mem=0x7f006d6f7266) at malloc.c:3710
#1  0x000000000043195c in attribute_free (a=0xdaca90) at wocky-node.c:103
#2  0x0000000000431e98 in wocky_node_free (node=0xdfaa40) at wocky-node.c:139
#3  0x0000000000434bd1 in wocky_node_tree_finalize (object=0xf4f0f0)
    at wocky-node-tree.c:137
#4  0x00007fbebafda614 in g_object_unref (_object=<value optimized out>)
    at gobject.c:2734
#5  0x0000000000451c37 in stanza_received_cb (source=<value optimized out>, 
    res=<value optimized out>, user_data=<value optimized out>)
    at wocky-porter.c:1257
#6  0x00000000004548a8 in _xmpp_connection_received_data (source=0x7e0f80, 
    result=0x1, user_data=<value optimized out>) at wocky-xmpp-connection.c:561
#7  0x00007fbebb4977a9 in async_ready_callback_wrapper (
    source_object=0x7e0f80, res=0xe83a40, user_data=0xaaaaa0)
    at ginputstream.c:470
#8  0x00000000004b9026 in wocky_tls_job_result_gssize (
    job=<value optimized out>, result=231) at wocky-tls.c:359
#9  0x00007fbebb4977a9 in async_ready_callback_wrapper (
    source_object=0x795b40, res=0xfb85e0, user_data=0x77a1a0)
    at ginputstream.c:470
#10 0x00007fbebb4b068e in g_socket_input_stream_read_ready (
    socket=<value optimized out>, condition=<value optimized out>, 
    stream=0x795b40) at gsocketinputstream.c:155
---Type <return> to continue, or q <return> to quit---
#11 0x00007fbeba8edfa1 in g_main_dispatch (context=0x766d70) at gmain.c:2440
#12 g_main_context_dispatch (context=0x766d70) at gmain.c:3013
#13 0x00007fbeba8f2638 in g_main_context_iterate (context=0x766d70, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at gmain.c:3091
#14 0x00007fbeba8f2b45 in g_main_loop_run (loop=0x773530) at gmain.c:3299
#15 0x00007fbebc53bf8f in tp_run_connection_manager (
    prog_name=<value optimized out>, version=<value optimized out>, 
    construct_cm=<value optimized out>, argc=<value optimized out>, 
    argv=<value optimized out>) at run.c:285
#16 0x000000000043075e in gabble_main (argc=1, argv=0x7ffff8854448)
    at gabble.c:149
#17 0x00007fbeba0b8bbd in __libc_start_main (main=<value optimized out>, 
    argc=<value optimized out>, ubp_av=<value optimized out>, 
    init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7ffff8854438)
    at libc-start.c:226
#18 0x00000000004305b9 in _start ()
(gdb) thread apply all bt

Thread 3 (Thread 0x7fbeb6ca6700 (LWP 19843)):
#0  0x00007fbeba162af3 in __poll (fds=<value optimized out>, 
    nfds=<value optimized out>, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbeba8f2399 in g_main_context_poll (context=0x79fab0, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at gmain.c:3404
#2  g_main_context_iterate (context=0x79fab0, block=<value optimized out>, 
    dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3086
#3  0x00007fbeba8f2b45 in g_main_loop_run (loop=0x7fbeb0000940) at gmain.c:3299
#4  0x00007fbeb80c7beb in dconf_context_thread (data=0x79fab0)
    at dconfcontext.c:11
#5  0x00007fbeba917c16 in g_thread_create_proxy (data=0x79fb90)
    at gthread.c:1897
#6  0x00007fbeba3fa914 in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
#7  0x00007fbeba16b7dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fbeb64a5700 (LWP 19844)):
#0  0x00007fbeba162af3 in __poll (fds=<value optimized out>, 
    nfds=<value optimized out>, timeout=-1)
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbeba8f2399 in g_main_context_poll (context=0x7ea7e0, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at gmain.c:3404
#2  g_main_context_iterate (context=0x7ea7e0, block=<value optimized out>, 
    dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3086
#3  0x00007fbeba8f2b45 in g_main_loop_run (loop=0x7ec610) at gmain.c:3299
#4  0x00007fbebb4f8ec4 in gdbus_shared_thread_func (data=<value optimized out>)
    at gdbusprivate.c:276
#5  0x00007fbeba917c16 in g_thread_create_proxy (data=0x7ea8c0)
    at gthread.c:1897
#6  0x00007fbeba3fa914 in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
#7  0x00007fbeba16b7dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fbebc9b0700 (LWP 19840)):
#0  __libc_free (mem=0x7f006d6f7266) at malloc.c:3710
#1  0x000000000043195c in attribute_free (a=0xdaca90) at wocky-node.c:103
#2  0x0000000000431e98 in wocky_node_free (node=0xdfaa40) at wocky-node.c:139
#3  0x0000000000434bd1 in wocky_node_tree_finalize (object=0xf4f0f0)
    at wocky-node-tree.c:137
#4  0x00007fbebafda614 in g_object_unref (_object=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at gobject.c:2734
#5  0x0000000000451c37 in stanza_received_cb (source=<value optimized out>, 
    res=<value optimized out>, user_data=<value optimized out>)
    at wocky-porter.c:1257
#6  0x00000000004548a8 in _xmpp_connection_received_data (source=0x7e0f80, 
    result=0x1, user_data=<value optimized out>) at wocky-xmpp-connection.c:561
#7  0x00007fbebb4977a9 in async_ready_callback_wrapper (
    source_object=0x7e0f80, res=0xe83a40, user_data=0xaaaaa0)
    at ginputstream.c:470
#8  0x00000000004b9026 in wocky_tls_job_result_gssize (
    job=<value optimized out>, result=231) at wocky-tls.c:359
#9  0x00007fbebb4977a9 in async_ready_callback_wrapper (
    source_object=0x795b40, res=0xfb85e0, user_data=0x77a1a0)
    at ginputstream.c:470
#10 0x00007fbebb4b068e in g_socket_input_stream_read_ready (
    socket=<value optimized out>, condition=<value optimized out>, 
    stream=0x795b40) at gsocketinputstream.c:155
#11 0x00007fbeba8edfa1 in g_main_dispatch (context=0x766d70) at gmain.c:2440
#12 g_main_context_dispatch (context=0x766d70) at gmain.c:3013
#13 0x00007fbeba8f2638 in g_main_context_iterate (context=0x766d70, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at gmain.c:3091
#14 0x00007fbeba8f2b45 in g_main_loop_run (loop=0x773530) at gmain.c:3299
---Type <return> to continue, or q <return> to quit---
#15 0x00007fbebc53bf8f in tp_run_connection_manager (
    prog_name=<value optimized out>, version=<value optimized out>, 
    construct_cm=<value optimized out>, argc=<value optimized out>, 
    argv=<value optimized out>) at run.c:285
#16 0x000000000043075e in gabble_main (argc=1, argv=0x7ffff8854448)
    at gabble.c:149
#17 0x00007fbeba0b8bbd in __libc_start_main (main=<value optimized out>, 
    argc=<value optimized out>, ubp_av=<value optimized out>, 
    init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7ffff8854438)
    at libc-start.c:226
#18 0x00000000004305b9 in _start ()
(gdb) 
(gdb)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list