Am Fri, 23 Jul 2010 16:40:24 +0800 schrieb Holger Hans Peter Freyther <holger@freyther.de>:
As usual for being able to debug problems:
Segmentation Fault -> Attach a Backtrace Some Protocol Error -> Attach a Packetdump.
You're right! Please excuse me... Attached the PCAP file and follow the backtrace: lucabert@Luca:~/BSC/openbsc/openbsc/src/ipaccess$ gdb ./ipaccess-config /tmp/core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/local/lib/libosmocore.so.0...done. Loaded symbols for /usr/local/lib/libosmocore.so.0 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /usr/lib/libdbi.so.0...done. Loaded symbols for /usr/lib/libdbi.so.0 Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1 Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Core was generated by `ipaccess-config -u 151/0/0 -o 192.168.1.18 192.168.1.108'. Program terminated with signal 11, Segmentation fault. [New process 27115] #0 bsc_unregister_fd (fd=0x80c59f4) at ../include/osmocore/linuxlist.h:107 107 next->prev = prev; (gdb) Thanks -- _______________________________________________________________________ Luca Bertoncello Entwicklung Mail: bertoncello@netzing.de NETZING Solutions AG Tel.: 0351/41381 - 23 Fröbelstr. 57, 01159 Dresden Fax: 0351/41381 - 12 HRB 18926 / Ust.ID DE211326547 Mail: netzing.ag@netzing.de _______________________________________________________________________