1. Jeff Gibson
  2. PowerBuilder
  3. 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


Who is viewing this page
Responses (1)
  1. Likes
  2. Latest
  3. Oldest
Loading...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom

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.