https://bugs.winehq.org/show_bug.cgi?id=50993
--- Comment #16 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 77521 --> https://bugs.winehq.org/attachment.cgi?id=77521 dll-test_2024-12-15.txt
(In reply to Roman Pišl from comment #14)
It happens when an application compiled with asan tries to load a dll also compiled with asan. The assertion fails on freeFunc == null. The interception fails due to `jmp dword ptr` (0x25FF) instruction.
Setting a breakpoint to HeapFree leads to several locations, most with a similar jmp instruction.
And when running with ASAN_OPTIONS='verbosity=2' I get this line between a few others: Failed to intercept ucrtbase.dll import HeapFree
So it seems not yet fully active in my environment. Details in attached file. Maybe a verbose log in your system shows a few less failing interceptions, because of which I don't reach this situation?