PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000267PacketFence 1.7public2008-01-16 08:242008-06-05 14:57
Reportermaikel 
Assigned Touser4 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000267: pfdhcplistener and Net::RawIP 0.22 or 0.23
Descriptionpfdhcplistener segvs with Net::RawIP 0.22 or 0.23

also:
Use of uninitialized value in substr at ./pfdhcplistener line 148

TagsNo tags attached.
fixed in mtn revision
Attached Files

- Relationships
related to 0000266closeduser4 pfdhcplistener garbage 

-  Notes
(0000585)
maikel (reporter)
2008-01-16 13:55

It seems that this was linked with the Cdw.so error.

Deleted /usr/lib/perl5

Re rpmed perl
Re cpanned all perl libaries
same errer

Re rpmed perl again
CPAN DBI::Mysql

Pfdhcplistener runs again.

This might be linked to bugid 266, i will try to reproduce it
(0000586)
maikel (reporter)
2008-01-16 14:15

Rebooted the machine, restart packetfence, and the same egv shows up:
[root@tower ~]# /usr/local/pf/bin/pfdhcplistener
Segmentation fault


Jan 16 23:14:17 tower pf: pfdhcplistener(0): DHCP detector on eth0.811 enabled
Jan 16 23:14:17 tower pf: pfdhcplistener(0): DHCP detector on eth0.812 enabled
Jan 16 23:14:17 tower pf: dhcp_detector(1): dhcp_detector starting on eth0.811
Jan 16 23:14:17 tower pf: pfdhcplistener(0): DHCP detector on eth0.813 enabled



So why it sometimes works, reboot then stops working, i have no clue
(0000587)
maikel (reporter)
2008-01-16 14:17

When retrying a couple of times:[root@tower ~]# /usr/local/pf/bin/pfdhcplistener
Warning: Kernel filter failed: Invalid argument
Use of uninitialized value in substr at /usr/local/pf/bin/pfdhcplistener line 148.
Use of uninitialized value in substr at /usr/local/pf/bin/pfdhcplistener line 148.
Aborted
[root@tower ~]# /usr/local/pf/bin/pfdhcplistener
Use of uninitialized value in substr at /usr/local/pf/bin/pfdhcplistener line 148.
Segmentation fault
[root@tower ~]#
[root@tower ~]# /usr/local/pf/bin/pfdhcplistener
Segmentation fault
[root@tower ~]# /usr/local/pf/bin/pfdhcplistener
Segmentation fault
(0000602)
user4
2008-01-18 10:24

a fix for the 'unitialized value in substr' is in svn revision 88
(0000733)
user4
2008-06-05 11:07

the issue can be solved by using Net::Pcap instead of Net::RawIP
(0000734)
user4
2008-06-05 14:57

fixed in mtn revision a985a4ef2dcd7a783ed7594b95f65c18521836dc

- Issue History
Date Modified Username Field Change
2008-01-16 08:24 maikel New Issue
2008-01-16 13:55 maikel Note Added: 0000585
2008-01-16 14:15 maikel Note Added: 0000586
2008-01-16 14:17 maikel Note Added: 0000587
2008-01-17 05:33 user4 Status new => assigned
2008-01-17 05:33 user4 Assigned To => user4
2008-01-17 12:42 user4 Relationship added related to 0000266
2008-01-18 05:12 user4 Summary pfdhcplistener => pfdhcplistener and Net::RawIP 0.22 or 0.23
2008-01-18 10:24 user4 Note Added: 0000602
2008-06-05 11:07 user4 Note Added: 0000733
2008-06-05 14:57 user4 Status assigned => closed
2008-06-05 14:57 user4 Note Added: 0000734
2008-06-05 14:57 user4 Resolution open => fixed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker