|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14153 Servlet sapi native code problems
Submitted: 2001-11-20 17:43 UTC Modified: 2002-03-25 00:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: mark at tapinternet dot com Assigned:
Status: No Feedback Package: Java related
PHP Version: 4.0CVS-2001-11-2 OS: linux (mdk-8.0)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mark at tapinternet dot com
New email:
PHP Version: OS:


 [2001-11-20 17:43 UTC] mark at tapinternet dot 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-24 06:15 UTC]
Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.
 [2002-03-25 00:00 UTC] php-bugs at lists dot php dot 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-03-30 01:02 UTC] rodgerballard at qwest dot net
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 [ Connection reset by peer: JVM_recv in socket input stream read] Connection reset by peer: JVM_recv in socket input stream read
	at Method)
	at Source)
	at Source)
	at Source)
	at Source)
	at allaire.jrun.jrpp.ProxyEndpoint.readFully(, Compiled Code)
	at allaire.jrun.jrpp.ProxyEndpoint.readFully(
	at allaire.jrun.jrpp.ProxyEndpoint.readInt(
	at allaire.jrun.jrpp.ProxyEndpoint.readRequest(, Compiled Code)
	at allaire.jrun.jrpp.ProxyService.swapRunnable(
	at allaire.jrun.ThreadPool.swapRunnable(, Compiled Code)
	at, 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.
 [2012-02-20 18:18 UTC]
Automatic comment from SVN on behalf of adi
Log: Finished SPL Count translation to Polish.

Provided by anonymous #14153 ()
Edited by ADI
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 04:01:23 2020 UTC