Re: [bwm-tools-tech] Fedora core5 segmentation fault
Brought to you by:
nkukard
From: confruo de M. <co...@ho...> - 2006-05-04 10:37:28
|
Hi there, >Could you try configure like this ... CFLAGS="-g" ./configure >.................... > >Remember to start out with a clean source dir. > >After the make, do an instll and run with gdb as you did below.... we >should then get line numbers in source where the segfault is occuring. The CFLAGS="-g" ./configure gives a different size binary for bwm_tools, but the output in gdb is the same, so since i read the shannan summers thread, I also did a -bt- , next is the output; (gdb) r -f Starting program: /usr/local/bin/bwm_firewall -f Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x407000 [Thread debugging using libthread_db enabled] [New Thread -1208497872 (LWP 2262)] BWM Firewall v0.2.3 - Copyright (c) 2003-2006 Linux Based Systems Design Loading configuration from "/etc/bwm_tools/firewall.xml"... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208497872 (LWP 2262)] 0x00138e0e in g_list_foreach () from /usr/lib/libglib-2.0.so.0 (gdb) bt #0 0x00138e0e in g_list_foreach () from /usr/lib/libglib-2.0.so.0 #1 0x00a66ae2 in createClassRuleset (confClass=0x84bdec0) at xmlConf.c:329 #2 0x00a696e1 in parseGlobal (doc=0x84c6a90, cur=0x84c7220) at xmlConf.c:1567 #3 0x080491d1 in createFirewallRules (filename=0x804a1e0 "/etc/bwm_tools/firewall.xml", resetCounters=0 '\0') at bwm_firewall.c:200 #4 0x08049be3 in main (argc=2, argv=0xbfb8e314) at bwm_firewall.c:413 ! but again, whatever ./configure I do, this remains the same, so i wonder if I do this right. Thanks in advance _________________________________________________________________ Typ je SMS sneller binnen MSN Messenger http://www1.imagine-msn.com/Messenger/Expressions.aspx |