Segfault in ebtables on Raspberry PI
Hello,
I’m using alpinelinux in order to have a router on a raspberry Pi.
For a specific case i need to use ebtables binary. At use of it I get a
segfault each time whatever argument I pass, or without argument or
option.
I’m using the raspberry pi AlpineLinux image, version 3.3.3
cat /etc/alpine-release
3.3.3
4.1.20-0-rpi2 #1-Alpine
A Ldd on the binary doesnt show any lack :
/lib/ld-musl-armhf.so.1 (0x54b23000)
libebtc.so => /usr/lib/ebtables/libebtc.so (0x76ed5000)
libebt_802_3.so => /usr/lib/ebtables/libebt_802_3.so (0x76ec3000)
libebt_nat.so => /usr/lib/ebtables/libebt_nat.so (0x76eb1000)
libebt_arp.so => /usr/lib/ebtables/libebt_arp.so (0x76e9e000)
libebt_arpreply.so => /usr/lib/ebtables/libebt_arpreply.so (0x76e8c000)
libebt_ip.so => /usr/lib/ebtables/libebt_ip.so (0x76e79000)
libebt_ip6.so => /usr/lib/ebtables/libebt_ip6.so (0x76e65000)
libebt_standard.so => /usr/lib/ebtables/libebt_standard.so (0x76e53000)
libebt_log.so => /usr/lib/ebtables/libebt_log.so (0x76e41000)
libebt_redirect.so => /usr/lib/ebtables/libebt_redirect.so (0x76e2f000)
libebt_vlan.so => /usr/lib/ebtables/libebt_vlan.so (0x76e1d000)
libebt_mark_m.so => /usr/lib/ebtables/libebt_mark_m.so (0x76e0b000)
libebt_mark.so => /usr/lib/ebtables/libebt_mark.so (0x76df9000)
libebt_pkttype.so => /usr/lib/ebtables/libebt_pkttype.so (0x76de7000)
libebt_stp.so => /usr/lib/ebtables/libebt_stp.so (0x76dd4000)
libebt_among.so => /usr/lib/ebtables/libebt_among.so (0x76dc1000)
libebt_limit.so => /usr/lib/ebtables/libebt_limit.so (0x76daf000)
libebt_ulog.so => /usr/lib/ebtables/libebt_ulog.so (0x76d9d000)
libebt_nflog.so => /usr/lib/ebtables/libebt_nflog.so (0x76d8b000)
libebtable_filter.so => /usr/lib/ebtables/libebtable_filter.so (0x76d79000)
libebtable_nat.so => /usr/lib/ebtables/libebtable_nat.so (0x76d67000)
libebtable_broute.so => /usr/lib/ebtables/libebtable_broute.so (0x76d55000)
libc.musl-armhf.so.1 => /lib/ld-musl-armhf.so.1 (0x54b23000)
Attached is the result of a strace command.
Is it possible to debug that , and how.
Thanks in advance for any answer.
Nico.
(from redmine: issue id 5388, created on 2016-04-11, closed on 2017-05-22)
- Changesets:
- Revision fb228c4f by Timo Teräs on 2016-05-21T07:39:37Z:
main/ebtables: fix extension initialization (on arm especially)
fixes #5388
- Uploads: