Bug #13620
closedAfter adding Route-map FRR crashes
0%
Description
Tested on the latest 23.01 (built on Tue Nov 01 06:05:26 UTC 2022)
I enabled FRR with simple settings (Default Router-ID and Master Password) but when I added simple Route-map 'EBGP_IN':
Action: Permit
Prefix-list: Allow All
Sequence: 10
FRR crashed.
I see (attached 'frr_route_map_menu.png')
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg.php:484 Stack trace: #0 {main} thrown in /usr/local/www/pkg.php on line 484 PHP ERROR: Type: 1, File: /usr/local/www/pkg.php, Line: 484, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg.php:484 Stack trace: #0 {main} thrown
As a crash report I got this:
_*Crash report begins. Anonymous machine information:
amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 plus-devel-main-n255976-0fd3cd7be1f2: Tue Nov 1 06:29:24 UTC 2022 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/obj/amd64/RvAYJIkX/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeB
Crash report details:
PHP Errors:
[01-Nov-2022 12:39:43 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/frr/inc/frr_zebra.inc:418
Stack trace:
#0 /usr/local/pkg/frr/inc/frr_zebra.inc(821): frr_zebra_generate_routemaps()
#1 /usr/local/pkg/frr.inc(669): frr_generate_config_zebra()
#2 /usr/local/www/pkg_edit.php(245) : eval()'d code(2): frr_generate_config()
#3 /usr/local/www/pkg_edit.php(245): eval()
#4 {main}
thrown in /usr/local/pkg/frr/inc/frr_zebra.inc on line 418
[01-Nov-2022 12:45:40 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg.php:484
Stack trace:
#0 {main}
thrown in /usr/local/www/pkg.php on line 484
[01-Nov-2022 12:46:10 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg.php:484
Stack trace:
#0 {main}
thrown in /usr/local/www/pkg.php on line 484
[01-Nov-2022 12:46:17 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg.php:484
Stack trace:
#0 {main}
thrown in /usr/local/www/pkg.php on line 484*_
PHP error log attached.
Files
Updated by Danilo Zrenjanin over 1 year ago
Confirmed this behavior on the:
2.7.0-DEVELOPMENT (amd64) built on Tue Nov 01 06:05:17 UTC 2022 FreeBSD 14.0-CURRENT
Updated by Danilo Zrenjanin over 1 year ago
- Status changed from New to Confirmed
Updated by Danilo Zrenjanin over 1 year ago
- Status changed from Confirmed to Duplicate
It's a dup of https://redmine.pfsense.org/issues/13564