000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found. Segmentation fault
can you provide gnu debug?
start gdb inside lcr source directory:
root@isdn-tester:~# gdb GNU gdb 6.0 Copyright 2003 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 "i586-pc-linux-gnu". (gdb)
load and run
(gdb) file lcr Reading symbols from lcr...done. (gdb) run start
after crash type
(gdb) where
you will get a traceback. it should also say the line in code where the crash happened. (before libc was called)
Hi Andreas,
Here is the debug output :
[Thread debugging using libthread_db enabled]
** LCR Version 1.7
000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found.
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff667e70b in vsnprintf () from /lib/libc.so.6 (gdb) where #0 0x00007ffff667e70b in vsnprintf () from /lib/libc.so.6 #1 0x000000000040a53d in sprint (dst=0x7fffffffd800 "", siz=4817567, fmt=0x7 <Address 0x7 out of bounds>) at macro.h:52 #2 0x000000000040ae31 in gsm_conf (gsm_conf=0x6e2e18) at gsm_conf.c:164 #3 0x0000000000409362 in gsm_init () at gsm.cpp:1632 #4 0x0000000000435f92 in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:366 (gdb)
Best regards Ihab el Bakri
_________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969