Opened 7 years ago
Last modified 7 years ago
#245 new defect
jvm.dll crash
Reported by: | jep | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | Enhanced |
Component: | general | Version: | 1.6.0 Build 27 GA5 |
Severity: | high | Keywords: | jvm.dll, rt.lib, Float/Double, g++, openwatcom |
Cc: |
Description
Am trying to write a small app to load java and run code through jvm.dll. It is supposed to communicate back and forth and callback to the c/c++ code when data arrive from the outside. At the moment it just should load and initiate a HelloWorld.class
It run to a certain point and then crash and I have now concluded that it is the same spot both with compiled code by OpenWatcom and g++.
Have tried both static and dynamic linking, OW and gcc in case of problems with calling conventions, but this problem seem deeper than that.
[Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from D:\PROGRAMS\OPENJDK\lib\r
t.jar]
[Loaded java.lang.Appendable from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.AbstractStringBuilder from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.StringBuffer from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.StringBuilder from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.StackTraceElement from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.nio.Buffer from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.Boolean from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.Character from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.Number from D:\PROGRAMS\OPENJDK\lib\rt.jar]
[Loaded java.lang.Float from D:\PROGRAMS\OPENJDK\lib\rt.jar]
Killed by SIGFPE
pid=0x0119 ppid=0x0052 tid=0x0001 slot=0x00ac pri=0x0200 mc=0x0001 ps=0x0010
D:\PROGRAMS\VXREXX\PROJECTS\ODBCADMN\TEST\CREATEVM.EXE
LIBC066 0:00039936
cs:eip=005b:1e2e9936 ss:esp=0053:0012e8e0 ebp=0012e918
ds=0053 es=0053 fs=150b gs=0000 efl=00010246
eax=00000000 ebx=00000000 ecx=0000003e edx=00120007 edi=00000000 esi=18348910
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
Attachments (4)
Change History (6)
by , 7 years ago
Attachment: | CreateVM.c added |
---|
comment:2 by , 7 years ago
I suspect this is related:
http://lvzuufx.blogspot.com/2014/09/os2-codes-prevent-sigfpe.html
C version for OW