#26598 [Ver->Fbk]: Segmentation fault
| From: | helly@php.net | Date: | Sat, 27 Dec 2003 23:07:17 +0000 |
| Subject: | #26598 [Ver->Fbk]: Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52532@lists.php.net to get a copy of this message | ||
ID: 26598
Updated by: helly@php.net
Reported By: robert at interjinn dot com
-Status: Verified
+Status: Feedback
Bug Type: Zend Engine 2 problem
Operating System: *
PHP Version: 5CVS-2003-12-15
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-12-16 05:05:58] robert at interjinn dot com
Hmmm, that's interesting. How does include() work? I always thought of
it as an evaluation outside of the working scope. I checked the gdb
backtrace for the code sample in bug #26065 and it segfaults on the
same code, but at different points in the source, namely:
if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE)
Cheers,
Rob.
------------------------------------------------------------------------
[2003-12-16 02:57:21] sniper@php.net
btw. bug #26065 looks quite similar to this.
------------------------------------------------------------------------
[2003-12-16 02:52:48] sniper@php.net
http://www.interjinn.com/download/interJinn-0.9.1-php5mods-3.tar.gz
------------------------------------------------------------------------
[2003-12-15 17:33:49] sniper@php.net
Start by removing all the unnecessary lines from the first file, all
unnecessary include()'s etc. Then remove all the includes, ie. put the
stuff in one file. But only those parts of the code that are necessary
for the reduced first file..
Just remove stuff line by line, run the code and if it still crashes,
continue nuking the code until it doesn't crash. :)
------------------------------------------------------------------------
[2003-12-15 15:03:09] robert at interjinn dot com
As stated previously I was unable to come up with a short script that
can reproduce the bug. I attached a link to a big script in my last
response. I apologize if this is not suitable but I don't see another
alternative.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26598
--
Edit this bug report at http://bugs.php.net/?id=26598&edit=1