FS#30776 - tcpdump segmentation fault on x86_64 box
Attached to Project:
Arch Linux
Opened by hokinfo (hokinfo) - Saturday, 21 July 2012, 00:10 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 21 July 2012, 10:10 GMT
Opened by hokinfo (hokinfo) - Saturday, 21 July 2012, 00:10 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 21 July 2012, 10:10 GMT
|
Details
Description:
Segmentation fault when run tcpdump on Arch Linux 64-bit Virtual Machine Additional info: * package version(s) tcpdump version 4.3.0 libpcap version 1.3.0 (GNU libc) 2.16 Linux myvmhost 3.4.5-1-ARCH #1 SMP PREEMPT Mon Jul 16 21:35:54 CEST 2012 x86_64 GNU/Linux * config and/or log files etc. strace tcpdump .... gettimeofday({1342829083, 891350}, NULL) = 0 openat(AT_FDCWD, "/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 137 entries */, 32768) = 4024 getdents(3, /* 0 entries */, 32768) = 0 close(3) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV +++ Segmentation fault Steps to reproduce: fresh netinstall 2011.08.19 x86_64 on VM, upgrade box, run tcpdump |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Saturday, 21 July 2012, 10:10 GMT
Reason for closing: Not a bug
Saturday, 21 July 2012, 10:10 GMT
Reason for closing: Not a bug
(gdb) bt
#0 0x00007ffff749e960 in __opendirat () from /lib/libc.so.6
#1 0x00007ffff6dccc4e in ?? () from /lib/libusb-1.0.so.0
#2 0x00007ffff6dc566c in libusb_get_device_list () from /lib/libusb-1.0.so.0
#3 0x00007ffff77a272f in canusb_platform_finddevs () from /lib/libpcap.so.1
#4 0x00007ffff779efc3 in pcap_platform_finddevs () from /lib/libpcap.so.1
#5 0x00007ffff77a2b23 in pcap_findalldevs () from /lib/libpcap.so.1
#6 0x00007ffff77a4866 in pcap_lookupdev () from /lib/libpcap.so.1
#7 0x00000000004043e3 in main (argc=2, argv=0x7fffffffec58)
at ./tcpdump.c:1102
mkdir -p /dev/bus/usb/001
cd /dev/bus/usb/001
mknod 001 c 189 0
chmod 664 *