- Pete N
- PowerBuilder
- 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!
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.