ID: 17414
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache2 related
Operating System: Linux
-PHP Version: HEAD
+PHP Version: 4.3.0-dev
Assigned To: aaron
New Comment:
correct version.
Previous Comments:
------------------------------------------------------------------------
[2002-10-14 07:03:07] [EMAIL PROTECTED]
(This still occurs with HEAD now, with an identical backtrace)
------------------------------------------------------------------------
[2002-10-14 06:59:46] [EMAIL PROTECTED]
It doesn't appear to be a dup of 19639; the backtrace is pretty
different to my untrained eye.
------------------------------------------------------------------------
[2002-10-10 10:38:51] [EMAIL PROTECTED]
Is this a dup of 19639 or are they different?
------------------------------------------------------------------------
[2002-10-10 09:06:08] [EMAIL PROTECTED]
Yes.
Here's the backtrace:
#0 0x4015e973 in free () from /lib/libc.so.6
#1 0x4015f081 in realloc () from /lib/libc.so.6
#2 0x4015ebe4 in realloc () from /lib/libc.so.6
#3 0x402fcf77 in ts_allocate_id (rsrc_id=0x403c372c, size=88,
ctor=0x4030fae0 <php_output_init_globals>, dtor=0)
at /home/thom/php4/TSRM/TSRM.c:206
#4 0x4030fb69 in php_output_startup () at
/home/thom/php4/main/output.c:73
#5 0x40300698 in php_module_startup (sf=0x403b0b00,
additional_modules=0x403b0cc0, num_additional_modules=1)
at /home/thom/php4/main/main.c:1017
#6 0x4034eafe in php_apache2_startup (sapi_module=0x403b0b00)
at /home/thom/php4/sapi/apache2filter/sapi_apache2.c:267
#7 0x4034f25d in php_apache_server_startup (pconf=0x80b5cb0,
plog=0x80edd90,
ptemp=0x80b7cb8, s=0x80f4648)
at /home/thom/php4/sapi/apache2filter/sapi_apache2.c:543
#8 0x0807c371 in ap_run_post_config (pconf=0x80b5cb0, plog=0x80edd90,
ptemp=0x80b7cb8, s=0x80f4648) at config.c:130
#9 0x08080afc in main (argc=3, argv=0xbffff914) at main.c:640
(gdb) frame 0
#0 0x4015e973 in free () from /lib/libc.so.6
(gdb) frame 1
#1 0x4015f081 in realloc () from /lib/libc.so.6
(gdb) frame 2
#2 0x4015ebe4 in realloc () from /lib/libc.so.6
(gdb) frame 3
#3 0x402fcf77 in ts_allocate_id (rsrc_id=0x403c372c, size=88,
ctor=0x4030fae0 <php_output_init_globals>, dtor=0)
at /home/thom/php4/TSRM/TSRM.c:206
206 resource_types_table = (tsrm_resource_type *)
realloc(resource_types_table, sizeof(tsrm_resource_type)*id_count);
(gdb) frame 4
#4 0x4030fb69 in php_output_startup () at
/home/thom/php4/main/output.c:73
73 ts_allocate_id(&output_globals_id,
sizeof(php_output_globals), (ts_allocate_ctor) php_output_init_globals,
NULL);
------------------------------------------------------------------------
[2002-10-10 08:56:02] [EMAIL PROTECTED]
Does the crash occur if you limit the PHP configure line to:
./configure --with-apxs2=/usr/local/apache2-php/bin/apxs --enable-debug
------------------------------------------------------------------------
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/17414
--
Edit this bug report at http://bugs.php.net/?id=17414&edit=1