1. Aron Cox
  2. PowerBuilder
  3. Tuesday, 25 July 2017 15:34 PM UTC

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
Faulting application name: PB125.EXE, version:, 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:


    C:\Program Files (x86)\Sybase\PowerBuilder 12.5\PB125.EXE



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, 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!

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 25 July 2017 17:14 PM UTC
  2. PowerBuilder
  3. # 1

I think that when SAP/Sybase would release an EBF, the IDE exe file isn't updated, only the DLL files. Therefore the version information in the exe file is different from the runtime.

  1. Aron Cox
  2. Thursday, 27 July 2017 09:51 AM UTC
Ah okay thanks, that makes sense, but can be confusing :)

  1. Helpful
There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.