Project

General

Profile

Actions

Bug #16571

closed

pkg segfaults on some package installs

Added by Denny Page 6 days ago. Updated 3 days 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

Also available in: Atom PDF