Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 13:05:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-pf@FreeBSD.org
Subject:   [Bug 207080] pfctl crash when load pf.conf, libc/resolv problem ?
Message-ID:  <bug-207080-17777-KtvtnCZu9l@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207080-17777@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207080-17777@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

Kristof Provost <kp@freebsd.org> changed:

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

--- Comment #1 from Kristof Provost <kp@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 the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207080-17777-KtvtnCZu9l>