[Bug 206658] Bus error for pfctl -sa on rpi2 r294499 snap
Ian Lepore
ian at freebsd.org
Wed Jan 27 02:49:08 UTC 2016
On Wed, 2016-01-27 at 02:24 +0000, bugzilla-noreply at freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206658
>
> Bug ID: 206658
> Summary: Bus error for pfctl -sa on rpi2 r294499 snap
> Product: Base System
> Version: 11.0-CURRENT
> Hardware: arm
> OS: Any
> Status: New
> Severity: Affects Only Me
> Priority: ---
> Component: arm
> Assignee: freebsd-arm at FreeBSD.org
> Reporter: amutu at amutu.com
>
> uname -a:
> FreeBSD p2 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r294499: Fri Jan 22
> 01:49:44
> UTC 2016 root at releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/
> sys/RPI2
> arm
>
> gdb:
> ....
> pass in log quick on wlan0 inet proto tcp from any to (wlan0) port =
> 3333 flags
> S/SA keep state (source-track rule, max-src-conn 5, max-src-conn-rate
> 3/30,
> overload <bruteforce> flush global, src.track 30)
> pass in log quick on wlan0 inet proto tcp from any to (wlan0) port =
> 3333 flags
> S/SA keep state (source-track rule, max-src-conn 5, max-src-conn-rate
> 3/30,
> overload <bruteforce> flush global, src.track 30)
>
> STATES:
> all tcp 192.168.1.114:48865 -> 103.138.240.229:37005
> TIME_WAIT:TIME_WAIT
>
> Program received signal SIGBUS, Bus error.
> 0x00021614 in print_host (addr=0x2065113e, port=45235, af=2 '\002',
> opts=1024)
> at /usr/src/sbin/pfctl/pf_print_state.c:178
> 178 /usr/src/sbin/pfctl/pf_print_state.c: No such file or
> directory.
> in /usr/src/sbin/pfctl/pf_print_state.c
> Current language: auto; currently minimal
> (gdb) bt
> #0 0x00021614 in print_host (addr=0x2065113e, port=45235, af=2
> '\002',
> opts=1024) at /usr/src/sbin/pfctl/pf_print_state.c:178
> #1 0x0002189c in print_state (s=0x206510f2, opts=1024) at
> /usr/src/sbin/pfctl/pf_print_state.c:236
> #2 0x0000c35c in pfctl_show_states (dev=<value optimized out>,
> iface=0x0,
> opts=<value optimized out>)
> at /usr/src/sbin/pfctl/pfctl.c:1091
> #3 0x0000f018 in $a.107 () at /usr/src/sbin/pfctl/pfctl.c:2241
> #4 0x0000f018 in $a.107 () at /usr/src/sbin/pfctl/pfctl.c:2241
>
I attached a patch to the PR and requested the reporter test it, but
I've just realized that the problem was found with a snapshot image and
the reporter may not be able to patch and build.
I don't use the pf stuff myself, so I have no way of testing it. Can
someone who does use it give this patch a test? Thanks.
-- Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pfctl_align.diff
Type: text/x-patch
Size: 1212 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20160126/0c7b138b/attachment.bin>
More information about the freebsd-arm
mailing list