From: bwrgiants at hotmail dot com
Operating system: Windows XP 2600
PHP version: 5.0.3
PHP Bug Type: Reproducible crash
Bug description: php5ts crash, PECL related
Description:
------------
This is when PHP 5.0.3 is installed on Tomcat 5.5.7 using PECL. After
clicking through a webpage it appears as though
php5ts.dll crashes the Tomcat server.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0583eced, pid=832,
tid=3472
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode, sharing)
# Problematic frame:
# C [php5ts.dll+0x3eced]
#
--------------- T H R E A D ---------------
Current thread (0x032b1438): JavaThread "http-8080-Processor25" daemon
[_thread_in_native, id=3472]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000016
Registers:
EAX=0x035c5668, EBX=0x00000002, ECX=0x00000002, EDX=0x00000007
ESP=0x051fef64, EBP=0x77c2c21b, ESI=0x05c1c6c8, EDI=0x035c5668
EIP=0x0583eced, EFLAGS=0x00010297
Top of Stack: (sp=0x051fef64)
0x051fef64: 05c1c6c8 051ff120 032b3998 0585fe90
0x051fef74: 00000002 05c1c6fc 0583b7dd 05c1c6c8
0x051fef84: 05c1c6f0 0583ee74 05c1c6fc 051ff118
0x051fef94: 035c5668 051ff120 032b3998 0583ef43
0x051fefa4: 035c5668 05c1c6f0 035c56f8 0583b039
0x051fefb4: 035c5668 035c57f4 032b3998 05b48660
0x051fefc4: 0583b5f0 032b3998 035c56f8 051ff1f8
0x051fefd4: 032b3998 032b1438 032b1438 00000006
Instructions: (pc=0x0583eced)
0x0583ecdd: 90 90 90 53 8b 5c 24 08 55 8b 2d 18 a2 9f 05 56
0x0583eced: 8b 73 14 85 f6 74 51 57 8b 43 20 8b fe 8b 76 10
Stack: [0x05100000,0x05200000), sp=0x051fef64, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C [php5ts.dll+0x3eced]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j
net.php.servlet.send(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Z)V+0
j
net.php.servlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V+52
j
net.php.servlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+24
j
javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+354
j
org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j
org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+667
j
org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+285
j
org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
j
org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
j
org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
j
org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+141
j
org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+424
j
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113
j
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
j
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102
j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x032d8738 JavaThread "TP-Monitor" daemon [_thread_blocked, id=3504]
0x032d3828 JavaThread "TP-Processor4" daemon [_thread_in_native,
id=3500]
0x032d2e18 JavaThread "TP-Processor3" daemon [_thread_blocked, id=3496]
0x032d4248 JavaThread "TP-Processor2" daemon [_thread_blocked, id=3492]
0x032daab0 JavaThread "TP-Processor1" daemon [_thread_blocked, id=3488]
0x032b1f10 JavaThread "http-8080-Monitor" [_thread_blocked, id=3476]
=>0x032b1438 JavaThread "http-8080-Processor25" daemon [_thread_in_native,
id=3472]
0x032b00c0 JavaThread "http-8080-Processor24" daemon [_thread_in_native,
id=3468]
0x032af558 JavaThread "http-8080-Processor23" daemon [_thread_blocked,
id=3464]
0x032ae9f0 JavaThread "http-8080-Processor22" daemon [_thread_blocked,
id=3460]
0x032ade88 JavaThread "http-8080-Processor21" daemon [_thread_blocked,
id=3456]
0x032ad320 JavaThread "http-8080-Processor20" daemon [_thread_blocked,
id=3452]
0x032ac848 JavaThread "http-8080-Processor19" daemon [_thread_blocked,
id=3448]
0x032ab4d0 JavaThread "http-8080-Processor18" daemon [_thread_blocked,
id=3444]
0x032aa968 JavaThread "http-8080-Processor17" daemon [_thread_blocked,
id=3440]
0x032a9e30 JavaThread "http-8080-Processor16" daemon [_thread_blocked,
id=3436]
0x032a92f8 JavaThread "http-8080-Processor15" daemon [_thread_blocked,
id=3432]
0x032a87c0 JavaThread "http-8080-Processor14" daemon [_thread_blocked,
id=3428]
0x032a7d18 JavaThread "http-8080-Processor13" daemon [_thread_blocked,
id=3424]
0x032a69d0 JavaThread "http-8080-Processor12" daemon [_thread_blocked,
id=3420]
0x032a5e98 JavaThread "http-8080-Processor11" daemon [_thread_blocked,
id=3416]
0x032a5390 JavaThread "http-8080-Processor10" daemon [_thread_blocked,
id=3412]
0x032a48e8 JavaThread "http-8080-Processor9" daemon [_thread_blocked,
id=3408]
0x032a3e40 JavaThread "http-8080-Processor8" daemon [_thread_blocked,
id=3404]
0x032a3448 JavaThread "http-8080-Processor7" daemon [_thread_blocked,
id=3400]
0x032a23f8 JavaThread "http-8080-Processor6" daemon [_thread_blocked,
id=3396]
0x0325e300 JavaThread "http-8080-Processor5" daemon [_thread_blocked,
id=3392]
0x0325d898 JavaThread "http-8080-Processor4" daemon [_thread_blocked,
id=3388]
0x0325ce88 JavaThread "http-8080-Processor3" daemon [_thread_blocked,
id=3384]
0x032a18d0 JavaThread "http-8080-Processor2" daemon [_thread_blocked,
id=3380]
0x032a1750 JavaThread "http-8080-Processor1" daemon [_thread_blocked,
id=3376]
0x032a05c8 JavaThread
"ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon
[_thread_blocked, id=3372]
0x009fe058 JavaThread "Thread-1" [_thread_in_native, id=2592]
0x009ab148 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=2584]
0x009a9ef0 JavaThread "CompilerThread0" daemon [_thread_blocked,
id=2580]
0x009a6f70 JavaThread "Finalizer" daemon [_thread_blocked, id=2576]
0x009a6aa0 JavaThread "Reference Handler" daemon [_thread_blocked,
id=2572]
0x005c5a40 JavaThread "main" [_thread_in_native, id=1720]
Other Threads:
0x009a4e70 VMThread [id=2568]
0x009ac360 WatcherThread [id=2588]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 59K [0x22a70000, 0x22b10000,
0x22f50000)
eden space 512K, 2% used [0x22a70000, 0x22a73540, 0x22af0000)
from space 64K, 71% used [0x22af0000, 0x22afb718, 0x22b00000)
to space 64K, 0% used [0x22b00000, 0x22b00000, 0x22b10000)
tenured generation total 5724K, used 3505K [0x22f50000, 0x234e7000,
0x26a70000)
the space 5724K, 61% used [0x22f50000, 0x232bc470, 0x232bc600,
0x234e7000)
compacting perm gen total 8192K, used 4425K [0x26a70000, 0x27270000,
0x2aa70000)
the space 8192K, 54% used [0x26a70000, 0x26ec2410, 0x26ec2600,
0x27270000)
ro space 8192K, 62% used [0x2aa70000, 0x2af77d30, 0x2af77e00,
0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b7fc8a0, 0x2b7fca00,
0x2be70000)
Dynamic libraries:
0x00400000 - 0x0041b000 C:\Program Files\Apache Software
Foundation\Tomcat 5.5\bin\tomcat5.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x7c9c0000 - 0x7d1d4000 C:\WINDOWS\system32\SHELL32.dll
0x773d0000 - 0x774d2000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\comctl32.dll
0x6d640000 - 0x6d7c5000 C:\Program
Files\Java\jre1.5.0_01\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6bd00000 - 0x6bd0d000 C:\WINDOWS\system32\SYNCOR11.DLL
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_01\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_01\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_01\bin\java.dll
0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_01\bin\zip.dll
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_01\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x10000000 - 0x10008000 C:\PHP\php5servlet.dll
0x05800000 - 0x05b63000 C:\PHP\php5ts.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x74320000 - 0x7435d000 C:\WINDOWS\system32\ODBC32.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x20000000 - 0x20017000 C:\WINDOWS\system32\odbcint.dll
VM Arguments:
jvm_args: -Dcatalina.home=C:\Program Files\Apache Software
Foundation\Tomcat 5.5 -Djava.endorsed.dirs=C:\Program Files\Apache
Software Foundation\Tomcat 5.5\common\endorsed -Djava.io.tmpdir=C:\Program
Files\Apache Software Foundation\Tomcat 5.5\temp -Xrs vfprintf
java_command: <unknown>
Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Ulead Systems\MPEG;C:\PHP;
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse
Memory: 4k page, physical 523800k(232692k free), swap 1278472k(1043052k
free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_01-b08) for windows-x86, built
on Dec 6 2004 19:51:00 by "java_re" with MS VC++ 6.0
Reproduce code:
---------------
none required. this problem is from the 5.0.3 installation
Expected result:
----------------
Tomcat server crashes due to php5ts.dll error and requires a restart
--
Edit bug report at http://bugs.php.net/?id=32206&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32206&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=32206&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=32206&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32206&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32206&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32206&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32206&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32206&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32206&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32206&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=32206&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=32206&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32206&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32206&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32206&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32206&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32206&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32206&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32206&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32206&r=mysqlcfg