Project

General

Profile

Actions

Bug #16571

closed

pkg segfaults on some package installs

Added by Denny Page 4 days ago. Updated 1 day ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Package System
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
25.11
Affected Architecture:

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.

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Denny Page 3 days ago

Please change affected version to 25.11. Thanks.

Actions #4

Updated by Steve Wheeler 2 days ago

  • Affected Plus Version changed from 24.11 to 25.11
Actions #5

Updated by Marcos M 1 day ago

  • Status changed from Incomplete to Not a Bug

This is not an issue in practice given that builds are done with the pkg version respective to the release.

Actions #6

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.

Actions

Also available in: Atom PDF