#32183 [Opn->Fbk]: PHP Seg faults on normal code
| From: | tony2001@php.net | Date: | Fri, 04 Mar 2005 08:28:37 +0000 |
| Subject: | #32183 [Opn->Fbk]: PHP Seg faults on normal code | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74816@lists.php.net to get a copy of this message | ||
ID: 32183
Updated by: tony2001@php.net
Reported By: zedar at zedar dot org
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Linux 2.4.26
PHP Version: 5.0.3
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2005-03-04 08:24:54] zedar at zedar dot org
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 this bug report at http://bugs.php.net/?id=32183&edit=1