Project

General

Profile

Actions

Bug #13620

closed

After adding Route-map FRR crashes

Added by Azamat Khakimyanov over 1 year ago. Updated over 1 year ago.

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

0%

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

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

frr_route_map_menu.png (149 KB) frr_route_map_menu.png Azamat Khakimyanov, 11/01/2022 07:47 AM
PHP_errors.log (1.12 KB) PHP_errors.log Azamat Khakimyanov, 11/01/2022 07:51 AM
Actions #1

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
Actions #2

Updated by Danilo Zrenjanin over 1 year ago

  • Status changed from New to Confirmed
Actions #3

Updated by Danilo Zrenjanin over 1 year ago

  • Status changed from Confirmed to Duplicate
Actions #4

Updated by Jim Pingle over 1 year ago

  • Target version deleted (23.01)
Actions

Also available in: Atom PDF