PowerBuilder IDE Crashing randomly on open or close of window
- New
- Issue
- 32-bit
- Bug
- Crash
- IDE
- PowerBuilder
-
Jeff Gibson
- PowerBuilder
- Thursday, 24 April 2025 04:04 AM UTC
PowerBuilder 2022 R3 Build 3397
Windows 10 Version 22H2 (OS Build 19045, 4651)
I have a contract that I'm deep in the middle of that is for a state federal organization that unfortunately can't release the code to Appeon to look for this bug. Either way, I'm hoping this information might help us in determining what the issue stems from.
We have a set of windows that inherit from a base parent. Effectively the following...
w_super_class
|----- w_detail
|----- w_desc_detail
|----- w_win1... w_win8
Etc... There are 8 windows that descend from w_desc_detail.
Now, there are a multitude of other windows throughout the application that also descend from w_detail. None of these windows have any issues opening or closing.
However, if a window is inherited from w_desc_detail, after a couple trips opening one of those windows up, looking at code in the window, etc. Usually about the 3rd time in, on the close of the window object, and sometimes even on the open, it just takes the entire IDE down with it.
I thought this might stem from this subset of windows being corrupted. In fact, after extensively looking through the code, we found one specific code call that was causing one of the crashes at runtime. We also found where there were two locations where destroy was showing up in the event list. Felt like an old holdover from PB4-PB6.5. Either way, we cleaned these out. We also attempted to comment out large swaths of code just to see if commenting it out would clear up the issue. Even disconnected menu objects to see if it resided in the attached menu object. No luck on any of that.
My next step was to rebuild the windows, just in case something deep in the window was corrupted. However, even after doing that, this entire area still crashes.
I started looking at Process Monitor to see if I could find where or what was going on to bring the IDE down. It seemed like it was happening on open of a DLL that failed. Either way, I followed that timestamp over to the event viewer and was able to grab the following errors...
Application: PB220.exe
CoreCLR Version: 8.0.1024.46610
.NET Version: 8.0.10
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 76720D72
Stack:
Application: PB220.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 76720D72
Stack:
Faulting application name: PB220.exe, version: 22.2.0.3397, time stamp: 0x671f94ed
Faulting module name: KERNELBASE.dll, version: 10.0.19041.4648, time stamp: 0xc655de20
Exception code: 0xc0000005
Fault offset: 0x00140d72
Faulting process id: 0xd5c
Faulting application start time: 0x01dbb4be676d945d
Faulting application path: C:\Program Files (x86)\Appeon\PowerBuilder 22.0\PB220.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 6b095e6e-3b9d-4541-965d-524f008d3b32
Faulting package full name:
Faulting package-relative application ID:
Fault bucket 2192352800111187707, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: PB220.exe
P2: 22.2.0.3397
P3: 671f94ed
P4: KERNELBASE.dll
P5: 10.0.19041.4648
P6: c655de20
P7: c0000005
P8: 00140d72
P9:
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8D9B.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER95F9.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9657.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9675.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9712.tmp.txt
These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_PB220.exe_7fe4d456821b2704fa274cc8d5074d74018d2fb_a89a6131_90b55e32-7600-4a3d-b6a1-d527f238edfd
Analysis symbol:
Rechecking for solution: 0
Report Id: 6b095e6e-3b9d-4541-965d-524f008d3b32
Report Status: 268435456
Hashed bucket: 18ad3c3794e228d85e6ccd4190f5d6fb
Cab Guid: 0
The craziest thing about this area. If you go into the browser, and select "Show Hierarchy". Once it shows that, all of these windows work exactly like they should. That is until you end up closing PowerBuilder, and then reopening it.
It almost feels to me like were dealing with an issue similar to where a virus scan grabs one of the IDE DLL's because it thinks it's malicious and it ends up causing issues within the IDE itself.
I'm happy to start a ticket if you need me to, but unfortunately I would need to work out ways to get the Appeon team what they need since they are unable to release the code base to Appeon.
Any thoughts or suggestions would be greatly appreciated!
Thanks!
Jeff Gibson
Intertech Consulting
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.