Bug #14153 Updated: Servlet sapi native code problems

From: Date: Sat, 30 Mar 2002 06:02:26 +0000
Subject: Bug #14153 Updated: Servlet sapi native code problems
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3645@lists.php.net to get a copy of this message
ID: 14153 Updated by: rodgerballard@qwest.net Reported By: mark@tapinternet.com Status: No Feedback Bug Type: Java related Operating System: linux (mdk-8.0) PHP Version: 4.0CVS-2001-11-2 New Comment: Tried with Java 2 Runtime 1.2. Here is what happens: The first time it was launched, it ran on the first request ok. The second request got a: ---- javaw.exe - Application Error The instruction at "0x09f189ea" referenced memory at 0x00080110". The memory could not be "read". Click on OK to terminate the program Click on CANCEL to debug the program [OK] [Cancel] ---- In the default-event.log I see two entries like this: ---- 03/29 21:52:16 error (jcp) Connection reset by peer: JVM_recv in socket input stream read [java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read] java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at allaire.jrun.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java, Compiled Code) at allaire.jrun.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java:308) at allaire.jrun.jrpp.ProxyEndpoint.readInt(ProxyEndpoint.java:326) at allaire.jrun.jrpp.ProxyEndpoint.readRequest(ProxyEndpoint.java, Compiled Code) at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java:48) at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled Code) at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code) ---- So I try a third request, and get: Could not connect to JRun Server At the very bottom of the default-event.log, the last item to load is: 03/29 21:54:14 info (JRun) php: init Nothing after that, so it basically up and died on the php init. The JRun service in service manager is fully stopped. Previous Comments: ------------------------------------------------------------------------ [2002-03-25 00:00:03] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-02-24 06:15:14] yohgaki@php.net Please test with PHP 4.1.1+JDK 1.2 and report the result back Please do not forget updating PHP version. Thanks. ------------------------------------------------------------------------ [2001-11-20 17:43:50] mark@tapinternet.com php configured --with-servlet and --with-java does not function acceptably. Running on tomcat4 with Sun's jdk1.3 the php server is stable for maybe 2-3 request before crashing. The last line of the tomcat log looks something like this. # # An unexpected exception has been detected in native code outside the VM.# Program counter=0x8494c40 # # Problematic Thread: prio=1 tid=0x80b93b0 nid=0x4b7a runnable # This was built today from cvs. What little of the phpinfo() output that I can see before it crashes says php-4.2.0-dev. The hits do not have to be in rapid succession. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14153&edit=1

« previous php.bugs (#3645) next »