https://bugs.winehq.org/show_bug.cgi?id=56016
Bug ID: 56016 Summary: RTL_HEAP_PARAMETERS->CommitRoutine never called for custom heaps Product: Wine Version: 8.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: novae.harpist06@icloud.com Distribution: ---
Created attachment 75656 --> https://bugs.winehq.org/attachment.cgi?id=75656 Reproducer
Reproducer attached.
Windows output:
Reserve: 000002C4D6260000 Commit: 000002C4D6260000 Heap: 000002C4D6260000 Hello! Alloc: 000002C4D6260750 Hello! Alloc2: 000002C4D6264760 Free: 1 Destroy: 0000000000000000
Wine output:
Reserve: 00007FFFFE8E0000 Commit: 00007FFFFE8E0000 Heap: 00007FFFFE8E0000 Alloc: 00007FFFFE8E08F0 Alloc2: 00007FFFFE8E4900 Free: 1 Destroy: 0000000000000000
Of course if the heap implementation wasn't accidentally compatible with the default one, it'd also crash, and not just lack the "Hello" prints.