WinService Wrapper crashes if App does not call System.exit
Status: Beta
Brought to you by:
reyes
JSmooth release 0.9.9-7 Build 20070520-256
Windows XP SP2
Crash error "... has encountered a problem and needs to close." when application exits without calling System.exit.
Debugging the crash shows an "Unhandled exception at 0x00412a4a in testsrv.exe: 0xC0000005: Access violation reading location 0x00000000." (See crashpic.png in attached.)
Attached sample code demonstrates problem using just a Thread.sleep(20000) then exits without calling System.exit().
sample of crash