php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8459 PHP's crash JVM after a few requests
Submitted: 2000-12-28 11:34 UTC Modified: 2002-02-02 06:40 UTC
Votes:6
Avg. Score:4.7 ± 0.7
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:1 (16.7%)
From: wstranathan at itdallas dot net Assigned:
Status: No Feedback Package: Java related
PHP Version: 4.0.4 OS: Windows NT 4.0 Workstation, SP6a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
13 - 7 = ?
Subscribe to this entry?

 
 [2000-12-28 11:34 UTC] wstranathan at itdallas dot net
With PHP 4.04 (servlet), Sun JDK 1.3, Apache Tomcat 3.2.1 Windows NT 4.0 SP6a.

After usually 3 or 4 PHP requests through the servlet enginer, JVM dies with an Access Violation.

#
# An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outsi
de the VM.
# Program counter=0x971b58d
#

The instruction at "0x0971b58d" referenced memory at "0x75716572". The memory could not be "read".

Unhandled exception in java.exe (PHP4TS.DLL): 0xC0000005: Access Violation.

(Assembler info can be provided if necessary.)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-28 12:04 UTC] wstranathan at itdallas dot net
This is reproducable with the IBM JDK 1.3
 [2000-12-28 13:38 UTC] akilov@php.net
Could this be related to the problem reported in bug 6616?
 [2000-12-28 13:45 UTC] wstranathan at itdallas dot net
Not apparently.  I can produce this behavior with a php as
simple as:

<?php
phpinfo();
?>

Or even a PHP that has no PHP syntax - just HTML.

Furthermore, this DOES happen on the very first request to a
particular page on occasion.

It appears that this can happen either before or after the
response is sent to the browser, but typically before.

 [2002-01-11 16:55 UTC] lobbin@php.net
Can you produce this error on 4.1.1?
 [2002-02-02 06:40 UTC] sander@php.net
No feedback was provided for this bug, so it is being suspended.
If you are able to provide the information that was requested,
please do so and change the status of the bug back to "Open".
 [2005-02-06 07:28 UTC] luke at foolishgames dot com
I am experiencing the same problem with PHP 4.3.10 and tomcat 5.5.4 running on FreeBSD 4.11 Release with the native 1.4.2 p7 jdk. 

phpinfo() will get tomcat to crash immediately. (signal 11)

Hitting random php pages on the server will cause a crash between 3-10 requests.  

Most of the time I see signal 11's in libphp4.so with function
zend_hash_index_update_or_next_insert+0x2C

last item on stack trace is net.php.reflect.setResultFromObject(native method)
at net.php.reflect.setResult(reflect.java:105)
...
 [2005-04-13 05:25 UTC] sae at inbox dot kz
Problem still appears in tomcat 5.0.16 + PHP 4.3.11

I was replace setResultFromObject(), bad hack, but site is working....
------------------
} else {
setResultFromString(result, value.toString().getBytes());
// setResultFromObject(result, value);
}
------ end ---------
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC