We have been on PowerBuilder 12.5.2 Classic, for some time now, and we've been having reports of random crashes. No PowerBuilder error just the Windows application crash. I'm finally trying to track them down. I have run my application with /pbdebug and I can make it crash if I try hard by closing a bnch of windows as quickly as possible in the MDI frame. Not sure if it is the same as the users, but at least it is something. Unfortunately no line of code is pointed to as a problem in the debug log, and the Windows Application Event log gives the following:
Log Name: Application
Source: Application Error
Date: 23/07/2017 18:34:00
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: sol-9qx7t4j.tracegroup.com
Description:
Faulting application name: PB125.EXE, version: 12.5.2.5006, time stamp: 0x50f93412
Faulting module name: clr.dll, version: 4.7.2101.1, time stamp: 0x59326a5d
Exception code: 0xc00000fd
Fault offset: 0x0045195d
Faulting process id: 0x2e00
Faulting application start time: 0x01d30253d3c10848
Faulting application path: C:\Program Files (x86)\Sybase\PowerBuilder 12.5\PB125.EXE
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 930f1498-df9a-4653-b66d-d6f7caa3ceb3
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
PB125.EXE
12.5.2.5006
50f93412
clr.dll
4.7.2101.1
59326a5d
c00000fd
0045195d
2e00
01d30253d3c10848
C:\Program Files (x86)\Sybase\PowerBuilder 12.5\PB125.EXE
C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
930f1498-df9a-4653-b66d-d6f7caa3ceb3
Notice it has C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll as the faulting module. We call .NET code from our aplication using COM+, but I don't think it is this, but I'm not really sure.
Also note how it says PB 12.5.2.5006, I guess that is a mistake as I was running from the IDE and the version is 5583, PB125.exe appears ot have the wrong version number.
So my questions are:
- Am I right to assume this is .NET code that is crashing?
- Am I right in assuming PowerBuilder itself calls .NET code? Version 4? My clr.dll says it is version 4.7.2101.1 so I believe I have all the updates
- Anyone know what I can do to track this down / reduce the error. It's hard when I can't replicate it, but it has happened to me a couple of times. I will leave the application running in the background, come back to it and it crashes, but not very often
- Anyone know if PowerBuilder 2017 is still using the same version of .NET or if it has been updated? As it may be worth trying that.
Thanks for any help / advice / comments anyone can give!