[Bug 207080] pfctl crash when load pf.conf, libc/resolv problem ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 12 13:05:11 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207080

Kristof Provost <kp at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp at freebsd.org

--- Comment #1 from Kristof Provost <kp at freebsd.org> ---
I've had a quick look at this, and I think there are two problems.

The first is 'pfctl: failed to create table __automatic_4130873d_220 in :
Cannot allocate memory'.
For some reason the kernel is unable to create this table. That might be simple
memory pressure (i.e. a combination of memory use and memory fragmentation).

The second is the crash of pfctl. That looks like heap corruption as a result
of incorrect handling of the error from the kernel.
For that one rebuilding world with 'DEBUG_FLAGS=-g' and running pfctl in
valgrind is quite useful.

I've had a quick test on 10 as well, and I've been unable to reproduce the
problem there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list