#78: c2s crash
-------------------+--------------------------------------------------------
Reporter: tofu | Owner: smoku
Type: defect | Status: new
Priority: major | Component: c2s
Version: 2.1 | Blocking:
-------------------+--------------------------------------------------------
Our c2s has been crashing. I have a core dump. I was gonna look at the
code, but I thought I would create a ticket and see if someone could help
quicker than me going through the code.
This is debian stable running jabberd2-2.1.6
Here is the gdb backtrace.
{{{
Core was generated by `/home/chesspark/production/bin/c2s -c
/home/chesspark/production/etc/jabberd/c2'.
Program terminated with signal 6, Aborted.
#0 0xffffe410 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xf7bf8811 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xf7bf9fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xf7c2dd3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4 0xf7c33dfc in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6
#5 0xf7c35c68 in free () from /lib/tls/i686/cmov/libc.so.6
#6 0xf7c3792f in malloc () from /lib/tls/i686/cmov/libc.so.6
#7 0x08059489 in _sx_buffer_new (data=0x0, len=14, notify=0,
notify_arg=0x0) at sx.c:212
#8 0x080564b7 in sx_can_read (s=0x808bb20) at io.c:172
#9 0x0804f004 in c2s_router_mio_callback (m=0x808b938, a=action_READ,
fd=0x808bb08, data=0x0, arg=0x806e008) at c2s.c:1080
#10 0x0805d389 in _mio_run (m=0x808b938, timeout=5) at mio_impl.h:239
#11 0x08053491 in main (argc=Cannot access memory at address 0x3609
) at main.c:637
}}}
--
Ticket URL: <http://jabberd2.xiaoka.com/ticket/78>
jabberd2 <http://jabberd2.xiaoka.com/>
jabberd2 project
_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com