OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Andrew Ruthven - 25.04.2019

FS#2258 - tcpdump: bus error on 18.06.2

Hey,

On a Mikrotik RB450G (mips_24kc) running OpenWRT 18.06.2, when I try to run tcpdump I get a Bus error. Output from strace:

root@firewall:~# strace tcpdump
execve("/usr/sbin/tcpdump", ["tcpdump"], 0x7fb548b0 /* 13 vars */) = 0
set_thread_area(0x77c57dc0)             = 0
set_tid_address(0x77c50d28)             = 2843
open("/etc/ld-musl-mips-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=62976, ...}) = 0
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0=\360\0\0\0004"..., 936) = 936
mmap2(NULL, 245760, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77b70000
mmap2(0x77baa000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2a000) = 0x77baa000
--- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0x77bab4b8} ---
+++ killed by SIGBUS +++
Bus error
root@firewall:~# 

Something dodgy with the pcap library?

diizzyy commented on 06.05.2019 11:09

Works for me on trunk, ramips

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing