Tomasz Sterna писал 2013-07-08 21:39:
Dnia 2013-07-08, pon o godzinie 20:51 +0400, Maxim Lougovsky pisze:
#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
c2s.c:92 is:
log_write(sess->c2s->log, LOG_NOTICE, "[%d] [%s, port=%d] read error:
%s
(%d)", sess->fd->fd, sess->ip, sess->port, MIO_STRERROR(MIO_ERROR),
MIO_ERROR);
Looks like there is a crash in MIO_STRERROR.
Which MIO backend are you using?
FreeBSD port using some hardcoded one - poll:
$ ./configure --localstatedir=/var
--sysconfdir=/usr/local/etc/jabberd --enable-ssl --enable-mio=poll
--disable-tests --with-extra-include-path=/usr/local/include
/usr/include :/usr/local/include/mysql
--with-extra-library-path=/usr/local/lib /usr/lib :/usr/local/lib/mysql
--enable-debug --disable-pgsql --disable-sqlite --enable-mysql
--disable-db --disable-ldap --enable-fs --disable-pam --enable-pipe
--with-sasl=gsasl --prefix=/usr/local --mandir=/usr/local/man
--infodir=/usr/local/info/ --build=i386-portbld-freebsd8.2