tcpdump mailing list archives
Re: segfault in libpcap
From: Florent.Drouin () alcatel-lucent fr
Date: Tue, 30 Jan 2007 13:16:27 +0100
Hello Paolo, I am using a Debian Sarge distribution, with kernel 2.6.15.4. In the kernel, most of the features (like USB support) are disabled, as I am testing a specific driver, and I do not want to have conflicts. I did check on an other PC, with USB support, and the directory /proc/bus/usb is present. So, you are right, the missing directory is due to my specific configuration (no USB support), that's probably why the problem was not detected. Regards Florent "Abeni Paolo" <paolo.abeni@telecomitalia.i To: <tcpdump-workers () lists tcpdump org> t> cc: Sent by: Subject: Re: [tcpdump-workers] segfault in libpcap tcpdump-workers-owner@lists. tcpdump.org 30/01/2007 12:25 Please respond to tcpdump-workers on Tue 1/30/2007 11:28 AM Florent Drouin wrote:
I have a systematical crash at tcpdump startup, when I am using libpcap (2007-01-30) I just add a test to check if the USB bus directory is present in pcap-usb-linux.c, and it seems to solve the problem.
You are right the bug is there. Thanks for pointing it out. Your patch seams to be reversed, so I repost it in order to semplify the mantainers work. BTW what kernel version/distro are you running ? it's strange to not found the directory /proc/bus/usb... ciao, Paolo -------------------------------------------------------------------- CONFIDENTIALITY NOTICE This message and its attachments are addressed solely to the persons above and may contain confidential information. If you have received the message in error, be informed that any use of the content hereof is prohibited. Please return it immediately to the sender and delete the message. Should you have any questions, please contact us by replying to webmaster () telecomitalia it. Thank you www.telecomitalia.it -------------------------------------------------------------------- (See attached file: winmail.dat)- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- segfault in libpcap Florent . Drouin (Jan 30)
- Re: segfault in libpcap Abeni Paolo (Jan 30)
- Re: segfault in libpcap Florent . Drouin (Jan 30)
- Re: segfault in libpcap Gert Doering (Jan 30)
- Re: segfault in libpcap Abeni Paolo (Jan 30)
- SNIFFER OF KEYWORD Adelmo Silva (Jan 30)
- Re: segfault in libpcap Abeni Paolo (Jan 30)
- Re: segfault in libpcap Guy Harris (Jan 31)