Bug 79594

Summary: [gnutls] wocky-connector-test crashing
Product: Wocky Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: GeneralAssignee: Telepathy bugs list <telepathy-bugs>
Status: NEEDINFO --- QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Guillaume Desmottes 2014-06-03 14:58:25 UTC
Wocky master.
gnutls-devel-3.1.24-1.fc20.x86_64

#0  __GI_____strtoul_l_internal (nptr=nptr@entry=0x7fff00000001 <error: Cannot access memory at address 0x7fff00000001>, endptr=endptr@entry=0x7fffffffc7f8, base=base@entry=10, 
    group=group@entry=0, loc=0x3513fb9060 <_nl_global_locale>) at ../stdlib/strtol_l.c:298
#1  0x0000003513c3a952 in __GI_strtoul (nptr=nptr@entry=0x7fff00000001 <error: Cannot access memory at address 0x7fff00000001>, endptr=endptr@entry=0x7fffffffc7f8, base=base@entry=10)
    at ../stdlib/strtol.c:108
#2  0x00007ffff4fd46bd in scram_server_mech_step1 (oparams=<optimized out>, serveroutlen=0x7fffffffca9c, serverout=0x7fffffffcaa0, clientinlen=57, 
    clientin=0x6b89a0 "n,,n=moose,r=x/9aXkXh0QRv08aicV9rXaDiCo07OLw3C1khj9LedKk=", sparams=0x6c5e40, text=0x6bb080) at scram.c:797
#3  scram_server_mech_step (conn_context=0x6bb080, sparams=0x6c5e40, clientin=0x6b89a0 "n,,n=moose,r=x/9aXkXh0QRv08aicV9rXaDiCo07OLw3C1khj9LedKk=", clientinlen=<optimized out>, 
    serverout=0x7fffffffcaa0, serveroutlen=0x7fffffffca9c, oparams=0x6c54a0) at scram.c:1470
#4  0x000000383d612ba8 in sasl_server_step (conn=0x6c4c30, clientin=0x7fffffffc7f8 "\300\371Z\367\377\177", clientinlen=10, serverout=0x7fffffffcaa0, 
    serveroutlen=0x3513fb9060 <_nl_global_locale>) at server.c:1618
#5  0x000000383d613119 in sasl_server_start (conn=<optimized out>, mech=<optimized out>, clientin=<optimized out>, clientinlen=57, serverout=0x7fffffffcaa0, 
    serveroutlen=0x7fffffffca9c) at server.c:1533
#6  0x000000000040dd8a in handle_auth (self=0x7ffff00066e0, stanza=0x6b5f30) at wocky-test-sasl-auth-server.c:702
#7  0x000000000040e9d3 in test_sasl_auth_server_auth_async (obj=0x7ffff00066e0, conn=0x6bb690, auth=0x6b5f30, cb=0x41183a <after_auth>, cancellable=0x6ad4e0, data=0x6a3190)
    at wocky-test-sasl-auth-server.c:1090
#8  0x0000000000410e50 in handle_auth (self=0x6a3190, xml=0x6b5f30) at wocky-test-connector-server.c:969
#9  0x0000000000411795 in xmpp_handler (source=0x6bb690, result=0x6ca580, user_data=0x6a3190) at wocky-test-connector-server.c:1203
#10 0x00007ffff7a98ff3 in g_simple_async_result_complete (simple=0x6ca580) at gsimpleasyncresult.c:763
#11 0x000000000042cce9 in _xmpp_connection_received_data (source=0x690910, result=0x6ca8b0, user_data=0x6bb690) at wocky-xmpp-connection.c:562
#12 0x00007ffff7a7b00a in async_ready_callback_wrapper (source_object=0x690910, res=0x6ca8b0, user_data=0x6bb690) at ginputstream.c:518
#13 0x00007ffff7a98ff3 in g_simple_async_result_complete (simple=0x6ca8b0) at gsimpleasyncresult.c:763
#14 0x0000000000431416 in wocky_tls_job_result_gssize (job=0x6d0090, result=257) at wocky-tls.c:369
#15 0x0000000000431703 in wocky_tls_session_try_operation (session=0x6d0000, operation=WOCKY_TLS_OP_READ) at wocky-tls.c:439
#16 0x00000000004335c6 in wocky_tls_session_read_ready (object=0x6b5c30, result=0x6a7ae0, user_data=0x6d0000) at wocky-tls.c:1290
#17 0x00007ffff7a7b00a in async_ready_callback_wrapper (source_object=0x6b5c30, res=0x6a7ae0, user_data=0x6d0000) at ginputstream.c:518
#18 0x00007ffff7aaef64 in g_task_return_now (task=0x6a7ae0) at gtask.c:1076
#19 0x00007ffff7aaef95 in complete_in_idle_cb (task=0x6a7ae0) at gtask.c:1085
#20 0x00007ffff72ad278 in g_idle_dispatch (source=0x6bc120, callback=0x7ffff7aaef7d <complete_in_idle_cb>, user_data=0x6a7ae0) at gmain.c:5319
#21 0x00007ffff72aa992 in g_main_dispatch (context=0x690df0) at gmain.c:3064
#22 0x00007ffff72ab708 in g_main_context_dispatch (context=0x690df0) at gmain.c:3663
#23 0x00007ffff72ab8fa in g_main_context_iterate (context=0x690df0, block=1, dispatch=1, self=0x69a730) at gmain.c:3734
#24 0x00007ffff72abd23 in g_main_loop_run (loop=0x690f90) at gmain.c:3928
#25 0x000000000040b66e in run_test (data=0x66df80 <tests+320>) at wocky-connector-test.c:3553
#26 0x00007ffff72d61ab in test_case_run (tc=0x692230) at gtestutils.c:2059
#27 0x00007ffff72d6547 in g_test_run_suite_internal (suite=0x68d700, path=0x7ffff7343820 "") at gtestutils.c:2120
#28 0x00007ffff72d6609 in g_test_run_suite_internal (suite=0x68d6e0, path=0x7ffff7343820 "") at gtestutils.c:2131
#29 0x00007ffff72d678c in g_test_run_suite (suite=0x68d6e0) at gtestutils.c:2184
#30 0x00007ffff72d546e in g_test_run () at gtestutils.c:1488
#31 0x000000000040c302 in main (argc=1, argv=0x7fffffffd6d8) at wocky-connector-test.c:3741
Comment 1 George Kiagiadakis 2016-07-09 07:05:52 UTC
I cannot reproduce this. Seems to have been related to libsasl2. Maybe libsasl2 was broken at the time...

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.