http://bugs.winehq.org/show_bug.cgi?id=31076
Bug #: 31076 Summary: WinDirStat problem after clicking on file in graphical analysis Product: Wine Version: 1.5.7 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: computergeoffrey@zoho.com Classification: Unclassified
Created attachment 40789 --> http://bugs.winehq.org/attachment.cgi?id=40789 Exception details
"WinDirStat encountered an error and must be closen down." after clicking on a file in the graphical output window.
Download here: http://windirstat.info/download.html See also attachment.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #1 from Geoffrey computergeoffrey@zoho.com 2012-06-29 13:09:21 CDT --- Reproducible by clicking on several different files in about 10 seconds.
http://bugs.winehq.org/show_bug.cgi?id=31076
Geoffrey computergeoffrey@zoho.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |computergeoffrey@zoho.com
http://bugs.winehq.org/show_bug.cgi?id=31076
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=31076
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2012-06-29 13:25:11 CDT --- Does native comctl32 help?
http://bugs.winehq.org/show_bug.cgi?id=31076
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40789|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #3 from Geoffrey computergeoffrey@zoho.com 2012-06-30 03:33:13 CDT --- Created attachment 40797 --> http://bugs.winehq.org/attachment.cgi?id=40797 ComCTL32
This is the working DLL, copied from Windows 7 Ultimate 32 bit. Please note: this is non-free, only needed for testing this scenario.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2012-06-30 03:39:08 CDT --- (In reply to comment #3)
Created attachment 40797 [details] ComCTL32
Please note: this is non-free, only needed for testing this scenario.
Also it's not allowed to be distributed like that. Admin, please delete this attachment.
P.S. try ./winetricks cc580 to install native module for testing purposes.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #5 from Geoffrey computergeoffrey@zoho.com 2012-06-30 03:42:19 CDT --- Yes it works with the native version.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2012-06-30 03:44:12 CDT --- The content of attachment 40797 has been deleted by Alexandre Julliard julliard@winehq.org who provided the following reason:
Copyright violation
The token used to delete this attachment was generated at 2012-06-30 03:43:57 CDT.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #7 from Geoffrey computergeoffrey@zoho.com 2012-06-30 04:13:00 CDT --- winetricks cc580 works. :)
http://bugs.winehq.org/show_bug.cgi?id=31076
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40789|0 |1 is obsolete| |
--- Comment #8 from GyB gyebro69@gmail.com 2012-06-30 08:18:00 CDT --- Created attachment 40802 --> http://bugs.winehq.org/attachment.cgi?id=40802 crash log with backtrace
Here I'm attaching a new log containing debug symbols as well.
http://bugs.winehq.org/show_bug.cgi?id=31076
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |comctl32 Ever Confirmed|0 |1
--- Comment #9 from GyB gyebro69@gmail.com 2012-06-30 08:19:21 CDT --- Confirming the bug and setting component field.
http://bugs.winehq.org/show_bug.cgi?id=31076
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source URL| |http://windirstat.info/down | |load.html
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2013-01-09 16:13:17 CST --- I think I understand a problem now. When you click on graphical dir view (whatever it called) it's possible it will need to insert new item to a list. And here is what happens:
- LVM_INSERTITEMA with item lParam containing pointer to internal application data (CSortingListItem* pointer to be precise); - our handler eventually calls LISTVIEW_ShiftIndices() that also changes focus item and could trigger a repaint if list scrolling is needed; - scrolling repaints window with UpdateWindow() so winproc is called with WM_PAINT synchronously while we still process LVM_INSERTITEMA; - repaint operation needs item data to paint, so it queries notification window (application) with LVN_GETDISPINFO, but at this point lParam is still not set - it's zero from Alloc(). - application casts it to CSortingListItem* and calls it's methods without checking for NULL.
To confirm this I commented LISTVIEW_SetItemFocus() call from LISTVIEW_ShiftIndices() and it made crashes go away. It's a really serious problem that could potentially affect a lot of applications, I need to think a bit more what a proper fix would be.
http://bugs.winehq.org/show_bug.cgi?id=31076
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |bunglehead@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31076
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com 2013-01-15 02:34:30 CST --- This should work better after dbd997c3c9284749a06d8b645680c78814bb28c1. I don't get null pointer crash anymore, however clicking around this graphical view still crashes sometimes with 0x00000034 pointer access. Could you confirm?
http://bugs.winehq.org/show_bug.cgi?id=31076
Geoffrey Db computergeoffrey@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |computergeoffrey@gmail.com
--- Comment #12 from Geoffrey Db computergeoffrey@gmail.com 2013-01-15 10:40:42 CST --- (In reply to comment #11)
This should work better after dbd997c3c9284749a06d8b645680c78814bb28c1. I don't get null pointer crash anymore, however clicking around this graphical view still crashes sometimes with 0x00000034 pointer access. Cou(In reply to comment #11) This should work better after dbd997c3c9284749a06d8b645680c78814bb28c1. I don't get null pointer crash anymore, however clicking around this graphical view still crashes sometimes with 0x00000034 pointer access. Could you confirm?
How do I use the latest Wine development version to try out your fix? (I mean -dev, not 1.5.21)
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com 2013-01-15 10:48:55 CST --- You need to build it from sources, section 3 here http://wiki.winehq.org/FAQ.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #14 from Geoffrey Db computergeoffrey@gmail.com 2013-01-15 12:00:48 CST --- I've build Wine with: ./configure --enable-win64 make make install
Wine --version outputs wine-1.5.21 (which is normal if the development version doesn't have a custom version number)
I installed WinDirStat but sadly, I can confirm the crash. See the attached file.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #15 from Geoffrey Db computergeoffrey@gmail.com 2013-01-15 12:02:22 CST --- Created attachment 43179 --> http://bugs.winehq.org/attachment.cgi?id=43179 Backtrace with dbd997c3c9284749a06d8b645680c78814bb28c1 applied
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #16 from Nikolay Sivov bunglehead@gmail.com 2013-01-15 12:21:10 CST --- (In reply to comment #14)
I've build Wine with: ./configure --enable-win64 make make install
You don't really need to enable win64, and 'make install' could be skipped to, it's possible to run from build tree directly. So you just cd to installer dir, and then '/pathtotree/wine-git/wine <installer.exe>'.
Wine --version outputs wine-1.5.21 (which is normal if the development version doesn't have a custom version number)
That isn't normal, --version should include sha1 part if it's not a release version, currently it's wine-1.5.21-212-gfc114a9.
I installed WinDirStat but sadly, I can confirm the crash. See the attached file.
That means you don't have this patch in your build, make sure to uninstall wine package if you used distro package.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #17 from Nikolay Sivov bunglehead@gmail.com 2013-01-16 16:26:01 CST --- Next crash happens in CTreeListItem::GetSortedChild() (in treelistcontrol.cpp), it's just a null pointer access. For some reason 'm_vi' member is null at this point, 0x34 is an offset to items array most likely.
http://bugs.winehq.org/show_bug.cgi?id=31076
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bunglehead@gmail.com |wine-bugs@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #18 from Geoffrey computergeoffrey@zoho.com 2013-01-24 12:34:12 CST --- After a delay caused by compiling problems, I can finally confirm the problem still exists. See the recent backtrace.
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #19 from Geoffrey computergeoffrey@zoho.com 2013-01-24 12:35:25 CST --- Created attachment 43315 --> http://bugs.winehq.org/attachment.cgi?id=43315 1.5.22 compile 32bit bodhi
http://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #20 from Nikolay Sivov bunglehead@gmail.com 2013-01-24 12:39:57 CST --- Yes, that's what I said in comment 17, thanks for retesting.
https://bugs.winehq.org/show_bug.cgi?id=31076
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #21 from super_man@post.com --- Clicking several graphical rectangles in row --> crash.
wine 1.7.50
https://bugs.winehq.org/show_bug.cgi?id=31076
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=42490
https://bugs.winehq.org/show_bug.cgi?id=31076
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #22 from winetest@luukku.com --- (In reply to super_man from comment #21)
Clicking several graphical rectangles in row --> crash.
wine 1.7.50
After several clicks at the bottom graphical files I get a crash wine 2.12-git.
https://bugs.winehq.org/show_bug.cgi?id=31076
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=31076
exposight exposight@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |exposight@gmail.com
--- Comment #23 from exposight exposight@gmail.com --- still the case in wine 4.18
https://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #24 from Austin English austinenglish@gmail.com --- Still present in 9.0.
6fa92dd2ca691c11dfbfc0a239e34369897a7fab windirstat1_1_2_setup.exe
https://bugs.winehq.org/show_bug.cgi?id=31076
--- Comment #25 from Austin English austinenglish@gmail.com --- Created attachment 75932 --> https://bugs.winehq.org/attachment.cgi?id=75932 9.0 backtrace