ID: 27608 Updated by: [EMAIL PROTECTED] Reported By: david dot danier at team23 dot de -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Gentoo Linux 1.4 PHP Version: 5CVS-2004-03-15 (dev) 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: ------------------------------------------------------------------------ [2004-03-17 14:06:13] david dot danier at team23 dot de Perhaps the Apache/MySQL-Version helps: apache-2.0.48-r1 mysql-4.0.18 (both gentoo ebuilds) ------------------------------------------------------------------------ [2004-03-17 13:58:00] david dot danier at team23 dot de Did a complete cleanup on PHP and installed the new Version: $ rm /usr/bin/php $ rm /usr/lib/apache2/libphp5.so $ rm -rf /usr/lib/php -> CVS checkout (deleted the sourcedir before) -> newly compiled with options like above ...same error :( 'php -v' says: PHP 5.0.0RC1-dev (cli) (built: Mar 17 2004 19:51:01) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0-dev, Copyright (c) 1998-2004 Zend Technologies Backtrace: (gdb) run segfault_mysql_free_result.php Starting program: /usr/bin/php segfault_mysql_free_result.php 1 GO 2 OK Program received signal SIGSEGV, Segmentation fault. 0x082817bc in _zval_ptr_dtor (zval_ptr=0xbfffd37c) at /home/goliath/downloads/php/php-src/Zend/zend_execute_API.c:385 385 (*zval_ptr)->refcount--; (gdb) bt #0 0x082817bc in _zval_ptr_dtor (zval_ptr=0xbfffd37c) at /home/goliath/downloads/php/php-src/Zend/zend_execute_API.c:385 #1 0x0828c438 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/goliath/downloads/php/php-src/Zend/zend.c:1084 #2 0x08252c3f in php_execute_script (primary_file=0xbffff6d0) at /home/goliath/downloads/php/php-src/main/main.c:1628 #3 0x082b75fc in main (argc=2, argv=0xbffff754) at /home/goliath/downloads/php/php-src/sapi/cli/php_cli.c:943 ------------------------------------------------------------------------ [2004-03-17 09:37:55] [EMAIL PROTECTED] I tried running the code again, but I only get "Fatal error: Exception thrown without a stack frame in Unknown on line 0" regardless of unset(). ------------------------------------------------------------------------ [2004-03-17 06:22:47] david dot danier at team23 dot de Got the same error with fresh compiled PHP from CVS. ----------------------- $ php -v PHP 5.0.0RC1-dev (cli) (built: Mar 17 2004 12:18:26) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0-dev, Copyright (c) 1998-2004 Zend Technologies $ php segfault_mysql_free_result.php 1 GO 2 OK Speicherzugriffsfehler ----------------------- (Speicherzugriffsfehler = Segfault) ------------------------------------------------------------------------ [2004-03-16 17:39:42] [EMAIL PROTECTED] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. No longer crashes with latest CVS. ------------------------------------------------------------------------ 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/27608 -- Edit this bug report at http://bugs.php.net/?id=27608&edit=1