Search found 5 matches

by thall
Thu Aug 19, 2021 9:24 am
Forum: madCodeHook
Topic: MCH v3.1.8 x64 Crash when exception raised in hooked procedure
Replies: 5
Views: 7669

Re: MCH v3.1.8 x64 Crash when exception raised in hooked procedure

Thank you madshi.

Our app hooks during initialization and the hooks last the lifetime of the process, so the NO_SAFE_UNHOOKING flag should fix the issue for us.
by thall
Thu Aug 05, 2021 1:48 pm
Forum: madCodeHook
Topic: MCH v3.1.8 x64 Crash when exception raised in hooked procedure
Replies: 5
Views: 7669

MCH v3.1.8 x64 Crash when exception raised in hooked procedure

Hi Madshi, MadCodeHook: v3.1.8 Compiler: Delphi 10.3.3 (also tested XE3) OS: Windows 21H1 64-bit We have a problem with a 64-bit program crashing when an exception is raised inside a hooked procedure. When compiled as 32-bit everything works as expected, so we're not sure if we are doing something w...
by thall
Tue Aug 18, 2020 1:37 pm
Forum: madExcept
Topic: Incomplete stack trace on manually created bug report 64-bit
Replies: 4
Views: 4602

Re: Incomplete stack trace on manually created bug report 64

Thanks madshi! We ended up enabling HandleExceptions and using your suggested code. All is working well now.
by thall
Mon Aug 17, 2020 1:50 pm
Forum: madExcept
Topic: Incomplete stack trace on manually created bug report 64-bit
Replies: 4
Views: 4602

Re: Incomplete stack trace on manually created bug report 64

Hi madshi, That did indeed work in my test app, however it didn't work in the real application, I was still getting a single line stack trace for the thread that threw the exception (full stacks for other threads). After some further experimenting I found that your new code worked correctly if the M...
by thall
Fri Aug 14, 2020 4:09 pm
Forum: madExcept
Topic: Incomplete stack trace on manually created bug report 64-bit
Replies: 4
Views: 4602

Incomplete stack trace on manually created bug report 64-bit

Hi madshi, We are updating a Delphi Web Server to 64-bit and have come across an issue with how we use madExcept. We have a trigger in the application to manually generate a bug report that we can use to debug problems (e.g. a deadlocked thread), we trigger the bug report using code similar to this:...