Bug #15595
closed``pftop`` core dump with ICMP states
100%
Description
Reviewing status outputs for 24.03. I began to notice frequent pftop core dumps (signal 10 and 11). These are displayed in the message buffer and system.log.
pid 57704 (pftop), jid 0, uid 0: exited on signal 11 (core dumped)
HS#
2785863048
2780401755
2829252623
2872456486
2879753617
Subsequently I discoverd a pftop.core file in `/root` of my own system (attached).
# file pftop.core pftop.core: ELF 64-bit LSB core file, x86-64, version 1 (FreeBSD), FreeBSD-style, from 'pftop -f proto icmp -d 10', pid=77759
Files
Updated by Chris W 10 months ago
Seeing this on my 24.03 VM too. In my case it seems to always happen very shortly after logging in to the GUI. It doesn't seem to affect anything however. Diagnostics > pfTop and States still work fine.
Jul 5 16:31:19 pfSense php-fpm[590]: /status.php: Successful login for user 'admin' from: 172.16.40.12 (Local Database) Jul 5 16:31:47 pfSense kernel: pid 7225 (pftop), jid 0, uid 0: exited on signal 10 (core dumped)
Updated by Craig Coonrad 10 months ago
I wasn't able to trigger this by logging in. One thing I did notice is I've only seen this on amd64, nothing from my 2100 (arm64).
Updated by Marcos M 9 months ago
- Category changed from packetfilter to Operating System
Potentially related to:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277093
Updated by Kristof Provost about 2 months ago
I've pushed a fix for pftop crashes (specifically seen with `pftop -f icmp`) to the 25.03 and plus-devel-main branches. This may or may not be a root cause fix for this issue as well.
Updated by Craig Coonrad about 2 months ago
- Status changed from New to Resolved
version: 25.03-RC
platform: 4200
On 24.11 I couldn't get pftop to crash consistently. Until I initiated some pings, so there was some ICMP states.
At that point pftop would crash every time I ran `pftop -f icmp`
I upgraded to 25.03-RC and the problem is resolved. Thanks!
Updated by Jim Pingle about 2 months ago
- Subject changed from Frequent pftop core dumps to ``pftop`` core dump with ICMP states
- Assignee set to Kristof Provost
- Target version set to 25.03
- % Done changed from 0 to 100