EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Java: mountPoint under SpringTest framework == crash JVM

Posted: 04/17/2012 11:30:26
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Hi, I've started to move my system under Spring Framework and tests also, so, I've added Spring Test Runner as annotation and try to run test ... result is JMV is crashed

Execution protection violation
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=5336, tid=5052
# JRE version: 7.0_03-b05
# Java VM: Java HotSpot™ Client VM (22.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C 0x00000000
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
# An error report file with more information is saved as:
# testJVMCrashed\hs_err_pid5336.log
# If you would like to submit a bug report, please visit:
# http:/bugreport.sun.com/ugreport/rash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

Crashed file is attached, Do you have some problems like this ?

[ Download ]
Posted: 04/17/2012 12:22:47
by Eugene Mayevski (Team)

I don't think we can do anything about AV in Java runtime so you better contact Oracle with this. Maybe they are interested in locating it. Even if there's some bug in our JNI code, catching an AV in Java is beyond our capabilities anyway.

Sincerely yours
Eugene Mayevski
Posted: 04/19/2012 08:47:36
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Hi, I've found solution to this problem and want to provide you for future , so, The JVM will be crashed if Handler does not implement, attention! interface
, I understand that is mandatory interface, but WHY is the behavior like this(crash JVM) I do not understand. I've retested this situation on your example (VDisk) behavior the same, please fix it or provide some information(more information it's desirable runtime information) about what kind of interfaces have to be implemented because JVM can be crashed.
Posted: 04/20/2012 02:15:20
by  shevchenko

Thank you for founded issue !

It was fixed and will be available soon in next release.

Best regards,
Posted: 04/20/2012 05:11:57
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Hi, Thanks for quick response, after found below issue I've started to investigate your API and found one more issue when JVM is crashed.
Just a one:

reg key the same


I think better behavior will be just a throw some error/exception with message, like
Mounting point cannot be null
, or something like this.



Topic viewed 1711 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!