#81 WinService Wrapper crashes if App does not call System.exit

open
Rodrigo Reyes
Wrapper (39)
5
2008-04-24
2008-04-24
Gilbert Wellisch
No

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().

Discussion

  • sample of crash

     
    Attachments