[Bug 277093] pf: Assertion failed: (elems <= maxelems), function pf_nvuint_32_array on stable/14 with RACK

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 Jun 2024 17:27:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277093

--- Comment #8 from eborisch+FreeBSD@gmail.com ---
On 14.0-p7 (with buildbot-provided pkgs libpfctl-0.11 and pftop-0.10_1) I'm
getting the same error as I am on 14.1 with locally-rebuilt:

# pftop
pfTop: Up State 1-8/8, View: default, Order: none, Cache: 10000                
                                                                               
                                    12:20:53

[Pressing 5 or 6 gets the same result:]

Segmentation fault (core dumped)

# lldb -c pftop.core /usr/local/sbin/pftop
(lldb) target create "/usr/local/sbin/pftop" --core "pftop.core"
Core file '/root/pftop.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'pftop', stop reason = signal SIGSEGV
  * frame #0: 0x00002d8520600d96 libc.so.7`strcasecmp_l + 118
    frame #1: 0x00002d852059c5c6 libc.so.7`bsearch + 70
    frame #2: 0x00002d85205273e0 libc.so.7`_nsdispatch + 1200
    frame #3: 0x00002d8520520639 libc.so.7`getprotobynumber + 121
    frame #4: 0x00002d7cfcd07477 pftop`___lldb_unnamed_symbol228 + 391
    frame #5: 0x00002d7cfcd059a7 pftop`___lldb_unnamed_symbol203 + 103
    frame #6: 0x00002d7cfcd0aae1 pftop`___lldb_unnamed_symbol288 + 305
    frame #7: 0x00002d7cfcd0b375 pftop`___lldb_unnamed_symbol300 + 229
    frame #8: 0x00002d7cfcd081a8 pftop`___lldb_unnamed_symbol233 + 1176
    frame #9: 0x00002d85204bfafa libc.so.7`__libc_start1 + 298
    frame #10: 0x00002d7cfcd047ed pftop`___lldb_unnamed_symbol182 + 45

This is on some VMs; same result on with a VM hosted on bhyve and a VM hosted
on VMWare.

-- 
You are receiving this mail because:
You are the assignee for the bug.