From: [EMAIL PROTECTED] Operating system: Redhat 8 PHP version: 5CVS-2003-08-24 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: ZE2 Crashes in non-debug mode
Description: ------------ ZE2 crashes from the latest HEAD when built in release (without --enable-debug) trying to initialize the memory manager: (gdb) r -v Starting program: /home/john/working/php-src/sapi/cli/php -v [New Thread 16384 (LWP 598)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 598)] 0x4207d297 in memset () from /lib/i686/libc.so.6 (gdb) bt #0 0x4207d297 in memset () from /lib/i686/libc.so.6 #1 0x081d8ec8 in ?? () #2 0x08166ac1 in zend_mm_startup (heap=0x81d8f50, block_size=262144) at /home/john/working/php-src/Zend/zend_mm.c:260 #3 0x08146a22 in start_memory_manager (tsrm_ls=0x81d5ff0) at /home/john/working/php-src/Zend/zend_alloc.c:459 #4 0x081234a1 in ts_allocate_id (rsrc_id=0x81d5548, size=0, ctor=0, dtor=0) at /home/john/working/php-src/TSRM/TSRM.c:235 #5 0x08157859 in zend_startup (utility_functions=0xbffff850, extensions=0x0, start_builtin_functions=1) at /home/john/working/php-src/Zend/zend.c:543 #6 0x081271b7 in php_module_startup (sf=0x81d26a0, additional_modules=0x0, num_additional_modules=0) at /home/john/working/php-src/main/main.c:1300 #7 0x08177dc3 in main (argc=2, argv=0xbffffa84) at /home/john/working/php-src/sapi/cli/php_cli.c:592 #8 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) My configure was simple: './configure' '--enable-maintainer-zts' '--disable-cgi' -- Edit bug report at http://bugs.php.net/?id=25223&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25223&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25223&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25223&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25223&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25223&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25223&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25223&r=support Expected behavior: http://bugs.php.net/fix.php?id=25223&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25223&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25223&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25223&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25223&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25223&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25223&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25223&r=gnused