Project

General

Profile

Actions

Bug #10320

closed

lcdproc Crash report begins

Added by Manuel Piovan about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
LCDProc
Target version:
-
Start date:
03/07/2020
Due date:
% Done:

100%

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

Description

Crash report begins. Anonymous machine information:

amd64
12.0-RELEASE-p10
FreeBSD 12.0-RELEASE-p10 ce9563d5729(RELENG_2_5) pfSense

Crash report details:

PHP Errors:
[07-Mar-2020 20:59:02 Europe/Rome] PHP Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /usr/local/pkg/lcdproc_client.php on line 1202

Actions #1

Updated by Jim Pingle about 4 years ago

  • Project changed from pfSense to pfSense Packages
  • Category changed from PHP Interpreter to LCDProc
Actions #2

Updated by Manuel Piovan about 4 years ago

if i stop the service lcdproc i have another crash report for a while, i think LCDd is killed but lcdproc took some times to die
Crash report begins. Anonymous machine information:

amd64
12.0-RELEASE-p10
FreeBSD 12.0-RELEASE-p10 ce9563d5729(RELENG_2_5) pfSense

Crash report details:

PHP Errors:
[08-Mar-2020 00:00:20 Europe/Rome] PHP Warning: fsockopen(): unable to connect to 127.0.0.1:13666 (Operation timed out) in /usr/local/pkg/lcdproc_client.php on line 1257
[08-Mar-2020 00:00:20 Europe/Rome] PHP Warning: stream_set_timeout() expects parameter 1 to be resource, bool given in /usr/local/pkg/lcdproc_client.php on line

Actions #3

Updated by Manuel Piovan about 4 years ago

the first crash seem to be related to the last option undere screen, Addresses by traffic
i add this information: WAN was selected as per default, my WAN connection is pppoe
if i disable that option, i need to stop the service and start again (restart is not enought) and the problem disappear

Actions #4

Updated by Manuel Piovan about 4 years ago

for($i = 0; $i < ($lcdpanel_height - 1) && i < count($traffic); $i++) {

$ missing on i

PR https://github.com/pfsense/FreeBSD-ports/pull/793

Actions #5

Updated by Jim Pingle about 4 years ago

  • Status changed from New to Pull Request Review
Actions #6

Updated by Renato Botelho about 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #7

Updated by Renato Botelho about 4 years ago

  • Affected Version changed from 2.5.x to All
Actions #8

Updated by Steve Wheeler about 4 years ago

  • Status changed from Feedback to Resolved

Looks good. Enabling the 'Addresses by traffic' screen shows the correct data and no longer throws a php error.

Tested: lcdproc 0.10.6_9, pfSense 2.4.5-rel

Actions

Also available in: Atom PDF