Project

General

Profile

Actions

Bug #16256

open

KEA-DHCPD Crash when applying DHCP settings

Added by M T 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv4)
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.8.0
Affected Architecture:

Description

PfSense 2.8.0 fresh install + restore backup from 2.6.
Moved from ISC-DHCP to KEA-DHCP backend

When saving DHCP settings and applying there is a crash reported with the following information.
Removing/Reinstalling pfblockerng does not resolve this.
The issue does not appear when setting backend back to ISC-DHCP.


Crash report begins.  Anonymous machine information:

amd64
15.0-CURRENT
FreeBSD 15.0-CURRENT #1 RELENG_2_8_0-n256081-401ec5f685b9: Wed May 21 23:53:51 UTC 2025     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_8_0-main/obj/amd64/0q9vjGjc/var/jenkins/workspace/pfSense-CE-snapshots-2_8_0-main/sources/FreeBSD-src-RE

Crash report details:

PHP Errors:
[11-Jun-2025 11:00:03 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/pfblockerng/pfblockerng.inc:5333
Stack trace:
#0 /usr/local/pkg/pfblockerng/pfblockerng.inc(5556): pfb_collect_localhosts()
#1 /usr/local/pkg/pfblockerng/pfblockerng.inc(1024): pfb_daemon_filterlog()
#2 {main}
  thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 5333
[11-Jun-2025 11:14:19 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, string given, called in /usr/local/pfSense/include/www/services_dhcp.inc on line 162 and defined in /etc/inc/util.inc:3961
Stack trace:
#0 /usr/local/pfSense/include/www/services_dhcp.inc(162): array_get_path()
#1 /etc/inc/system.inc(628): kea_earlydnsreg_mappings()
#2 /etc/inc/system.inc(660): system_hosts_entries()
#3 /etc/inc/services.inc(4983): system_hosts_generate()
#4 /usr/local/pfSense/include/www/services_dhcp.inc(549): services_unbound_configure()
#5 /usr/local/www/services_dhcp.php(848): dhcp_apply_changes()
#6 {main}
  thrown in /etc/inc/util.inc on line 3961
[11-Jun-2025 11:16:31 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, string given, called in /usr/local/pfSense/include/www/services_dhcp.inc on line 162 and defined in /etc/inc/util.inc:3961
Stack trace:
#0 /usr/local/pfSense/include/www/services_dhcp.inc(162): array_get_path()
#1 /etc/inc/system.inc(628): kea_earlydnsreg_mappings()
#2 /etc/inc/system.inc(660): system_hosts_entries()
#3 /etc/inc/services.inc(4983): system_hosts_generate()
#4 /usr/local/pfSense/include/www/services_dhcp.inc(549): services_unbound_configure()
#5 /usr/local/www/services_dhcp_settings.php(58): dhcp_apply_changes()
#6 {main}
  thrown in /etc/inc/util.inc on line 3961
[11-Jun-2025 11:17:37 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, string given, called in /usr/local/pfSense/include/www/services_dhcp.inc on line 162 and defined in /etc/inc/util.inc:3961
Stack trace:
#0 /usr/local/pfSense/include/www/services_dhcp.inc(162): array_get_path()
#1 /etc/inc/system.inc(628): kea_earlydnsreg_mappings()
#2 /etc/inc/system.inc(660): system_hosts_entries()
#3 /etc/inc/services.inc(4983): system_hosts_generate()
#4 /usr/local/pfSense/include/www/services_dhcp.inc(549): services_unbound_configure()
#5 /usr/local/www/services_dhcp.php(848): dhcp_apply_changes()
#6 {main}
  thrown in /etc/inc/util.inc on line 3961
[11-Jun-2025 11:18:36 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/pfblockerng/pfblockerng.inc:5333
Stack trace:
#0 /usr/local/pkg/pfblockerng/pfblockerng.inc(5556): pfb_collect_localhosts()
#1 /usr/local/pkg/pfblockerng/pfblockerng.inc(1024): pfb_daemon_filterlog()
#2 {main}
  thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 5333
[11-Jun-2025 11:18:48 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, string given, called in /usr/local/pfSense/include/www/services_dhcp.inc on line 162 and defined in /etc/inc/util.inc:3961
Stack trace:
#0 /usr/local/pfSense/include/www/services_dhcp.inc(162): array_get_path()
#1 /etc/inc/system.inc(628): kea_earlydnsreg_mappings()
#2 /etc/inc/system.inc(660): system_hosts_entries()
#3 /etc/inc/services.inc(4983): system_hosts_generate()
#4 /usr/local/pfSense/include/www/services_dhcp.inc(549): services_unbound_configure()
#5 /usr/local/www/services_dhcp.php(848): dhcp_apply_changes()
#6 {main}
  thrown in /etc/inc/util.inc on line 3961
[11-Jun-2025 11:22:17 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, string given, called in /usr/local/pfSense/include/www/services_dhcp.inc on line 162 and defined in /etc/inc/util.inc:3961
Stack trace:
#0 /usr/local/pfSense/include/www/services_dhcp.inc(162): array_get_path()
#1 /etc/inc/system.inc(628): kea_earlydnsreg_mappings()
#2 /etc/inc/system.inc(660): system_hosts_entries()
#3 /etc/inc/services.inc(4983): system_hosts_generate()
#4 /usr/local/pfSense/include/www/services_dhcp.inc(549): services_unbound_configure()
#5 /usr/local/www/services_dhcp.php(848): dhcp_apply_changes()
#6 {main}
  thrown in /etc/inc/util.inc on line 3961

No FreeBSD crash data found.

Actions #1

Updated by M T 3 months ago

Reinstalled clean + Restore without packages.
Moved backend to KEA-DHCP and getting the following error when applying a DHCP change.


Crash report begins.  Anonymous machine information:

amd64
15.0-CURRENT
FreeBSD 15.0-CURRENT #1 RELENG_2_8_0-n256081-401ec5f685b9: Wed May 21 23:53:51 UTC 2025     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_8_0-main/obj/amd64/0q9vjGjc/var/jenkins/workspace/pfSense-CE-snapshots-2_8_0-main/sources/FreeBSD-src-RE

Crash report details:

PHP Errors:
[11-Jun-2025 13:34:19 Asia/Jerusalem] PHP Fatal error:  Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, string given, called in /usr/local/pfSense/include/www/services_dhcp.inc on line 162 and defined in /etc/inc/util.inc:3961
Stack trace:
#0 /usr/local/pfSense/include/www/services_dhcp.inc(162): array_get_path()
#1 /etc/inc/system.inc(628): kea_earlydnsreg_mappings()
#2 /etc/inc/system.inc(660): system_hosts_entries()
#3 /etc/inc/services.inc(4983): system_hosts_generate()
#4 /usr/local/pfSense/include/www/services_dhcp.inc(549): services_unbound_configure()
#5 /usr/local/www/services_dhcp.php(848): dhcp_apply_changes()
#6 {main}
  thrown in /etc/inc/util.inc on line 3961

No FreeBSD crash data found.

Actions

Also available in: Atom PDF