Internal error in CollectPossibleStackItems

delphi package - automated exception handling
Post Reply
moennich
Posts: 4
Joined: Tue Nov 23, 2021 4:48 pm

Internal error in CollectPossibleStackItems

Post by moennich »

Could anyone help me in following question:

My app freezes, and I get this log with madTraceProcess32.exe:

Code: Select all

operating system   : Windows 10 x64 build 19044
system language    : Portuguese
system up time     : 14 days 4 hours
program up time    : 1 hour 7 minutes
processors         : 2x Intel(R) Celeron(R) CPU 1037U @ 1.80GHz
physical memory    : 391/3986 MB (free/total)
free disk space    : (C:) 48,76 GB (M:) 21,31 GB
display mode       : 1366x768, 32 bit
process id         : $22f0
allocated memory   : 281,15 MB
largest free block : 1,96 GB
current module     : madExcept_.bpl
exec. date/time    : 2023-03-21 20:07
version            : 1.0.0.0
compiled with      : Delphi 10.2 Tokyo
madExcept version  : 5.1.1
callstack crc      : $00000000, $00000000, $00000000

main thread ($1a78):
>> internal error in CollectPossibleStackItems:
5980e335 +55 madExcept_.bpl madStackTrace +0 FindNearestExport

thread $235c:
7714c4f7 +47 user32.dll               MsgWaitForMultipleObjectsEx
7714c49a +1a user32.dll               MsgWaitForMultipleObjects
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
6d7e67ca +00 gdiplus.dll

thread $24f8: <priority:-1>
779de3ed +fd KERNELBASE.dll           WaitForMultipleObjectsEx
76aa6dbc +8c msvcrt.dll               _endthreadex
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
76aa6caf +7f msvcrt.dll               _beginthreadex

thread $1f20:
7714c4f7 +47 user32.dll               MsgWaitForMultipleObjectsEx
77741402 +72 combase.dll              CoWaitForMultipleHandles
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
6b892b8a +00 mshtml.dll

thread $25ac: <priority:-1>
779de3ed +fd KERNELBASE.dll           WaitForMultipleObjectsEx
76aa6dbc +8c msvcrt.dll               _endthreadex
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
76aa6caf +7f msvcrt.dll               _beginthreadex

thread $1168:
779d42a3 +93 KERNELBASE.dll           WaitForSingleObjectEx
779d41fd +0d KERNELBASE.dll           WaitForSingleObject
76aa6dbc +8c msvcrt.dll               _endthreadex
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
76aa6caf +7f msvcrt.dll               _beginthreadex

thread $1a98:
7714c4f7 +47 user32.dll               MsgWaitForMultipleObjectsEx
77741402 +72 combase.dll              CoWaitForMultipleHandles
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by thread $1f20 at:
6b892b8a +00 mshtml.dll

thread $1be8:
779d42a3 +93 KERNELBASE.dll           WaitForSingleObjectEx
779d41fd +0d KERNELBASE.dll           WaitForSingleObject
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
6b892b8a +00 mshtml.dll

thread $1ea8: <priority:15>
779de3ed +fd KERNELBASE.dll           WaitForMultipleObjectsEx
779de2d3 +13 KERNELBASE.dll           WaitForMultipleObjects
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
6b8f0250 +00 mshtml.dll

thread $154:
75ec00f7 +17 KERNEL32.DLL  BaseThreadInitThunk

thread $d38:
5985bb45 +00d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +032 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +017 KERNEL32.DLL             BaseThreadInitThunk
>> created by thread $23d0 at:
708a16e6 +226 netbios.dll              Netbios

thread $2574:
75ec00f7 +17 KERNEL32.DLL  BaseThreadInitThunk

thread $2bbc:
779f2e74 +24 KERNELBASE.dll           GetQueuedCompletionStatus
5985bb45 +0d madExcept_.bpl madExcept CallThreadProcSafe
5985bbaa +32 madExcept_.bpl madExcept ThreadExceptFrame
75ec00f7 +17 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($1a78) at:
66e99c95 +00 sqlncli10.dll
It seems that the madExcept was unable to cath the exception (or not?). But why?
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: Internal error in CollectPossibleStackItems

Post by madshi »

Was this a one-time-only occurance, or does this happen all the time?

This could maybe be a DLL that was unloaded but is still in the callstack of the main thread. But that's just a wild guess, I don't really know for sure...
moennich
Posts: 4
Joined: Tue Nov 23, 2021 4:48 pm

Re: Internal error in CollectPossibleStackItems

Post by moennich »

It's occurred just one-time.
The application was executed from a network drive, I'm suspecting network instability.
Last edited by moennich on Wed Apr 05, 2023 2:46 pm, edited 1 time in total.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: Internal error in CollectPossibleStackItems

Post by madshi »

That would make sense.
Post Reply