https://bugs.winehq.org/show_bug.cgi?id=49262
Bug ID: 49262 Summary: Heap debugging (WINEDEBUG=+heap) broken since wine-5.7-30-gba1495f7c2 Product: Wine Version: 5.8 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says.
It's a regression introduced by commit https://source.winehq.org/git/wine.git/commitdiff/ba1495f7c2c3cff3db9ce99600... ("ntdll: Avoid using wine_dll_enum_load_path() from libwine.")
author Alexandre Julliard julliard@winehq.org Mon, 27 Apr 2020 10:35:39 +0000 (12:35 +0200) committer Alexandre Julliard julliard@winehq.org Mon, 27 Apr 2020 10:35:39 +0000 (12:35 +0200)
--- snip --- $ WINEDEBUG=+heap wine notepad
0024:trace:heap:RtlAllocateHeap (0x110000,70000062,00000028): returning 0x1102a8 0024:trace:heap:RtlFreeHeap (0x110000,70000062,0x1102a8): returning TRUE 0024:trace:heap:RtlAllocateHeap (0x110000,70000062,0000226a): returning 0x1102e0 0024:trace:heap:RtlSizeHeap (0x110000,70000062,0x1102e0): returning 0000226a 0024:trace:heap:RtlAllocateHeap (0x110000,70000062,000044d4): returning 0x112560 ... 002c:err:heap:HEAP_ValidateInUseArena Heap 0x10000: block 0x1b470 tail overwritten at 0x1b4a9 (byte 0/47 == 0x2f) 002c:trace:heap:HEAP_Dump Heap: 0x10000 002c:trace:heap:HEAP_Dump Next: 0x10000 Sub-heaps: 0x10020 Free lists: Block Stat Size Id 002c:trace:heap:HEAP_Dump 0x100e8 free 00000030 prev=0x1b4d8 next=0x10108 002c:trace:heap:HEAP_Dump 0x10108 free 00000040 prev=0x100e8 next=0x10128 ... 002c:trace:heap:HEAP_Dump 0x1b4d8 45455246 free 00104b10 prev=0x10308 next=0x100e8 002c:trace:heap:HEAP_Dump Total: Size=00110000 Committed=00010000 Free=00104b10 Used=0000b0e0 Arenas=00000410 (0%) ... /home/focht/projects/wine/custom-src/dlls/ntdll/heap.c:465: HEAP_GetPtr: Assertion `FALSE' failed. 0024:trace:heap:RtlFreeHeap (0x110000,70000062,0x11c0f8): returning TRUE 0024:trace:heap:RtlFreeHeap (0x110000,70000062,0x11c360): returning TRUE ... Total: Size=00110000 Committed=00010000 Free=001031f0 Used=0000c988 Arenas=00000488 (0%)
/home/focht/projects/wine/custom-src/dlls/ntdll/heap.c:465: HEAP_GetPtr: Assertion `FALSE' failed. Aborted (core dumped) --- snip ---
$ wine --version wine-5.7-30-gba1495f7c2
Regards
https://bugs.winehq.org/show_bug.cgi?id=49262
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |ba1495f7c2c3cff3db9ce99600b | |fc8ddfa365387
https://bugs.winehq.org/show_bug.cgi?id=49262
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |f5e703042ac6b10e803e7b796ff | |ddabfdd82438c Resolution|--- |FIXED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/f5e703042ac6b10e803e7b796f... ("ntdll: Fix off-by-one buffer size error.")
Thanks Alexandre
$ wine --version wine-5.9-101-ge48fabff52
Regards
https://bugs.winehq.org/show_bug.cgi?id=49262
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.10.