#34883 [Opn->Fbk]: crash when accessing superglobals
| From: | tony2001@php.net | Date: | Tue, 18 Oct 2005 12:42:42 +0000 |
| Subject: | #34883 [Opn->Fbk]: crash when accessing superglobals | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86696@lists.php.net to get a copy of this message | ||
ID: 34883
Updated by: tony2001@php.net
Reported By: sveta at microbecal dot com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Windows XP SP1
PHP Version: 5CVS-2005-10-16 (snap)
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
Please try next Win32 snapshot.
Previous Comments:
------------------------------------------------------------------------
[2005-10-18 13:20:49] sveta at microbecal dot com
I can reproduce crash with php.ini-recommended. But I can not reproduce
backtrace "that starts somewhere in PHP".
------------------------------------------------------------------------
[2005-10-18 13:07:25] tony2001@php.net
Are you able to reproduce it without php_mime_magic.dll loaded ?
------------------------------------------------------------------------
[2005-10-18 12:45:13] sveta at microbecal dot com
PHP Version 5.1.0RC4-dev
Build Date Oct 18 2005 04:22:53
Sorry, not clean php.ini
To recreate somitimes I am reloading page 2-3 times after server
restarting.
(gdb) run -X
Starting program: /cygdrive/d/Program Files/Apache
Group/Apache2/bin/Apache.exe
-X
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 2088.0x924]
0x00b7d22f in php_info_print_hr ()
(gdb) bt
#0 0x00b7d22f in php_info_print_hr ()
#1 0x01fa9e90 in ?? ()
#2 0x05e7f8dc in ?? ()
#3 0x01a31107 in php_mime_magic!get_module ()
from /cygdrive/d/Program Files/PHP4/ext/php_mime_magic.dll
#4 0x00000002 in ?? ()
#5 0x01a34338 in php_mime_magic!get_module ()
#6 0xbaadf00d in ?? ()
#7 0x00b7cb3e in php_output_startup ()
#8 0x0208b590 in ?? ()
#9 0x01fa9e90 in ?? ()
#10 0x0208b548 in ?? ()
#11 0x00aa9c45 in zend_hash_apply_with_argument ()
from /cygdrive/d/Program Files/PHP4/php5ts.dll
#12 0x05e7f974 in ?? ()
#13 0x01fa9e90 in ?? ()
#14 0x01fa9e90 in ?? ()
#15 0x000000ff in ?? ()
#16 0x0634ad00 in ?? ()
#17 0x00c8c49f in php5ts!lex_scan ()
#18 0x05e7f9a0 in ?? ()
#19 0x00b7cb00 in php_output_startup ()
#20 0x05e7f974 in ?? ()
#21 0x01fa9e90 in ?? ()
---Type <return> to continue, or q <return> to quit---
#22 0x00000000 in ?? () from
------------------------------------------------------------------------
[2005-10-18 12:18:27] tony2001@php.net
Works fine with Apache2 on linux.
Any chance to get the real backtrace (that starts somewhere in PHP)?
------------------------------------------------------------------------
[2005-10-16 13:30:44] sveta at microbecal dot com
Description:
------------
Apache 2 craches when I navigate to the page containing request to
superglobals
Reproduce code:
---------------
<?php phpinfo(); ?>
Expected result:
----------------
Correct work
Actual result:
--------------
Page with info information and next backtrace:
(gdb) run -X
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /cygdrive/d/Program Files/Apache
Group/Apache2/bin/Apache.exe
-X
---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 2276.0xee0]
0x7801b674 in TowerExplode () from
/cygdrive/c/WINDOWS/system32/rpcrt4.dll
(gdb) bt
#0 0x7801b674 in TowerExplode () from
/cygdrive/c/WINDOWS/system32/rpcrt4.dll
#1 0x77dd8de5 in ElfNumberOfRecords ()
from /cygdrive/c/WINDOWS/system32/advapi32.dll
#2 0x77ded830 in CredWriteA () from
/cygdrive/c/WINDOWS/system32/advapi32.dll
#3 0x77dd8d9b in DestroyPrivateObjectSecurity ()
from /cygdrive/c/WINDOWS/system32/advapi32.dll
#4 0x00000000 in ?? () from
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x7801b674 in TowerExplode () from
/cygdrive/c/WINDOWS/system32/rpcrt4.dll
(gdb) bt
#0 0x7801b674 in TowerExplode () from
/cygdrive/c/WINDOWS/system32/rpcrt4.dll
#1 0x77dd8de5 in ElfNumberOfRecords ()
from /cygdrive/c/WINDOWS/system32/advapi32.dll
#2 0x77ded830 in CredWriteA () from
/cygdrive/c/WINDOWS/system32/advapi32.dll
#3 0x77dd8d9b in DestroyPrivateObjectSecurity ()
from /cygdrive/c/WINDOWS/system32/advapi32.dll
#4 0x00000000 in ?? () from
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 2276.0xa18]
0x7801b674 in TowerExplode () from
/cygdrive/c/WINDOWS/system32/rpcrt4.dll
(gdb) bt
#0 0x7801b674 in TowerExplode () from
/cygdrive/c/WINDOWS/system32/rpcrt4.dll
#1 0x77dd8de5 in ElfNumberOfRecords ()
from /cygdrive/c/WINDOWS/system32/advapi32.dll
#2 0x77ded830 in CredWriteA () from
/cygdrive/c/WINDOWS/system32/advapi32.dll
#3 0x77dd8d9b in DestroyPrivateObjectSecurity ()
from /cygdrive/c/WINDOWS/system32/advapi32.dll
#4 0x00000000 in ?? () from
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 2276.0xee0]
0x10003383 in TurnOnPreHandle ()
(gdb) bt
#0 0x10003383 in TurnOnPreHandle ()
#1 0x00000005 in ?? ()
#2 0x010631b4 in ?? ()
#3 0x011c2ad8 in ?? ()
#4 0xbaadf00d in ?? ()
#5 0xbaadf00d in ?? ()
#6 0xbaadf00d in ?? ()
#7 0xbaadf00d in ?? ()
#8 0xbaadf00d in ?? ()
#9 0xbaadf00d in ?? ()
#10 0xbaadf00d in ?? ()
#11 0xbaadf00d in ?? ()
#12 0xbaadf00d in ?? ()
#13 0xbaadf00d in ?? ()
#14 0xbaadf00d in ?? ()
#15 0xbaadf00d in ?? ()
#16 0xbaadf00d in ?? ()
#17 0xbaadf00d in ?? ()
#18 0xbaadf00d in ?? ()
#19 0xbaadf00d in ?? ()
#20 0x011bc248 in ?? ()
#21 0x6eed0cbf in libapr!_apr_array_pop@4 ()
from /cygdrive/d/Program Files/Apache Group/Apache2/bin/libapr.dll
#22 0x011bc248 in ?? ()
#23 0x00000008 in ?? ()
#24 0x00000004 in ?? ()
#25 0x00000002 in ?? ()
#26 0x00000002 in ?? ()
#27 0x6eed0c8e in libapr!_apr_array_pop@4 ()
from /cygdrive/d/Program Files/Apache Group/Apache2/bin/libapr.dll
#28 0x009e36c8 in ?? ()
#29 0x011c2ad8 in ?? ()
#30 0x00000000 in ?? () from
(gdb)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34883&edit=1