#32183 [NEW]: PHP Seg faults on normal code
| From: | zedar at zedar dot org | Date: | Fri, 04 Mar 2005 07:24:55 +0000 |
| Subject: | #32183 [NEW]: PHP Seg faults on normal code | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-74811@lists.php.net to get a copy of this message | ||
From: zedar at zedar dot org
Operating system: Linux 2.4.26
PHP version: 5.0.3
PHP Bug Type: Reproducible crash
Bug description: PHP Seg faults on normal code
Description:
------------
PHP segmentation faults on lines of unremarkable code (or
in some cases, not code at all). The code causing the
crashes is part of a large management system so i can't
really provide a sample of what causes the crash, but I'm
not sure it would help anyway. A couple of sample lines it
has crashed on are shown below, but I'm not sure they
caused the crash or if it was something else internal.
It has also on occasion crashed while on non-php code, in
the one case i saw it was a html comment. If i removed the
comment, the page loaded fine.
Reproduce code:
---------------
// Crashes on this line
$selected = ($status==$s)?'selected':'';
Actual result:
--------------
From apache error log:
[Fri Mar 4 16:49:54 2005] [error] PHP Warning: Unknown
list entry type in request shutdown (1919251285) in
Unknown on line 0
[Fri Mar 4 16:49:55 2005] [notice] child pid 23476 exit
signal Segmentation fault (11)
--
Edit bug report at http://bugs.php.net/?id=32183&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32183&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32183&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32183&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32183&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32183&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32183&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32183&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32183&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32183&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32183&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32183&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32183&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32183&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32183&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32183&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32183&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32183&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32183&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32183&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32183&r=mysqlcfg