[Bug 35613] Segfault on file xfer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 24 05:28:31 CET 2011


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

--- Comment #1 from Olivier Crête <olivier.crete at ocrete.ca> 2011-03-23 21:28:30 PDT ---
It's probalby memory corruption.. I blame libnice.. Nirbheek got this:

#0  magazine_chain_pop_head (mem_size=16) at gslice.c:492
#1  thread_memory_magazine1_alloc (mem_size=16) at gslice.c:795
#2  g_slice_alloc (mem_size=16) at gslice.c:833
#3  0x00007f8918370430 in g_slist_prepend (list=0x0, data=0x15a0780) at
gslist.c:297
#4  0x000000000043417b in wocky_node_add_build_va (node=0x15a0780,
ap=0x7fff892f9710) at wocky-node.c:1212
#5  0x00000000004532a5 in wocky_stanza_build_va (type=WOCKY_STANZA_TYPE_IQ,
sub_type=WOCKY_STANZA_SUB_TYPE_ERROR, from=0x0, to=0x1564140
"thetester at gmail.com/3199799a", ap=0x7fff892f9710)
    at wocky-stanza.c:343
#6  0x0000000000453197 in wocky_stanza_build (type=WOCKY_STANZA_TYPE_IQ,
sub_type=WOCKY_STANZA_SUB_TYPE_ERROR, from=0x0, to=0x1564140
"thetester at gmail.com/3199799a") at wocky-stanza.c:313
#7  0x0000000000461f20 in lm_message_new_with_sub_type (to=0x1564140
"thetester at gmail.com/3199799a", type=WOCKY_STANZA_TYPE_IQ,
sub_type=WOCKY_STANZA_SUB_TYPE_ERROR) at lm-message.c:36
#8  0x000000000047b313 in _gabble_connection_send_iq_error (conn=0x156c080,
message=0x1a99800, error=XMPP_ERROR_JINGLE_UNKNOWN_SESSION, errmsg=0x1a651a0
"session 17207025 is unknown")
    at connection.c:2387
#9  0x000000000048bdb6 in jingle_cb (handler=0x15a0600, lmconn=0x156bdc0,
msg=0x1a99800, user_data=0x154d220) at jingle-factory.c:837
#10 0x000000000046126e in stanza_cb (self=0x154d5e0, stanza=0x1a99800,
user_data=0x15a0600) at lm-connection.c:32
#11 0x000000000045b661 in handle_stanza (self=0x154d5e0, stanza=0x1a99800) at
wocky-porter.c:1061
#12 0x000000000045bc63 in stanza_received_cb (source=0x1873e30, res=0x1af1aa0,
user_data=0x154d5e0) at wocky-porter.c:1256
#13 0x000000000045499a in _xmpp_connection_received_data (source=0x153f900,
result=0x1a9cf60, user_data=0x1873e30) at wocky-xmpp-connection.c:561
#14 0x00007f8918f1203a in async_ready_callback_wrapper (source_object=<value
optimized out>, res=0x1a9cf60, user_data=0x1873e30) at ginputstream.c:470
#15 0x00000000004dd4e1 in wocky_tls_job_result_gssize (job=0x1558230,
result=235) at wocky-tls.c:359
#16 0x00000000004dd7ce in wocky_tls_session_try_operation (session=0x15581a0,
operation=WOCKY_TLS_OP_READ) at wocky-tls.c:429
#17 0x00000000004df107 in wocky_tls_session_read_ready (object=0x1537150,
result=0x1acd700, user_data=0x15581a0) at wocky-tls.c:1110
#18 0x00007f8918f1203a in async_ready_callback_wrapper (source_object=<value
optimized out>, res=0x1acd700, user_data=0x15581a0) at ginputstream.c:470
#19 0x00007f8918f2971b in g_socket_input_stream_read_ready (socket=<value
optimized out>, condition=<value optimized out>, stream=0x1537150) at
gsocketinputstream.c:155
#20 0x00007f89183516bb in g_main_dispatch (context=0x1544de0) at gmain.c:2440
#21 g_main_context_dispatch (context=0x1544de0) at gmain.c:3013
#22 0x00007f8918351ec0 in g_main_context_iterate (context=0x1544de0, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:3091
#23 0x00007f8918352532 in g_main_loop_run (loop=0x15515b0) at gmain.c:3299
#24 0x00007f89195531d3 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
#25 0x00000000004311c5 in gabble_main (argc=1, argv=0x7fff892f9f08) at
gabble.c:149
#26 0x0000000000430ec9 in main (argc=1, argv=0x7fff892f9f08) at main.c:28
(gdb) bt full
#0  magazine_chain_pop_head (mem_size=16) at gslice.c:492
        chunk = 0x6f74
#1  thread_memory_magazine1_alloc (mem_size=16) at gslice.c:795
        mag = 0x1533750
#2  g_slice_alloc (mem_size=16) at gslice.c:833
        tmem = 0x6f74
        ix = <value optimized out>
        chunk_size = <value optimized out>
        mem = <value optimized out>
#3  0x00007f8918370430 in g_slist_prepend (list=0x0, data=0x15a0780) at
gslist.c:297
        new_list = 0x1bf8950
#4  0x000000000043417b in wocky_node_add_build_va (node=0x15a0780,
ap=0x7fff892f9710) at wocky-node.c:1212
        stack = 0x0
        arg = 32767
        __PRETTY_FUNCTION__ = "wocky_node_add_build_va"
#5  0x00000000004532a5 in wocky_stanza_build_va (type=WOCKY_STANZA_TYPE_IQ,
sub_type=WOCKY_STANZA_SUB_TYPE_ERROR, from=0x0, to=0x1564140
"thetester at gmail.com/3199799a", ap=0x7fff892f9710)
    at wocky-stanza.c:343
        stanza = 0x1bbc450
        __PRETTY_FUNCTION__ = "wocky_stanza_build_va"
#6  0x0000000000453197 in wocky_stanza_build (type=WOCKY_STANZA_TYPE_IQ,
sub_type=WOCKY_STANZA_SUB_TYPE_ERROR, from=0x0, to=0x1564140
"thetester at gmail.com/3199799a") at wocky-stanza.c:313
        stanza = 0x1873e30
        ap = {{gp_offset = 32, fp_offset = 48, overflow_arg_area =
0x7fff892f9800, reg_save_area = 0x7fff892f9730}}
#7  0x0000000000461f20 in lm_message_new_with_sub_type (to=0x1564140
"thetester at gmail.com/3199799a", type=WOCKY_STANZA_TYPE_IQ,
sub_type=WOCKY_STANZA_SUB_TYPE_ERROR) at lm-message.c:36
No locals.
#8  0x000000000047b313 in _gabble_connection_send_iq_error (conn=0x156c080,
message=0x1a99800, error=XMPP_ERROR_JINGLE_UNKNOWN_SESSION, errmsg=0x1a651a0
"session 17207025 is unknown")
    at connection.c:2387
        to = 0x1564140 "thetester at gmail.com/3199799a"
        id = 0x1918510 "688737692536"
        msg = 0x15692d0
        iq_node = 0x15a7490
        __PRETTY_FUNCTION__ = "_gabble_connection_send_iq_error"
#9  0x000000000048bdb6 in jingle_cb (handler=0x15a0600, lmconn=0x156bdc0,
msg=0x1a99800, user_data=0x154d220) at jingle-factory.c:837
        self = 0x154d220
        priv = 0x154d240
        error = 0x18819b0
        sid = 0x1b90be0 "17207025"
        from = 0x1564140 "thetester at gmail.com/3199799a"
        sess = 0x0
        new_session = 0
        action = JINGLE_ACTION_SESSION_TERMINATE
        dialect = JINGLE_DIALECT_GTALK3
        __PRETTY_FUNCTION__ = "jingle_cb"
#10 0x000000000046126e in stanza_cb (self=0x154d5e0, stanza=0x1a99800,
user_data=0x15a0600) at lm-connection.c:32
---Type <return> to continue, or q <return> to quit---
        handler = 0x15a0600
        result = 32767
#11 0x000000000045b661 in handle_stanza (self=0x154d5e0, stanza=0x1a99800) at
wocky-porter.c:1061
        handler = 0x15bc640
        priv = 0x154d600
        l = 0x1590a20
        from = 0x1564140 "thetester at gmail.com/3199799a"
        type = WOCKY_STANZA_TYPE_IQ
        sub_type = WOCKY_STANZA_SUB_TYPE_SET
        node = 0x1ae2760 "thetester"
        domain = 0x1a2c380 "gmail.com"
        resource = 0x19fb320 "3199799a"
        __PRETTY_FUNCTION__ = "handle_stanza"
#12 0x000000000045bc63 in stanza_received_cb (source=0x1873e30, res=0x1af1aa0,
user_data=0x154d5e0) at wocky-porter.c:1256
        self = 0x154d5e0
        priv = 0x154d600
        stanza = 0x1a99800
        error = 0x0
        __PRETTY_FUNCTION__ = "stanza_received_cb"
#13 0x000000000045499a in _xmpp_connection_received_data (source=0x153f900,
result=0x1a9cf60, user_data=0x1873e30) at wocky-xmpp-connection.c:561
        r = 0x1af1aa0
        self = 0x1873e30
        priv = 0x1873e50
        size = 235
        error = 0x0
#14 0x00007f8918f1203a in async_ready_callback_wrapper (source_object=<value
optimized out>, res=0x1a9cf60, user_data=0x1873e30) at ginputstream.c:470
        stream = 0x153f900
#15 0x00000000004dd4e1 in wocky_tls_job_result_gssize (job=0x1558230,
result=235) at wocky-tls.c:359
        simple = 0x1a9cf60
#16 0x00000000004dd7ce in wocky_tls_session_try_operation (session=0x15581a0,
operation=WOCKY_TLS_OP_READ) at wocky-tls.c:429
        result = 235
        __PRETTY_FUNCTION__ = "wocky_tls_session_try_operation"
#17 0x00000000004df107 in wocky_tls_session_read_ready (object=0x1537150,
result=0x1acd700, user_data=0x15581a0) at wocky-tls.c:1110
        session = 0x15581a0
        __PRETTY_FUNCTION__ = "wocky_tls_session_read_ready"
#18 0x00007f8918f1203a in async_ready_callback_wrapper (source_object=<value
optimized out>, res=0x1acd700, user_data=0x15581a0) at ginputstream.c:470
        stream = 0x1537150
#19 0x00007f8918f2971b in g_socket_input_stream_read_ready (socket=<value
optimized out>, condition=<value optimized out>, stream=0x1537150) at
gsocketinputstream.c:155
        simple = 0x1acd700
        error = 0x0
        result = 256
#20 0x00007f89183516bb in g_main_dispatch (context=0x1544de0) at gmain.c:2440
        dispatch = 0x7f8918f224d0 <socket_source_dispatch>
---Type <return> to continue, or q <return> to quit---
        was_in_call = 0
        user_data = 0x1537150
        callback = 0x7f8918f29670 <g_socket_input_stream_read_ready>
        cb_funcs = 0x7f89186265f0
        cb_data = 0x1a34710
        current_source_link = {data = 0x1c0d2b0, next = 0x0}
        need_destroy = <value optimized out>
        source = 0x1c0d2b0
        current = 0x155bdc0
        i = <value optimized out>
#21 g_main_context_dispatch (context=0x1544de0) at gmain.c:3013
No locals.
#22 0x00007f8918351ec0 in g_main_context_iterate (context=0x1544de0, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:3091
        max_priority = 2147483647
        timeout = 30540
        some_ready = 1
        nfds = 5
        allocated_nfds = <value optimized out>
        fds = <value optimized out>
#23 0x00007f8918352532 in g_main_loop_run (loop=0x15515b0) at gmain.c:3299
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#24 0x00007f89195531d3 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
        connection = 0x1541f70
        bus_daemon = 0x15478f0
        error = 0x0
        ret = 1
        __PRETTY_FUNCTION__ = "tp_run_connection_manager"
#25 0x00000000004311c5 in gabble_main (argc=1, argv=0x7fff892f9f08) at
gabble.c:149
        loader = 0x153eb20
        out = 32767
#26 0x0000000000430ec9 in main (argc=1, argv=0x7fff892f9f08) at main.c:28
No locals.

-- 
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