Re: [libnet-pcap-perl] Fwknop fails with a segmentation fault on i386
Franck Joncourt wrote:
Maintaining fwknop, I have the following bug:
I am the upstream maintainer of both the Net::Pcap and Net::RawIP
I managed with upstream to track down the problem to the
libnet-pcap-perl module (0.16-1).
I have saved a typescript file that shows how to reproduce the
problem leading to:
Jan 12 19:47:43 diamond kernel: [822901.361529] fwknopd general
protection ip:f7e626c9 sp:ff9988b0 error:0 in libc-2.7.so[f7df6000
I don't see anything in the typescript you pointed that would
indicate an error. Also, I note that in this case, you were using
Here is a short explanation about what is done:
1/ Setup the chroot (i386 only) and install some required packages
2/ Install fwknop with upstream tarball through the install.pl
The Net::Pcap (0.05) perl module is bundled in the tarball as
2/ Run the test suite ; it works fine.
3/ Remove the Pcap.pm file (0.05)
4/ Install libnet-pcap-perl (0.16-1)
5/ Run the test suite ; it fails with a segmentation fault.
Did you try with compiling your own version of Net::Pcap? (I doubt
this would be the source of the problem, but you never know) Also, do
you have a backtrace of the segfault?
This bug makes fwknop unusable on i386 systems.
Does this problem only happen on Debian i386 systems or can it be
reproduced on other systems/architecture? (I'm using OSX/PowerPC).
Close the world, txEn eht nepO.