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!

JNI EXCEPTION_GUARD_PAGE

843829Jul 17 2008 — edited Jul 21 2008
Hello everyone,
I've got something going quite wrong with a simple method, crashing the JVM with the exception :

# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_GUARD_PAGE (0x80000001) at pc=0x7c920c27, pid=880, tid=1760
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode)
# Problematic frame:
# C [ntdll.dll+0x10c27]
#

The C++ code :
char *temp;
_bstr_t sum, aut,stat,prior,ass;
for (long i=1; i <= bList->GetCount(); i++)
{
					
	mybug = bList->GetItem(i);
	if(mybug){
	                sum=mybug->GetSummary();
			aut=mybug->GetDetectedBy();
			prior=mybug->GetPriority();
			ass=mybug->GetAssignedTo();
			temp=(char *)LPCSTR(sum);
The last line cause the problem. The GetSummary really return a bstrt.

The really strange thing is that this code works fine in a class test but doesn't integrated in my Struts application.

Any ideas where it could come from ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2008
Added on Jul 17 2008
1 comment
408 views