[Bug 10327] New: Crash in WINPROC_CallProcAtoW
http://bugs.winehq.org/show_bug.cgi?id=10327 Summary: Crash in WINPROC_CallProcAtoW Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-user AssignedTo: wine-bugs(a)winehq.org ReportedBy: michael.teske(a)swissrisk.com Created an attachment (id=8988) --> (http://bugs.winehq.org/attachment.cgi?id=8988) sample backtrace since I installed a new cvs build, a program which I use frequently (Action Request System by Remedy) crashes in WINPROC_CallProcWtoA I traced the stuff in the debugger and found that we have in menu.c:1829: menu->hWnd = CreateWindowExW( 0, (LPCWSTR)POPUPMENU_CLASS_ATOM, NULL, .... So classname is an ATOMINT, and in WINPROC_CallProcWtoA it does the following: class_lenW = strlenW(csW->lpszClass) * sizeof(WCHAR); RtlUnicodeToMultiByteSize(&class_lenA, csW->lpszClass, class_lenW); and later RtlUnicodeToMultiByteN(cls, class_lenA, NULL, csW->lpszClass, class_lenW);
From what I read in other functions, there should be something like if (HIWORD(csA->lpszClass)) around it.
A sample backtrace is attached. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2007-11-06 10:05:29 --- BTW, which version of Remedy is this? Can you do a regression to find out which patch introduced the failure? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 --- Comment #2 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2007-11-06 10:08:35 --- The problem should be fixed in GIT now. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 --- Comment #3 from Michael Teske <michael.teske(a)swissrisk.com> 2007-11-06 17:30:24 --- it's 5.01.01. regression might take a while, but I'll try. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 --- Comment #4 from Michael Teske <michael.teske(a)swissrisk.com> 2007-11-06 17:38:25 --- Ok, I know that it worked on CVS from 2007-09-03. Do you need it more accurate? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 --- Comment #5 from James Hawkins <truiken(a)gmail.com> 2007-11-06 17:40:13 --- Michael, please read all the bug report comments, especially comment #2. The bug should be fixed, so please update to git and try again. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 --- Comment #6 from Michael Teske <michael.teske(a)swissrisk.com> 2007-11-06 17:57:38 --- sorry, somehow I ignored them since there were no notify mails. Anyway, I just checked out from git (completely missed that) and started a build, will try tomorrow. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 --- Comment #7 from Michael Teske <michael.teske(a)swissrisk.com> 2007-11-07 02:29:55 --- I just checked and it is fixed there. Thank you very much. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #8 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2007-11-07 03:07:11 --- Confirmed fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2007-11-07 03:07:54 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10327 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org