Hi.
Yesterday i found that c2s crashing constantly with random intervals
with signal 11.
Upgraded to latest version 17 but is does not help.
Any suggestions about crashes? bt and core link below, iam running
FreeBSD 8.2
mail# gdb /usr/local/bin/c2s -c /tmp/c2s.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `c2s'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libssl.so.6...done.
Loaded symbols for /usr/lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/local/lib/libgsasl.so.16...done.
Loaded symbols for /usr/local/lib/libgsasl.so.16
Reading symbols from /usr/local/lib/libgcrypt.so.18...done.
Loaded symbols for /usr/local/lib/libgcrypt.so.18
Reading symbols from /usr/local/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/local/lib/libgpg-error.so.0
Reading symbols from /usr/local/lib/libudns.so.0...done.
Loaded symbols for /usr/local/lib/libudns.so.0
Reading symbols from /usr/local/lib/libidn.so.17...done.
Loaded symbols for /usr/local/lib/libidn.so.17
Reading symbols from /usr/local/lib/libintl.so.8...done.
Loaded symbols for /usr/local/lib/libintl.so.8
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /lib/libcrypt.so.5...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /lib/libz.so.5...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/jabberd/authreg_mysql.so...done.
Loaded symbols for /usr/local/lib/jabberd/authreg_mysql.so
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.16...done.
Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.16
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x284f99c8 in free () from /lib/libc.so.7
(gdb) bt
#0 0x284f99c8 in free () from /lib/libc.so.7
#1 0x284ea0f3 in catopen () from /lib/libc.so.7
#2 0x284e9947 in strerror_r () from /lib/libc.so.7
#3 0x284e9ad4 in strerror () from /lib/libc.so.7
#4 0x08050503 in _c2s_client_sx_callback (s=0x292376c0, e=event_READ,
data=0x2917ca00, arg=0x291f8c00) at c2s.c:92
#5 0x0805dc1a in __sx_event (file=0x80745fe "io.c", line=197,
s=0x292376c0, e=event_READ, data=0x2917ca00) at sx.c:345
#6 0x0805b10a in sx_can_read (s=0x292376c0) at io.c:197
#7 0x0805221c in _c2s_client_mio_callback (m=0x28601c80,
a=action_READ, fd=0x28695010, data=0x0, arg=0x291f8c00) at c2s.c:557
#8 0x080660a1 in _mio_run (m=0x28601c80, timeout=5) at mio_impl.h:268
#9 0x08057973 in main (argc=3, argv=0xbfbfec18) at main.c:788
https://mail.proc.ru/temp/core.tar.bz