[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [libnet-pcap-perl] Fwknop fails with a segmentation fault on i386



Franck Joncourt wrote:

Hi,

Hello,

Maintaining fwknop, I have the following bug:

I am the upstream maintainer of both the Net::Pcap and Net::RawIP modules.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508432

I managed with upstream to track down the problem to the
libnet-pcap-perl module (0.16-1).

I have saved a typescript file[1] that shows how to reproduce the
problem leading to:

[quote="syslog"]
Jan 12 19:47:43 diamond kernel: [822901.361529] fwknopd[30660] general
protection ip:f7e626c9 sp:ff9988b0 error:0 in libc-2.7.so[f7df6000 +138000]
[/quote]

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 Net::Pcap 0.05

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 script. The Net::Pcap (0.05) perl module is bundled in the tarball as other
     perl modules.
  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).


--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.


Reply to: