Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Call to JNI_CreateJavaVM causing crash is Win98

843829Jan 8 2004 — edited Nov 8 2004
We've had this problem for a little while and I'm absolutely stumped. Here's the scenario. We're built a library that uses JNI from our MFC desktop applications to call JFOR XSL-FO classes. On the first call to any of the methods in the library the JVM.dll is loaded, the proc address for JNI_CreateJavaVM is retrieved . Then the JNI_CreateJavaVM pointer is called to get the JVM and environment pointers but a crash occurs within this call on Windows 98 systems. All other Windows operating systems work fine except Windows 95 which I haven't tried because we don't support it at our company.

The error is "Float Invalid Operation" Has anyone else seen this before? The interesting part is simple application generated with the DevStudio wizard does not get this crash.

My working theory is that the JVM.dll is loaded into corrupted memory and the crash is the victim. There are two problems with this theory though. BoundsChecker does not report any memory errors and the crash is always the same. I've tried loading a bunch of other apps to use more memory to see the problem moved. Nope.

Thanks
James
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2004
Added on Jan 8 2004
4 comments
312 views