I'm getting a random crash from system.dll ; I realize that this 'could be anything', but maybe you guys have some thoughts.
Basically system.dll is used to create buffers, structs, make API calls, etc. in various places. As far as I can tell, all of the code is 'safe' - i.e. buffers get cleaned up where they should be.. but I'm still not an expert.
The crash only occurs when the installer shuts down, and is highly intermittent. In fact, I'm trying to see if I can get some details on the crash but I can't get the thing to crash now.
Is there something happening at installer shutdown where, presumably, system.dll gets unloaded or so and something I've forgotten could cause these crashes?
If you need code, I'll try and share as much as I can, but the all of the system calls used are the below (with minor modifications; e.g. Get_Local_Time adjusted to return a specific format instead of the hours/minutes/etc. on the stack; no changes to the system calls themselves).
And...
Refresh a control:
Sadly I can't rule any of these out too easily given that the crash *is* intermittent.System::Call "user32::InvalidateRect(i,i,i)i (r0, 0, 1)"
Thanks in advance for any pointers.