Project

General

Profile

Actions

Regression #14494

closed

FRR,PHP errors when deleting AS-path

Added by Lev Prokofev about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

Steps to reproduce:

1)Create AS-path list
2)Delete As-path list

Looks like related to https://redmine.pfsense.org/issues/14493

Crash report begins.  Anonymous machine information:

amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #1 plus-RELENG_23_05-n256102-7cd3d043045: Mon May 22 15:33:52 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_05-main/obj/amd64/LkEyii3W/var/jenkins/workspace/pfSense-Plus-snapshots-23_05-main/sources/FreeBS

Crash report details:

PHP Errors:
[21-Jun-2023 11:55:14 Etc/UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/frr/inc/frr_bgp.inc:29
Stack trace:
#0 /usr/local/pkg/frr/inc/frr_bgp.inc(724): frr_get_bgp_aspath_list()
#1 /usr/local/pkg/frr/inc/frr_bgp.inc(946): frr_bgp_generate_neighbors()
#2 /usr/local/pkg/frr.inc(672): frr_generate_config_bgp()
#3 /usr/local/www/pkg.php(142) : eval()'d code(1): frr_generate_config()
#4 /usr/local/www/pkg.php(142): eval()
#5 {main}
  thrown in /usr/local/pkg/frr/inc/frr_bgp.inc on line 29

In attempt to Force restart the service after this error

I get:

Crash report begins. Anonymous machine information:

amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #1 plus-RELENG_23_05-n256102-7cd3d043045: Mon May 22 15:33:52 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_05-main/obj/amd64/LkEyii3W/var/jenkins/workspace/pfSense-Plus-snapshots-23_05-main/sources/FreeBS

Crash report details:

PHP Errors:
[21-Jun-2023 11:57:16 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/frr/inc/frr_bgp.inc:29
Stack trace:
#0 /usr/local/pkg/frr/inc/frr_bgp.inc(724): frr_get_bgp_aspath_list()
#1 /usr/local/pkg/frr/inc/frr_bgp.inc(946): frr_bgp_generate_neighbors()
#2 /usr/local/pkg/frr.inc(672): frr_generate_config_bgp()
#3 /usr/local/www/pkg_edit.php(245) : eval()'d code(1): frr_generate_config()
#4 /usr/local/www/pkg_edit.php(245): eval()
#5 {main}
thrown in /usr/local/pkg/frr/inc/frr_bgp.inc on line 29

No FreeBSD crash data found.


Files

clipboard-202306211558-cyopa.png (16.5 KB) clipboard-202306211558-cyopa.png Lev Prokofev, 06/21/2023 11:58 AM
Actions #1

Updated by Lev Prokofev about 2 years ago

Additional note.

If you disable the FRR service - you can delete anything without errors.

Actions #2

Updated by Danilo Zrenjanin about 2 years ago

  • Status changed from New to Confirmed

I can confirm this behavior.

Tested against:

pfSense-pkg-frr-1.2_3
Actions #3

Updated by Jim Pingle about 2 years ago

  • Assignee set to Jim Pingle
Actions #4

Updated by Jim Pingle about 2 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

Fixed in FRR Package v1.3, which is building now and will be available shortly.

Actions #5

Updated by Lev Prokofev about 2 years ago

  • Status changed from Feedback to Resolved

No more errors with the 1.3 package, marked it resolved.

Actions

Also available in: Atom PDF