Project

General

Profile

Actions

Bug #7134

closed

Crash in the gui related to widget

Added by Alexandre Paradis almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
01/18/2017
Due date:
% Done:

100%

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

Description

From thread : https://forum.pfsense.org/index.php?topic=124155.0

Other people seems to have the same bug.

My crash info :
amd64
11.0-RELEASE-p6
FreeBSD 11.0-RELEASE-p6 #67 69cfe67ee69(RELENG_2_4): Tue Jan 17 18:35:56 CST 2017 :/builder/ce/tmp/obj/builder/ce/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[18-Jan-2017 01:26:13 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:26:13 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:26:13 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:26:13 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:26:14 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:26:14 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:26:14 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:26:14 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:26:16 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:26:16 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:26:16 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:26:16 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:32:55 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:32:55 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:32:55 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:32:55 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:34:22 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:34:22 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:34:22 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:34:22 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 11:14:38 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 11:14:38 America/Toronto] PHP Stack trace:
[18-Jan-2017 11:14:38 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 11:14:38 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401

No FreeBSD crash data found.

Actions #1

Updated by Jim Pingle almost 8 years ago

  • Status changed from New to Confirmed

This also happens on 2.3.3

Actions #2

Updated by Jim Pingle almost 8 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Phillip Davis almost 8 years ago

If you have just the Interface Statistics widget on the dashboard (and not the Interfaces widget also) then you still get this PHP error crash report.
Proposed "final solution" in PR https://github.com/pfsense/pfsense/pull/3396

Actions #4

Updated by Jim Pingle almost 8 years ago

  • Status changed from Feedback to Resolved

Your fix looks good, Phil. The system I could replicate this on is no longer producing errors after a gitsync.
Thanks!

Actions #5

Updated by Jim Pingle almost 8 years ago

  • Target version changed from 2.4.0 to 2.3.3
Actions

Also available in: Atom PDF