Project

General

Profile

Actions

Bug #8790

closed

getting PHP error regarding HAproxy pkg

Added by Vladimir Lind over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal-package
Assignee:
-
Category:
haproxy
Target version:
Start date:
08/16/2018
Due date:
% Done:

0%

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

Description

On 2.4.4 buildtime - Tue Aug 14 16:55:58 EDT 2018

Crash report begins. Anonymous machine information:

amd64
11.2-RELEASE-p1
FreeBSD 11.2-RELEASE-p1 #53 d867749350f(factory-RELENG_2_4_4): Tue Aug 14 17:34:55 EDT 2018 root@buildbot3:/builder/crossbuild-master/obj/amd64/rdiCdX3r/builder/crossbuild-master/pfSense/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[15-Aug-2018 06:03:13 Etc/UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/www/guiconfig.inc on line 260
[16-Aug-2018 05:11:14 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:14 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:20 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:20 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.newwanip(223): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:22 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:22 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:25 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:25 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:17 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:17 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:21 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:21 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:42 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:42 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.newwanip(223): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:47 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:47 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:53 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:53 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.reload_all(34): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189

No FreeBSD crash data found.

Actions #1

Updated by Anonymous over 6 years ago

  • Priority changed from Normal to Normal-package
Actions #2

Updated by Jim Pingle over 6 years ago

  • Project changed from pfSense to pfSense Packages
  • Category changed from Operating System to haproxy
Actions #3

Updated by Anonymous over 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Anonymous
Actions #4

Updated by Anonymous over 6 years ago

  • Status changed from In Progress to Feedback
Actions #5

Updated by Azamat Khakimyanov over 6 years ago

  • Status changed from Feedback to Assigned

On 2.4.4.a.20180801.0114 when I installed HAproxy I caught the same crash report.

But on 2.4.4.a.20180826.1232 when I installed HAproxy I caught another crash:
Crash report begins. Anonymous machine information:

amd64
11.2-RELEASE-p2
FreeBSD 11.2-RELEASE-p2 #91 02c4cf66db5(RELENG_2_4_4): Sun Aug 26 12:33:43 EDT 2018 root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[27-Aug-2018 11:20:08 Etc/UTC] PHP Fatal error: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402) in /usr/local/pkg/haproxy/haproxy_utils.inc on line 122
[27-Aug-2018 11:20:11 Etc/UTC] PHP Fatal error: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402) in /usr/local/pkg/haproxy/haproxy_utils.inc on line 105

No FreeBSD crash data found.

Actions #6

Updated by Greg M over 6 years ago

Same here.
Haproxy is not installed after this error and services are down.

Actions #7

Updated by Pi Ba over 6 years ago

Should be fixed with current 0.59_11 version. If not please let me know the exact error you get and when that happens.

Actions #8

Updated by Greg M over 6 years ago

Hi!

All OK, thanks!

Actions #9

Updated by Anonymous over 6 years ago

  • Status changed from Assigned to Resolved
Actions

Also available in: Atom PDF