Any tools to track heap/stack corruptions?
Imperatorn
johan_forsberg_86 at hotmail.com
Wed Feb 3 15:47:34 UTC 2021
On Wednesday, 3 February 2021 at 14:00:23 UTC, JN wrote:
> I am dealing with some nasty issue in my code. Basically random
> unrelated lines of code are crashing with access violations,
> and if I switch from dmd to ldc the crash goes away, or crash
> comes back, or it crashes in a different spot. Seems like I am
> corrupting some memory somewhere (I interact a lot with C
> libraries). Do you know of any tools I could use to try to
> narrow it down?
>
> I've used Application Verifier but so far it didn't point me to
> anything specific.
I don't see where exactly you're having wierd issues.
Can you use a debugger?
https://wiki.dlang.org/Debuggers
Or dustmite?
https://dlang.org/blog/2020/04/13/dustmite-the-general-purpose-data-reduction-tool/
More information about the Digitalmars-d-learn
mailing list