| Anonymous | Login | Signup for a new account | 21-11-09 09:30 GMT |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0008628 | [phplist] Batch Processing | crash | always | 25-11-06 09:47 | 18-02-08 14:06 | ||
| Reporter | idallen | View Status | public | ||||
| Assigned To | |||||||
| Priority | normal | Resolution | fixed | ||||
| Status | resolved | Product Version | 2.10.3 | ||||
| Summary | 0008628: php segmentation fault in Sql_Query on unset($GLOBALS['lastquery']); | ||||||
| Description |
Latest phplist causes php to segfault when running the batch queue via cron. Output from a cron job that runs index.php -pprocessqueue: eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. PHPlist version 2.10.3 (c) 2000-2006 Tincan Ltd, http://www.phplist.com [^] Started Sending in batches of 60 emails Script stage: 6 Finished, Nothing to do bin/idallen-phplist-crontab.sh: line 37: 23501 Segmentation fault /usr/local/bin/php public_html/mailing_list/admin/index.php -pprocessqueue I can't reproduce the output from the command line; it only dies when being run from the cron. This is the version of PHP running on this host (a cPanel webhost): $ /usr/local/bin/php -v PHP 4.3.11 (cli) (built: Sep 11 2005 10:10:12) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies This is the fix I made to phplist to work around the problem: $ diff mysql.inc.ORIG mysql.inc 92c92,95 < unset($GLOBALS['lastquery']); --- > # fix to avoid PHP seg fault Nov 2006 -IAN! idallen@idallen.ca > if( isset($GLOBALS['lastquery']) ) { > unset($GLOBALS['lastquery']); > } I know little about PHP to know why this is necessary. It just works. |
||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| Attached Files | |||||||
|
|
|||||||
Relationships |
||||||
|
||||||
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |