Niko Tyni wrote:
On Mon, Feb 16, 2009 at 11:45:20AM -0200, Martín Ferrari wrote:
On Sun, Feb 15, 2009 at 22:39, Sébastien Aperghis-Tramoni wrote:
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.
I've been work
On Mon, Feb 16, 2009 at 11:45:20AM -0200, Martín Ferrari wrote:
> On Sun, Feb 15, 2009 at 22:39, Sébastien Aperghis-Tramoni
> wrote:
> > 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.
>
> I've been working w
Hi,
On Sun, Feb 15, 2009 at 22:39, Sébastien Aperghis-Tramoni
wrote:
>> 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, Ne
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 iptab
Faster than what I've expected, I've found what caused the segfault:
Pcap.xs is allowing unsafe signals during the callback. I don't know
why upstream did this, but this has to be discussed with them and
filled as a bug in CPAN.
With the attached patch, my original testcase no longer segfaults.
O
On Sat, Feb 14, 2009 at 21:08, Martín Ferrari wrote:
> Meanwhile this is solved, see the attached patch that's useful as a
> workaround for fwknopd
My bad, that patch didn't work. It goes again, this time correctly tested :)
--
Martín Ferrari
--- /home/martin/src/fwknop-1.9.10/fwknopd 2009-01-
Meanwhile this is solved, see the attached patch that's useful as a
workaround for fwknopd
On Sat, Feb 14, 2009 at 20:47, Martín Ferrari wrote:
> 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_
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 SIGCHL
8 matches
Mail list logo