Bug#508432: [libnet-pcap-perl] Fwknop fails with a segmentation fault on i386

Franck Joncourt franck.mail at dthconnex.com
Tue Feb 10 17:48:16 UTC 2009


Gunnar Wolf wrote:
> Hi,

Hi,

> Any news on this bug? Last action says you needed two days... two
> weeks ago. 

Here is what I sent to Sébastien one week ago.

> I am trying to find out where the problem comes from.
> So far without success :(
> 
> When your module is built, I can see the following warnings:
> 
> [quote=build]
> Pcap.xs: In function 'callback_wrapper':
> Pcap.xs:62: warning: value computed is not used
> Pcap.xs:63: warning: value computed is not used
> Pcap.xs:64: warning: value computed is not used
> Pcap.xs:65: warning: value computed is not used
> Pcap.xs: In function 'XS_Net__Pcap_findalldevs_xs':
> Pcap.xs:196: warning: value computed is not used
> Pcap.xs:199: warning: value computed is not used
> Pcap.xs:202: warning: value computed is not used
> Pcap.xs:220: warning: value computed is not used
> Pcap.xs:222: warning: value computed is not used
> Pcap.xs: In function 'XS_Net__Pcap_next':
> Pcap.xs:447: warning: value computed is not used
> Pcap.xs:448: warning: value computed is not used
> Pcap.xs:449: warning: value computed is not used
> Pcap.xs:450: warning: value computed is not used
> Pcap.xs: In function 'XS_Net__Pcap_next_ex':
> Pcap.xs:489: warning: value computed is not used
> Pcap.xs:490: warning: value computed is not used
> Pcap.xs:491: warning: value computed is not used
> Pcap.xs:492: warning: value computed is not used
> Pcap.xs: In function 'XS_Net__Pcap_stats':
> Pcap.xs:742: warning: value computed is not used
> Pcap.xs:744: warning: value computed is not used
> Pcap.xs:746: warning: value computed is not used
> Pcap.xs: In function 'XS_Net__Pcap_sendpacket':
> Pcap.xs:963: warning: pointer targets in passing argument 2 of
> 'pcap_sendpacket' differ in signedness
> Pcap.c: In function 'boot_Net__Pcap':
> Pcap.c:2335: warning: initialization discards qualifiers from pointer
> target type
> Running Mkbootstrap for Net::Pcap ()
> [/quote]
> 
> I have fixed some of them, and thus you do not see them above,
> but I think all of them should be fixed. I do not know how to work on
> the latest one, and I am not sure about why there are all these unused
> values.
> 
> When I run the perl debugger on fwknop and set a breakpoint before
> pcap_loop, it gets stucked. This is due to the implementation of the C
> code, I think. Any idea how I can debug fwknop?

I have put this bug aside waiting for a reply. I do have another idea to
try but I have not taken the time yet.

Any help is welcome.

-- 
Franck Joncourt
http://debian.org - http://smhteam.info/wiki/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090210/9c387a90/attachment.pgp 


More information about the pkg-perl-maintainers mailing list