File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes JVM stack error? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JVM stack error?" Watch "JVM stack error?" New topic
Author

JVM stack error?

George Lin
Greenhorn

Joined: Feb 22, 2006
Posts: 28
Hello everyone,


When running my program on Java JVM 5.0, there are strange stack errors. What may be the root cause?

(foo.dll is my JNI invoked native library.)

--------------------
Registers:
EAX=0x0c213e40, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000
ESP=0x0c213e0c, EBP=0x0c213e44, ESI=0x00000000, EDI=0x00000000
EIP=0x0c4e8070, EFLAGS=0x0001024f

Top of Stack: (sp=0x0c213e0c)
0x0c213e0c: 00000000 00000000 00000000 0b97aeb0
0x0c213e1c: 0c4e8232 00000000 00000000 0b97aeb0
0x0c213e2c: 00000000 00000000 00000000 00000000
0x0c213eec: 00000000 00000000 0c213eb4 0c4e8147
0x0c213e4c: 00000000 00000000 0b97ac70 0b97aeb0
0x0c213e5c: 00000000 f5e24244 4e434c53 4854534b
0x0c213efc: 44414552 00000000 00000000 00000000
0x0c213e7c: 00000000 00000000 00000000 00000000

Instructions: (pc=0x0c4e8070)
0x0c4e80f0: 08 8b 4f 08 56 ce 5f 8b 31 33 74 24 08 fa 00 52
0x0c4e8070: 33 ef 33 15 5c 40 45 0c 8e 38 33 89 4f 08 74 04


Stack: [0x0c1e0000,0x0c220000), sp=0x0c21f30c, free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM cod6, C=native code)
C [foo.dll+0x18070]
C [foo.dll+0x18147]
--------------------


thanks in advance,
George
Philip Shanks
Ranch Hand

Joined: Oct 15, 2002
Posts: 189
Originally posted by George Lin:
Hello everyone,


When running my program on Java JVM 5.0, there are strange stack errors. What may be the root cause?

(foo.dll is my JNI invoked native library.)

<<< snip >>>

Stack: [0x0c1e0000,0x0c220000), sp=0x0c21f30c, free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM cod6, C=native code)
C [foo.dll+0x18070]
C [foo.dll+0x18147]
--------------------


thanks in advance,
George


I don't know, but it seems a stack overflow in your "foo.dll" isn't out of the question.

Sorry, that's a pretty lame answer, but there isn't a whole lot to go on.
[ February 09, 2007: Message edited by: Philip Shanks ]

Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM stack error?