I'm very busy in my own work myself and have to force myself
to ignore most email on kannel list! :(
Others I'm sure the same.
Kannel exits itself in some cases where it detects an error.
It's logging is quite good.
Turn on full logging in the config file for both bearerbox and smsbox,
And check what is the last thing in the logs.
This can be much more helpful than using gdb.
If yuou've done this already sorry but anyway ....
Are there other people using kannel on FreeBSD?
You've got the code and I'm afraid you're the best person to track down
this problem!!! :)
James.
On Thu, Aug 26, 2004 at 10:43:33AM +0300, Odhiambo Washington wrote:
>
> Hello users,
>
> I have previously posted to this list requesting assistance with kannel.
> I must have posted all pertinent details, but it appears maybe this is
> the wrong list to post issues about kannel crashes, no?
>
> > pid 3769 (wapbox), uid 0: exited on signal 11 (core dumped)
> > pid 3783 (wapbox), uid 0: exited on signal 11 (core dumped)
> > pid 4806 (wapbox), uid 0: exited on signal 11 (core dumped)
>
> OS Platform : FreeBSD 5.2.1
> Kannel : 1.3.1
> Compile Options : ARGS="--prefix=/usr/local/kannel-1.3.1 \
> --with-malloc=native \
> --enable-pam \
> --enable-localtime \
> --enable-cookies \
> --disable-start-stop-daemon \
> --with-ssl=/usr/local \
> --enable-ssl \
> --with-dlr=internal \
> --with-wtls=openssl \
> --enable-mysql \
> --with-mysql=/usr/local"
>
>
> gdb output :
>
> ids# gdb ../../sbin/wapbox wapbox.core
> GNU gdb 5.2.1 (FreeBSD)
> Copyright 2002 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-unknown-freebsd"...
> Core was generated by `wapbox'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from
> /usr/local/lib/compat/pkg/libmysqlclient.so.12...done.
> Loaded symbols for /usr/local/lib/compat/pkg/libmysqlclient.so.12
> Reading symbols from /usr/lib/libssl.so.3...done.
> Loaded symbols for /usr/lib/libssl.so.3
> Reading symbols from /usr/lib/libpam.so.2...done.
> Loaded symbols for /usr/lib/libpam.so.2
> Reading symbols from /lib/libm.so.2...done.
> Loaded symbols for /lib/libm.so.2
> Reading symbols from /usr/lib/libc_r.so.5...done.
> Loaded symbols for /usr/lib/libc_r.so.5
> Reading symbols from /usr/local/lib/libxml2.so.5...done.
> Loaded symbols for /usr/local/lib/libxml2.so.5
> Reading symbols from /lib/libz.so.2...done.
> Loaded symbols for /lib/libz.so.2
> Reading symbols from /usr/local/lib/libiconv.so.3...done.
> Loaded symbols for /usr/local/lib/libiconv.so.3
> Reading symbols from /lib/libcrypto.so.3...done.
> Loaded symbols for /lib/libcrypto.so.3
> Reading symbols from /lib/libc.so.5...done.
> Loaded symbols for /lib/libc.so.5
> Reading symbols from /lib/libcrypt.so.2...done.
> Loaded symbols for /lib/libcrypt.so.2
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0 conn_get_connect_result (conn=0x0) at gwlib/conn.c:500
>
> 500 if (getsockopt(conn->fd, SOL_SOCKET, SO_ERROR, &err, &len) (0) {
> (gdb) bt
> #0 conn_get_connect_result (conn=0x0) at gwlib/conn.c:500
> #1 0x0808fcaf in handle_transaction (conn=0x80ecb00, data=0x80ecb80) at
> gwlib/http.c:873
> #2 0x0808b1d2 in poll_callback (fd=-1079755108, revents=4, data=0x80ecb00) at
> gwlib/conn.c:801
> #3 0x0808d514 in poller (arg=0x80fef80) at gwlib/fdset.c:279
> #4 0x0808e0ca in new_thread (arg=0x80fdcb0) at gwlib/gwthread-pthread.c:284
>
> #5 0x4815c50e in _thread_start () from /usr/lib/libc_r.so.5
>