Project

General

Profile

Bug #8790

getting PHP error regarding HAproxy pkg

Added by Vladimir Lind 10 months ago. Updated 10 months ago.

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

0%

Estimated time:
Affected Version:
2.4.4
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.

History

#1 Updated by Steve Beaver 10 months ago

  • Priority changed from Normal to Normal-package

#2 Updated by Jim Pingle 10 months ago

  • Project changed from pfSense to pfSense Packages
  • Category changed from Operating System to haproxy

#3 Updated by Steve Beaver 10 months ago

  • Status changed from New to In Progress
  • Assignee set to Steve Beaver

#4 Updated by Steve Beaver 10 months ago

  • Status changed from In Progress to Feedback

#5 Updated by Azamat Khakimyanov 10 months 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.

#6 Updated by Greg M 10 months ago

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

#7 Updated by Pi Ba 10 months 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.

#8 Updated by Greg M 10 months ago

Hi!

All OK, thanks!

#9 Updated by Steve Beaver 10 months ago

  • Status changed from Assigned to Resolved

Also available in: Atom PDF