On Mon, May 23, 2005 at 03:07:09PM +0100, Gareth Reakes wrote:
> Hi,
> 
>       I have recompiled with those flags but the panic seems the same.
> 

please get the following to work:
http://www.delorie.com/gnu/docs/glibc/libc_665.html
in my case the flags CFLAGS="-ggdb -rdynamic -O0" helped, perhaps your
kannel gets stripped? 
 file /bin/bash
 /bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
 for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped
maybe you need to make clean before?
or you might need a development libc, compiled with debugging
information?


> Cheers,
> 
> Gareth
> 
> 
> 
> 2005-05-23 15:01:38 [32672] [6] DEBUG: AT2[/dev/ttyS0]: Udh decoding 
> done len=128 udhi=1 udhlen=11 udh='
> 
>                             #?'
> 2005-05-23 15:01:38 [32672] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2005-05-23 15:01:38 [32672] [16] DEBUG: send_msg: sending msg to box: 
> <127.0.0.1>
> 2005-05-23 15:01:38 [32672] [16] DEBUG: boxc_sender: sent message to 
> <127.0.0.1>
> PuTTY2005-05-23 15:01:38 [32672] [15] DEBUG: boxc_receiver: sms received
> 2005-05-23 15:01:38 [32672] [15] DEBUG: send_msg: sending msg to box: 
> <127.0.0.1>
> 2005-05-23 15:01:38 [32672] [15] DEBUG: boxc_receiver: got ack
> 2005-05-23 15:01:38 [32672] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2005-05-23 15:01:38 [32672] [6] PANIC: gwlib/octstr.c:1436: 
> octstr_append_char: Assertion `ch <= UCHAR_MAX' failed.
> 2005-05-23 15:01:38 [32672] [6] PANIC: ./gw/bearerbox(gw_panic+0x174) 
> [0x80c7638]
> 2005-05-23 15:01:38 [32672] [6] PANIC: 
> ./gw/bearerbox(octstr_append_char+0x64) [0x80cb66d]
> 2005-05-23 15:01:38 [32672] [6] PANIC: ./gw/bearerbox [0x806996d]
> 2005-05-23 15:01:38 [32672] [6] PANIC: ./gw/bearerbox [0x8067f30]
> 2005-05-23 15:01:38 [32672] [6] PANIC: ./gw/bearerbox [0x8067b0e]
> 2005-05-23 15:01:38 [32672] [6] PANIC: ./gw/bearerbox [0x8067a3c]
> 2005-05-23 15:01:38 [32672] [6] PANIC: ./gw/bearerbox [0x8065964]
> 2005-05-23 15:01:38 [32672] [6] PANIC: ./gw/bearerbox [0x80bce40]
> 2005-05-23 15:01:38 [32672] [6] PANIC: /lib/tls/libpthread.so.0 [0x1831d5]
> 2005-05-23 15:01:38 [32672] [6] PANIC: /lib/tls/libc.so.6(__clone+0x5a) 
> [0xc1a2da]
> 
> 
> Wilfried Goesgens wrote:
> >please recompile your kannel using the following C-Flags, which 
> >will show the function trace in the log:
> >export CFLAGS="-ggdb -rdynamic -O0"
> >
> >
> >Willi
> >
> 
> -- 
> Gareth Reakes, Managing Director      Parthenon Computing
> +44-1865-811184                  http://www.parthcomp.com
> 

Reply via email to