EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Java: mountPoint under SpringTest framework == crash JVM

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#19820
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 ?
Thanks.


[ Download ]
#19821
Posted: 04/17/2012 12:22:47
by Eugene Mayevski (EldoS Corp.)

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
#19852
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
Code
ICbFsStorageEvents
, 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.
Thanks.
#19872
Posted: 04/20/2012 02:15:20
by  shevchenko
Hi,

Thank you for founded issue !

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

Best regards,
Taras.
#19881
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.
Steps,
Just a one:
Code
callbackFileSystem.addMountingPoint(null)
;

reg key the same

Code
  callbackFileSystem.setRegistrationKey(null);

I think better behavior will be just a throw some error/exception with message, like
Code
Mounting point cannot be null
, or something like this.
Thanks.
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 1483 times

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




|

Back to top

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

Got it!