1. Pete N
  2. PowerBuilder
  3. Saturday, 10 June 2023 03:08 PM UTC

Greetings PB Community. I'm a PowerBuilder novice who has inherited an app that's over 25 years old.

I'm looking for tips on debugging an app that I migrated from PB8 to PB2019 and on to PB2022. I do not believe the migrations have anything to do with my issue. The app crashes when it queries the database for a larger amount of data. It only sometimes does it on my development computer, while it always happens on the live environment, making it difficult to pinpoint what is going on. It's not really that much data- 11,520 rows with 3 columns. I overtest on my development computer with queries that contain 50,000 or more rows (it hangs for a few seconds, but doesn't crash the app). The query results are used to draw a graph within a tab control.

Here is what I've been able to gather:

  • A SELECTIONCHANGED event occurs on the tab control and some automatic cleanup occurs? 29 instances of the following is included in my .dbg file:
    Executing object function +DESTROY for class DWOBJECT, lib entry _TYPEDEF
    Executing instruction at line 2635
    Executing object function __DESTROY_OBJECT for class DWOBJECT, lib entry _TYPEDEF
    Executing system dll function
    End class function __DESTROY_OBJECT for class DWOBJECT, lib entry _TYPEDEF
    Executing instruction at line 2636
    End class function +DESTROY for class DWOBJECT, lib entry _TYPEDEF
  • If the app crashes, the .dbg file ends there
  • If the app doesn't crash it goes on to call the ACTIVATE event on the parent window
  • The following is a portion of the .dmp file:
    STACK_TEXT:  
    00000090`2c0f48d0 00007ff9`83b7c03a     : 00007ff9`82dfd558 0000027f`00001fa0 7fefffff`ffffffff 00000000`00000000 : KERNELBASE!RaiseException+0x69
    00000090`2c0f49b0 00007ff9`835089b5     : 000001c1`d0e8e3e0 00007ff9`840af5c4 00000000`00005fe6 00007ff9`00000001 : orageneric19!skgesigOSCrash+0x5a
    00000090`2c0f4ad0 00007ff9`83b7c38e     : 00007ff9`d3bb90d8 00000090`2c0f4640 00007ff9`d3bb238d 00000000`00000000 : orageneric19!kpeDbgProcessInit+0x1995
    00000090`2c0f4b70 00007ff9`e8eddd57     : 00000000`00000000 00007ff9`83b7c2f0 00000000`00000000 00007ff9`e8e00ddb : orageneric19!skgesigGetDetails+0x31e
    00000090`2c0f50e0 00007ff9`eb2ff5c8     : 00000000`0010000b 00007ff9`e8eddb70 00000090`2c0f5ac0 000004d0`fffffb30 : KERNELBASE!UnhandledExceptionFilter+0x1e7
    00000090`2c0f5200 00007ff9`eb2d0e20     : 00000090`2c0f5fb0 00007ff9`eb3a99a4 00000000`00000000 00000000`00000000 : ntdll!LdrpLogFatalUserCallbackException+0x98
    00000090`2c0f5340 00007ff9`eb2d23df     : 00007ff9`eb2d0e00 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!KiUserCallbackDispatcherHandler+0x20
    00000090`2c0f5380 00007ff9`eb2814a4     : 00000000`00000000 00000090`2c0f58f0 00000090`2c0f5fb0 00000000`00000000 : ntdll!RtlpExecuteHandlerForException+0xf
    00000090`2c0f53b0 00007ff9`eb2d0f0e     : 00000000`00000060 000001c1`ce0b0cc0 00000000`00000000 00007ff9`e8de40c4 : ntdll!RtlDispatchException+0x244
    00000090`2c0f5ac0 00000000`74fe5e43     : 000001c1`d44eeb80 00000000`00000000 000001c1`d3e30b00 00000000`00000000 : ntdll!KiUserExceptionDispatch+0x2e
    00000090`2c0f6270 00000000`74fe43a8     : 000001c1`d3e30b00 00000090`2c0f65c9 00000000`00000000 00000000`00000020 : pbdwe!dwSyntaxFree+0x25083
    00000090`2c0f62a0 00000000`74fe5762     : 00000200`00000007 00000000`00000000 00000090`2c0f65c9 00000000`00000000 : pbdwe!dwSyntaxFree+0x235e8
    00000090`2c0f63f0 00000000`74fc1e89     : 00000000`00000000 00000000`00000000 00000090`2c0f65c9 000001c1`d499300c : pbdwe!dwSyntaxFree+0x249a2
    00000090`2c0f6540 00000000`74d2d234     : 00000000`00000000 00000000`000014d3 000001c1`d4740890 00000000`75381b45 : pbdwe!dwSyntaxFree+0x10c9
    00000090`2c0f6620 00000000`74d2eff1     : 000001c1`d40cccdc 00000090`2c0f6770 00000000`000014d3 00000000`00000000 : pbdwe!dwCrosstabSortCmp+0x6864
    00000090`2c0f6670 00000000`74d2ceb0     : 000001c1`d40cccdc 00000000`00000000 000001c1`d3e1c9fc 000001c1`d40cccdc : pbdwe!dwCrosstabSortCmp+0x8621
    00000090`2c0f6830 00000000`74f19e0f     : 000001c1`d3e4408c 000001c1`d4347934 00000090`2c0f6929 00000000`00000000 : pbdwe!dwCrosstabSortCmp+0x64e0
    00000090`2c0f68d0 00000000`74f1e3c3     : 000001c1`d3e4408c 000001c1`d40cccdc 000001c1`d3e4408c 000001c1`d40cccdc : pbdwe!dwWinProcEdit+0x932f
    00000090`2c0f6990 00000000`74f12bf3     : 000001c1`d3e30e88 ffffffff`a0010b55 000001c1`d3e30e88 000001c1`d3e373e4 : pbdwe!dwWinProcEdit+0xd8e3
    00000090`2c0f6a20 00000000`74f12982     : 00000090`2c0f6bc0 000001c1`d4034060 00000000`00000000 000001c1`d3e30e88 : pbdwe!dwWinProcEdit+0x2113
    00000090`2c0f6a50 00000000`74d6911a     : 00000090`2c0f6bc0 00000000`7501d5f8 000001c1`d3e30e88 00000090`2c0f6bf0 : pbdwe!dwWinProcEdit+0x1ea2
    00000090`2c0f6ac0 00000000`74f3533f     : 00000000`00000000 000001c1`d3e30e88 00000000`0049414e 00000090`2c0f6bf0 : pbdwe!dwSyntaxFromDesc+0x1335a
    00000090`2c0f6af0 00000000`74ef985b     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : pbdwe!dwWinProcEdit+0x2485f
    00000090`2c0f6d20 00000000`74ef6b46     : 00000000`002a0b76 00000000`00000000 ffffffff`00000001 0001eb01`00000124 : pbdwe!dwWinProc+0x2e7b
    00000090`2c0f6fe0 00007ff9`ea84e858     : 00000000`00000001 00000000`00000000 00000000`80006010 00000000`00000000 : pbdwe!dwWinProc+0x166

As I stated, I'm just looking for some tips to get this figured out. If there is more info that I can provide or anything else I should be looking at or trying, please let me know. 

Thanks!

 


Responses (7)
  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.