Bug #16571
closedpkg segfaults on some package installs
0%
Description
Packages built with the standard FreeBSD package system in 14.3 or 15.0 (pkg version 2.4.2) cause pkg and pkg-static in pfSense 24.11 (pkg version 2.3.1) to segfault.
This appears to have been a known issue in older versions of pkg that has since been resolved:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290959
The crash occurs in a sqlite3 call:
UPDATE packages SET manifestdigest=‘blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblah’ WHERE id=0;
Stephen has an example package that triggers the problem.
A pkg-static executable copied from either a 14.3 or 15.0 system works as expected under 24.11.
Updated by Kris Phillips 3 days ago
- Project changed from pfSense to pfSense Plus
- Category changed from Package System to Package System
- Status changed from New to Incomplete
- Affected Plus Version set to 24.11
Hello,
Have you tested this on a supported release? 24.11 is no longer a supported release of Plus.
Updated by Denny Page 3 days ago
Apologies, 24.11 was a typo. The current 25.11 RC (25.11.r.20251126.1732) is the affected version.
Updated by Denny Page 3 days ago
Please change affected version to 25.11. Thanks.
Updated by Steve Wheeler 2 days ago
- Affected Plus Version changed from 24.11 to 25.11
Updated by Denny Page 1 day ago
This is going to end up being a problem for some users as they depend upon being able to install upstream FreeBSD packages. It's also a problem for us developers who work on packages for pfSense because we build on FreeBSD systems for testing.
Please re-open, at least for tracking the issue.