Re: PHP 4.0 Bug #5828 Updated: PHP crashes with bad syntax in nested switch statements
| From: | Christopher W. Curtis | Date: | Sat, 29 Jul 2000 17:51:11 +0000 |
| Subject: | Re: PHP 4.0 Bug #5828 Updated: PHP crashes with bad syntax in nested switch statements | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-26850@lists.php.net to get a copy of this message | ||
Bug Database wrote:
>
> ID: 5828
> Updated by: stas
> Reported By: ccurtis@aet-usa.com
> Status: Feedback
> Bug Type: Reproduceable crash
> Assigned To:
> Comments:
>
> Could you please provide crash batcktrace (see
> http://bugs.php.net/bugs-generating-backtrace.php)?
>
> Full Bug description available at: http://bugs.php.net/?id=5828
I can't :(
Here is the error_log entry:
[Sat Jul 29 13:35:37 2000] [notice] child pid 25759 exit signal
Segmentation fault (11)
Trying to get a core file:
eclipse:/var/log/apache# ulimit -c unlimited
eclipse:/var/log/apache# /usr/sbin/apache -X
Segmentation fault
eclipse:/var/log/apache# ulimit -c
unlimited
eclipse:/var/log/apache# ls -l core
ls: core: No such file or directory
From within gdb:
eclipse:/var/log/apache# gdb /usr/sbin/apache
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/sbin/apache -X
(no debugging symbols found)...(no debugging symbols found)...
[...]
(no debugging symbols found)...Cannot access memory at address
0xa6e692d.
And the request does nothing. No crash, no output.
However, I can:
eclipse:/var/log/apache# sleep 400
Quit (core dumped)
Anyway, now I get a parse error, but it still crashes. PHP is compiled
as an apache module, not directly into the server. I assume this is the
difference, but I don't know how to proceed.
Christopher