ID: 25223
Updated by: [EMAIL PROTECTED]
-Summary: ZE2 Crashes in non-debug mode
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Zend Engine 2 problem
-Operating System: Redhat 8
+Operating System: Redhat 8, Win98
PHP Version: 5CVS-2003-08-24 (dev)
New Comment:
Even a little thing like 'php -v' crashes the Release_TS cli version in
PHP5 here (although the command is executed first)..
(on win98)
Previous Comments:
------------------------------------------------------------------------
[2003-08-24 12:00:02] [EMAIL PROTECTED]
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 this bug report at http://bugs.php.net/?id=25223&edit=1