Assembla home | Assembla project page
 

Ticket #58 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

Incorrect 'server' value causes infinite loop, leading to PHP fatal

Reported by: alexc_ Assigned to: tobias382
Priority: normal Component: core
Version: 1.5 Severity: normal
Keywords: infinite loop, fatal, server Cc:

Description

Setting an incorrect value for 'server' within the phergie.ini config file, such as 'chat.frenode.net' (note the missing 'e' in 'free'), causes an infinite loop in (what appears to be) the NickServ? Plugin, which leads to a fatal PHP error as it tries to open many many files.

Attached is the log file content (I have only shown a few of the looping messages at the top).

Info: /trunk r281 PHP 5.2.6 Debian Lenny

Attachments

phergie_debug.log (3.0 kB) - added by alexc_ on 08/22/08 13:02:58.
Streams.php.patch (0.5 kB) - added by tobias382 on 09/05/08 02:21:09.

Change History

08/22/08 13:02:58 changed by alexc_

  • attachment phergie_debug.log added.

09/05/08 02:21:09 changed by tobias382

  • attachment Streams.php.patch added.

09/05/08 02:25:05 changed by tobias382

Please apply the patch file I've attached and try again. With that, I get this log message in the console...

[21:24:01] Unable to connect to server: socket error 32767

... followed by the process terminating.

09/17/08 00:15:20 changed by tobias382

  • status changed from new to closed.
  • resolution set to fixed.

(In [285]) Fixes #58 Incorrect server specification in the configuration no longer causes an infinite loop


Add/Change #58 (Incorrect 'server' value causes infinite loop, leading to PHP fatal)




Action