Martín Ferrari a écrit :

Hi, after working on this bug for a while, I was able to distill a
minimum code that triggers the segfault. The callback routine invoked
from pcap_loop needs to set a signal handler that it's used during the
callback.

In the fwknopd code, this happens when calling iptables, which triggers
a SIGCHLD on exit, but can happen with any signal.

I can't reproduce the problem using your test case, either with Net::Pcap 0.16 on OSX, Net::Pcap 0.04 or 0.16 on Debian etch x86.


Meanwhile this is solved, see the attached patch that's useful as a
workaround for fwknopd

Is this patch reversed? The destination already looks like the version of fwknopd I downloaded (1.9.10). If that's the case, I'm not sure to understand how this fixes the problem.


--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to