Crash after closing program

Hi,

we’re having weird issue lately, the programs sporadically decide to crash after closing.

Some infos:

  • Programs are running on Windows Server 2012 R2 Standard
  • Compiled with Xojo 2019 Release 1.1 in 32-bit
  • Crash seems to happen more frequently the lower the server resources get
  • This happens after the programs window got closed
  • EDIT: Also happens on other server setups/configurations

Some logs:

Faulting application name: myProgram.exe, version: 1.0.307.0, time stamp: 0x5cdedfd3
Faulting module name: XojoGUIFramework32.DLL, version: 19.1.0.44759, time stamp: 0x5cdee262
Exception code: 0xc0000005
Fault offset: 0x0014f1ab
Faulting process id: 0xb18
Faulting application start time: 0x01d51a1474e6a565
Faulting application path: <file location>\\myProgram.exe
Faulting module path: <file location>\\myProgram Libs\\XojoGUIFramework32.DLL
Report Id: c160c1ae-8607-11e9-810d-000c290b290c
Faulting package full name: 
Faulting package-relative application ID: 

followed immediately by:

Faulting application name: myProgram.exe, version: 1.0.307.0, time stamp: 0x5cdedfd3
Faulting module name: XojoGUIFramework32.DLL, version: 19.1.0.44759, time stamp: 0x5cdee262
Exception code: 0xc000041d
Fault offset: 0x0014f1ab
Faulting process id: 0xb18
Faulting application start time: 0x01d51a1474e6a565
Faulting application path: <file location>\\myProgram.exe
Faulting module path: <file location>\\myProgram Libs\\XojoGUIFramework32.DLL
Report Id: c33ec0fa-8607-11e9-810d-000c290b290c
Faulting package full name: 
Faulting package-relative application ID: 

Has anyone else ever gotten this error before? We’re a bit stumped here…

[quote=439684:@Sven Arnold]we’re having weird issue lately, the programs sporadically decide to crash after closing.
Has anyone else ever gotten this error before? We’re a bit stumped here…[/quote]
With the recent Xojo Versions (at least at some point after introducing Direct2D) up until 2018r4 we’ve seen this crash-when quitting: <https://xojo.com/issue/55322> Fixed a potential crash on quit with Listboxes that contain Checkboxes or Hierarchical widgets.
That happened (occasionally, not always reproducible) if the Window (or a ContainerControl on the Window) had Listboxes with Checkboxes or Hierarchical widgets.
I don’t see them any more with 2019r1.1

So it seems there is something else causing this…
Even if you can’t create a simple reproducible example, then please add a Feedback with all the (System)Info you can get and attach the Windows CrashDump’s.
I think you should find the CrashDumps of Windows here: C:\Users\your-windows-user-home\AppData\Local\CrashDumps
This should allow @William Yu to exactly pinpoint the cause of the crash in the XojoGUIFramework32.dll

The first thing I’d check is that you’ve gracefully stopped all threads and timers before you exit the app. If in doubt, keep a global counter for threads and timers, if either counter isn’t 0 at the end you could have issues.

If you have any declares using callbacks, I’d also check those.

Thanks guys, I will investigate and try post a Feedback case like Jürg suggested.