http://bugs.winehq.org/show_bug.cgi?id=25347
Summary: Regression : AutoCAD 2005 crashes selecting files after OPEN command Product: Wine Version: 1.3.8 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: max@veneto.com
This commit :
119860b05f8c22d1525b573e461afe95e430a63b is the first bad commit commit 119860b05f8c22d1525b573e461afe95e430a63b Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Nov 16 23:55:23 2010 +0300
comctl32/listview: Use a code set by dispinfo holder to convert data encoding after LVN_GETDISPINFO.
:040000 040000 ad5c1c701754ee3c180ab7caab5106d2a01cfb52 d1387b25792aaa034c623d041be31e0f97f2a9ad M dlls
Make AutoCAD to crash (almost always) when selecting a file to open in the file listview.
I marked as major as I guess it can affect many apps using comctl32/listview control.
To test, just run AutoCAD2005, issue an OPEN command and fiddle a bit with filenames in the list. Shortly app first hangs, than the crash message box appears, then AutoCAD itself crashes.
Please ask if you need some logs....
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Regression : AutoCAD 2005 |AutoCAD 2005 crashes |crashes selecting files |selecting files after OPEN |after OPEN command |command Severity|major |normal
--- Comment #1 from Austin English austinenglish@gmail.com 2010-11-29 12:22:07 CST --- Terminal output?
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #2 from max@veneto.com 2010-11-29 12:28:03 CST --- Created an attachment (id=32223) --> (http://bugs.winehq.org/attachment.cgi?id=32223) Terminal output
useless, IMHO, but log attached here.
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #3 from max@veneto.com 2010-11-29 12:36:41 CST --- BTW, bug affects just AutoCAD2005. On 2008 it's all OK, and also a couple of other apps using listview in open command.
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2010-11-29 13:25:19 CST --- Hi, I'm not familiar with ACAD - OPEN command is invoked from command prompt or it's something similar to comdlg32 open dialogue?
Did you try to revert a patch to test?
About logs, I need only +tid,+listview,+seh I guess.
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #5 from max@veneto.com 2010-11-29 15:03:23 CST --- (In reply to comment #4)
Hi, I'm not familiar with ACAD - OPEN command is invoked from command prompt or it's something similar to comdlg32 open dialogue?
Did you try to revert a patch to test?
About logs, I need only +tid,+listview,+seh I guess.
Yep, reverting the patch makes bug disappear. The AutoCAD open dialog is invoked either from command prompt or from menu, and opens a dialog with a (presumably) listview inside, among others. Selecting a file on listview makes it crash, mostly on second-third selection change. I'll drop the log you need on next comment.
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #6 from max@veneto.com 2010-11-29 15:09:22 CST --- Created an attachment (id=32229) --> (http://bugs.winehq.org/attachment.cgi?id=32229) Log with WINEDEBUG=-all,+tid,+listview,+seh
Here's the log as requested.
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #7 from max@veneto.com 2010-11-29 15:19:47 CST --- Created an attachment (id=32230) --> (http://bugs.winehq.org/attachment.cgi?id=32230) Open dialog image
Here a screen dump of open dialog
http://bugs.winehq.org/show_bug.cgi?id=25347
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead@gmail.com
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2010-11-30 06:12:47 CST --- Adding Nikolay to the cc: list.
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2010-12-01 03:11:55 CST --- Created an attachment (id=32269) --> (http://bugs.winehq.org/attachment.cgi?id=32269) trace
Get another log with that patch please, I need more output to figure out a path.
http://bugs.winehq.org/show_bug.cgi?id=25347
max@veneto.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32229|0 |1 is obsolete| |
--- Comment #10 from max@veneto.com 2010-12-01 05:14:42 CST --- Created an attachment (id=32271) --> (http://bugs.winehq.org/attachment.cgi?id=32271) New log
Here's the log with your patch. App crashes as before, of course.
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32269|0 |1 is obsolete| |
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com 2010-12-01 06:48:45 CST --- Created an attachment (id=32273) --> (http://bugs.winehq.org/attachment.cgi?id=32273) trace2
Strange, looks like it doesn't use new added path and I don't see obvious problem. Get another log with new patch.
http://bugs.winehq.org/show_bug.cgi?id=25347
max@veneto.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32223|0 |1 is obsolete| | Attachment #32271|0 |1 is obsolete| |
--- Comment #12 from max@veneto.com 2010-12-01 07:22:05 CST --- Created an attachment (id=32274) --> (http://bugs.winehq.org/attachment.cgi?id=32274) New log
Here's the new log
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32273|0 |1 is obsolete| |
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com 2010-12-01 07:49:09 CST --- Created an attachment (id=32275) --> (http://bugs.winehq.org/attachment.cgi?id=32275) patch
Ok, try this one. There's no demo for 2005, right?
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #14 from max@veneto.com 2010-12-01 07:53:33 CST --- (In reply to comment #13)
Created an attachment (id=32275)
--> (http://bugs.winehq.org/attachment.cgi?id=32275) [details]
patch
Ok, try this one. There's no demo for 2005, right?
Well, the app without license IS the demo, the problem is to find it... now AutoCAD is at version 2011. I'll do the log in a couple of minutes... but by now I can tell that I noticed that the crash isn't on FIRST item selection... it's on second or third one; for example, it I have 10 files on the list, If I select one of them, the preview appears and all is ok. If I change the selection, on second or third item selected the app hangs.
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #15 from max@veneto.com 2010-12-01 07:59:30 CST --- Hmmmm... the app don't crash anymore with your patch. Do you still need some log ??
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #16 from Nikolay Sivov bunglehead@gmail.com 2010-12-01 08:01:18 CST --- (In reply to comment #15)
Hmmmm... the app don't crash anymore with your patch. Do you still need some log ??
No, it was a fix :).
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
--- Comment #17 from Nikolay Sivov bunglehead@gmail.com 2010-12-03 09:52:07 CST --- Should be fixed with f0f3157da1af733271a25b22e05c8df8f6969dc0. Please retest.
http://bugs.winehq.org/show_bug.cgi?id=25347
max@veneto.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #18 from max@veneto.com 2010-12-03 10:19:37 CST --- Yep, fixed in current CVS.
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25347
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2010-12-10 13:46:07 CST --- Closing bugs fixed in 1.3.9.
http://bugs.winehq.org/show_bug.cgi?id=25347
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f0f3157da1af733271a25b22e05 | |c8df8f6969dc0