#25223 [Opn->Fbk]: ZE2 Crashes in non-debug mode (CLI only)
| From: | sniper@php.net | Date: | Mon, 25 Aug 2003 04:23:45 +0000 |
| Subject: | #25223 [Opn->Fbk]: ZE2 Crashes in non-debug mode (CLI only) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46567@lists.php.net to get a copy of this message | ||
ID: 25223
Updated by: sniper@php.net
Reported By: john@php.net
-Status: Open
+Status: Feedback
Bug Type: Zend Engine 2 problem
Operating System: Redhat 8
-PHP Version: 5CVS-2003-08-24 (dev)
+PHP Version: 5CVS-2003-08-25 (dev)
New Comment:
Using latest CVS, I can _not_ reproduce this crash.
Get a clean checkout, or preferrably the latest snapshot..
Previous Comments:
------------------------------------------------------------------------
[2003-08-24 15:46:28] sfox@php.net
Remove win98 from the equation. Updating libxml2.lib to the latest
version (2.5.10.win32) gets rid of the problem here. (Weird, John only
reported this because he could replicate it on redhat ! :)
------------------------------------------------------------------------
[2003-08-24 12:04:51] sfox@php.net
Even a little thing like 'php -v' crashes the Release_TS cli version in
PHP5 here (although the command is executed first)..
(on win98)
------------------------------------------------------------------------
[2003-08-24 12:00:02] john@php.net
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