php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44447 Crash from jvm 1.6.0_05
Submitted: 2008-03-16 16:05 UTC Modified: 2008-03-17 01:05 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: emmanuel dot de-peretti at cinqas dot fr Assigned:
Status: Not a bug Package: Java related
PHP Version: 5.2.5 OS: Microsoft Windows XP [version 5.
Private report: No CVE-ID: None
 [2008-03-16 16:05 UTC] emmanuel dot de-peretti at cinqas dot fr
Description:
------------
After install the last version of TOMCAT (5.016) and the last version of php (5.2.5) and last version of Jdk (1.6.0_05) and only make a php program to activate a java class, the system crash the jvm and then, stop tomcat. 

Reproduce code:
---------------
<?php
  session_start();
  phpinfo();
  // get instance of Java class java.lang.System in PHP

  //java_set_file_encoding("ISO-8859-1"); 

  $basedir = new Java("java.io.File", ".");

?>

Expected result:
----------------
And it the console of eclipse i have this result : 
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d951c6b, pid=5124, tid=6012
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode windows-x86)
# Problematic frame:
# V  [jvm.dll+0xe1c6b]
#
# An error report file with more information is saved as:
# C:\Program Files\Apache Software Foundation\Tomcat 6.0\hs_err_pid5124.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#


And in the web page, i have no result, and the tomcat server will be done a the end



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-17 01:05 UTC] jani@php.net
Note: This extension is unmaintained and will not (ever) work properly.
Also, it's a PECL extension so this is the wrong place to report bugs in it. Try http://pecl.php.net instead.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 16:03:35 2021 UTC