[Bug 42490] New: Assertion failure when clicking boxes in altWinDirStat

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 20 01:04:06 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=42490

            Bug ID: 42490
           Summary: Assertion failure when clicking boxes in altWinDirStat
           Product: Wine
           Version: 2.2
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: comctl32
          Assignee: wine-bugs at winehq.org
          Reporter: alexhenrie24 at gmail.com
      Distribution: ---

This bug is reproduced in the same way as bug 31076, but I don't think they're
the same bug. After scanning a folder, click the upper-left box and hold down
the down arrow until you've cycled through all the boxes. Then click a box in
the middle. You'll see an error dialog that says:

    Debug Assertion Failed!

    Program: C:\windirstat_debug_32.exe
    File: TreeListControl.cpp
    Line: 1771

    For information on how your program can cause an assertion
    failure, see the Visual C++ documentation on asserts.

    (Press Retry to debug the application)

If you click Abort, the program closes. If you click Retry, the program
crashes. If you click Ignore, the program continues until you click another
box.

Line 1771 of TreeListControl.cpp says:

    VERIFY( CListCtrl::RedrawItems( i, item_count ) );

CListCtrl::RedrawItems sends LVM_REDRAWITEMS with i and item_count. Apparently,
even though the documentation says that the first parameter is the index of the
first item to redraw and the second parameter is the index of the last item to
redraw, LVM_REDRAWITEMS does not complain about getting indices outside of the
range of defined items.

I'm using the 32-bit debug build of altWinDirStat 0.9.5.

-- 
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