#107: c2s crash in sasl_server_step --------------------+------------------------------------------------------- Reporter: bmuller | Owner: sxw Type: defect | Status: new Priority: major | Component: c2s Version: 2.1.8 | Resolution: Keywords: | Blocking: --------------------+------------------------------------------------------- Comment (by bmuller):
Here's another trace: {{{ Program terminated with signal 11, Segmentation fault. #0 0xf7a40fdf in DigestCalcResponse () from /usr/lib/sasl2/libdigestmd5.so.2 (gdb) backtrace #0 0xf7a40fdf in DigestCalcResponse () from /usr/lib/sasl2/libdigestmd5.so.2 #1 0xf7cb42e7 in sasl_server_step () from /usr/lib/libsasl2.so.2 #2 0x0805e316 in _sx_sasl_client_process (s=0x80d8768, p=0x80811a8, mech=0x0, in=0x80e69e0 "dXNlcm5hbWU9ImxvYWR0ZXN0ZXIxIixub25jZT0ialltRXJUeVVOS3JDTDhaaWk3RzhLTlJqVXJmQ216bEhGbE41NTVxS00zOD0iLGNoYXJzZXQ9dXRmLTgscmVhbG09InRlc3QuY2hlc3NwYXJrLmNvbSIscW9wPWF1dGgsY25vbmNlPSJhMDI0NjE0N2I4OTZhMzA1"..., inlen=344) at sasl_cyrus.c:656 #3 0x0805eb7c in _sx_sasl_process (s=0x80d8768, p=0x80811a8, nad=0x80d1f88) at sasl_cyrus.c:796 #4 0x08057d50 in _sx_process_read (s=0x80d8768, buf=0x80d2800) at io.c:125 #5 0x08058179 in sx_can_read (s=0x80d8768) at io.c:218 #6 0x08051411 in _c2s_client_mio_callback (m=0x8097878, a=action_READ, fd=0x80d7230, data=0x0, arg=0x80d2830) at c2s.c:427 #7 0x08060d64 in _mio_run (m=0x8097878, timeout=5) at mio_impl.h:239 #8 0x08055c6c in main (argc=3, argv=0xffb7dd04) at main.c:63 }}} I'll attach code for a client that logs in and out repeatedly. When it logs in, it sends a message to another user that is not logged in. After a few seconds, c2s crashes. -- Ticket URL: <http://jabberd2.xiaoka.com/ticket/107#comment:6> jabberd2 <http://jabberd2.xiaoka.com/> jabberd2 project _______________________________________________ jabberd2 mailing list jabberd2@lists.xiaoka.com http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com