Re: [bwm-tools-tech] Fedora core5 segmentation fault
Brought to you by:
nkukard
From: Nigel K. <nk...@lb...> - 2006-04-27 19:45:15
|
Good day, > Now that I updated (fresh install) my machine from Fedora Core 4 to > Core 5, I get segmentation faults after updating my kernel (standard > yum update). I allready updated 2 kernel versions, but only with the > stock 2.6.15-1.2054 bwm_tools works. Interesting.... so its a updated FC4 installation? > > bwm_firewall -f > BWM Firewall v0.2.3 - Copyright (c) 2003-2006 Linux Based Systems Design > > Loading configuration from "/etc/bwm_tools/firewall.xml"... > Segmentation fault Ok ... bwm_firewall isn't that nasty, shouldn't be too hard to track the bug and mash it with a sledge hammer. > The last part when running strace; > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7fa1000 > write(1, "BWM Firewall v0.2.3 - Copyright "..., 74BWM Firewall v0.2.3 > - Copyright (c) 2003-2006 Linux Based Systems Design > > ) = 74 > write(1, "Loading configuration from \"/etc"..., 60Loading > configuration from "/etc/bwm_tools/firewall.xml"... > ) = 60 > futex(0x4838b8, FUTEX_WAKE, 2147483647) = 0 > stat64("/etc/bwm_tools/firewall.xml", {st_mode=S_IFREG|0644, > st_size=19773, ...}) = 0 > brk(0) = 0x94a9000 > brk(0x94ca000) = 0x94ca000 > stat64("/etc/bwm_tools/firewall.xml", {st_mode=S_IFREG|0644, > st_size=19773, ...}) = 0 > stat64("/etc/bwm_tools/firewall.xml", {st_mode=S_IFREG|0644, > st_size=19773, ...}) = 0 > stat64("/etc/bwm_tools/firewall.xml", {st_mode=S_IFREG|0644, > st_size=19773, ...}) = 0 > open("/etc/bwm_tools/firewall.xml", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=19773, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7fa0000 > read(3, "<firewall>\n#\n# Global configurat"..., 16384) = 16384 > _llseek(3, 0, [16384], SEEK_CUR) = 0 > _llseek(3, 0, [0], SEEK_SET) = 0 > read(3, "<firewall>\n#\n# Global configurat"..., 4096) = 4096 > read(3, " </class>\n\t\t<class"..., 4096) = 4096 > read(3, "0\" dst-iface=\"eth0\"/>\n "..., 4096) = 4096 > read(3, " <rul"..., 4096) = 4096 > read(3, " <rule target=\"a"..., 4096) = 3389 > read(3, "", 4096) = 0 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xb7fa0000, 4096) = 0 > gettimeofday({1146142654, 659695}, NULL) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > Process 16358 detached Could you build BWM Tools with debugging support and run it through gdb for me and send me the output. > And this happens now with kernel 2.6.16-1.2080_FC5smp, the strace > output doesn't mean anything to me, perhaps someone likes to see the > complete output. Anyway, I never had a problem that I know of with > Fedora core 4, and the bwmd and bwm_graph run without problems. > re-installing doesn't solve it as well. I think its some incompatibility, the gdb output above should show the line number causing the segfault. -Nigel |