|
From: <kri...@st...> - 2005-02-19 11:21:06
|
Hello, First of all it might be worth saying that my application works perfectly fine without the wrapper. I am using a dll that maintains a state depending on various calls (this dll actually automates an office app). Trying to make calls in a one threaded application works, the problem arises when I have multiple threads. One simple test I made is letting one thread run the init method in my dll, then letting the shutdown hook run the exit. When making that call the jvm crashes: # Internal Error (0xe06d7363), pid=232, tid=2960 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode, sharing) # Problematic frame: # C [kernel32.dll+0xd756] looking at the stack I can see Stack: [0x031f0000,0x03230000), sp=0x0322f8f4, free space=254k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [kernel32.dll+0xd756] C [MYOWN.dll+0x7a2b] ... J last java call made current thread is marked as being in native. I am clueless about what to do. Any ideas of what causes this problem when runnin in the wrapper would be very appreciated! Kristian |