#27342 [Opn]: zend_fetch_debug_backtrace segfault

From: Date: Thu, 26 Feb 2004 15:46:26 +0000
Subject: #27342 [Opn]: zend_fetch_debug_backtrace segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-55610@lists.php.net to get a copy of this message
ID: 27342 Updated by: nlopess@php.net Reported By: nlopess@php.net Status: Open Bug Type: Zend Engine 2 problem Operating System: win32 only PHP Version: 5CVS-2004-02-23 (dev) New Comment: This code also segfaults: <?php $tidy = tidy_parse_file('bogus.htm'); ?> where bogus.htm file doesn't exist Previous Comments: ------------------------------------------------------------------------ [2004-02-24 13:01:40] nlopess@php.net I've compiled with Cygwin/gcc. Maybe the problem is in the microsoft VC compiler... ------------------------------------------------------------------------ [2004-02-24 12:05:05] sniper@php.net well..then there's surely something wrong with the snaps since those won't work but self-compiled one works? :) ------------------------------------------------------------------------ [2004-02-24 10:00:01] edink@php.net Just FYI, snaps box is not for debug purposes. Its "if we were releasing PHP today you would get this". ------------------------------------------------------------------------ [2004-02-24 06:36:45] nlopess@php.net I've compiled PHP my self in cygwin (instead of using a snapshot from snaps.php.net) It just outputs: $ gdb php-debug (..) (gdb) run bug.php Starting program: /home/Nuno/php5/sapi/cli/php-debug.exe bug.php Fatal error: Uncaught exception 'tidy_exception' with message 'Unknown Tidy Conf iguration Option 'foo'' in /home/Nuno/php5/sapi/cli/bug.php:6 Stack trace: #0 {main} thrown in /home/Nuno/php5/sapi/cli/bug.php on line 6 Program exited with code 0377. (gdb) bt No stack. I think this doesn't help much, but I think snaps.php.net should distribute binaries with DEBUG symbols (as it is for debugging purposes). It seems it only segfaults with the binary from snaps.php.net. If you send me a snapshot with DEBUG symbols built in that machine, I may test it. ------------------------------------------------------------------------ [2004-02-23 13:20:09] sniper@php.net You need to get better backtrace. (dunno how you enable debug symbols in there) Tidy throws an exception with your code, and seems like that somehow crashes on windows. Maybe ZTS related..dunno. ------------------------------------------------------------------------ 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/27342 -- Edit this bug report at http://bugs.php.net/?id=27342&edit=1

« previous php.bugs (#55610) next »