[Bug 49262] New: Heap debugging (WINEDEBUG=+heap) broken since wine-5.7-30-gba1495f7c2

WineHQ Bugzilla wine-bugs at winehq.org
Wed May 27 06:56:36 CDT 2020


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 at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says.

It's a regression introduced by commit
https://source.winehq.org/git/wine.git/commitdiff/ba1495f7c2c3cff3db9ce99600bfc8ddfa365387
("ntdll: Avoid using wine_dll_enum_load_path() from libwine.")

author    Alexandre Julliard <julliard at winehq.org>    
    Mon, 27 Apr 2020 10:35:39 +0000 (12:35 +0200)
committer    Alexandre Julliard <julliard at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list