http://bugs.winehq.org/show_bug.cgi?id=17076
Summary: Embedded .NET installer hangs in installation of SnelStart Product: Wine Version: 1.1.13 Platform: PC-x86-64 URL: http://www.snelstart.nl/Proberen/Proberen.aspx OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Paul.Vriens.Wine@gmail.com
(SnelStart is a Dutch Accounting Application)
I'm running up-to-date GIT.
When running 'wine SetupDemoSnelStart.exe' one sees that it downloads dotnetfx.exe (http://www.installengine.com/cert05/dotnetfx/dotnetfx.exe). After that there will be a 'InstallShield Wizard' window that keeps busy stating that it's configuring the .NET framework.
'ps -ef' shows: C:\windows\temp{A4D5D16A-A0C9-4F8A-8929-F0B61C32EDEB}\dotnetfx.exe /q:a /ver:v1.1.4322 /redistui:S /c:/q:a /c:install /q /coreui:1033
I have no idea what logs to attach so please advise.
http://bugs.winehq.org/show_bug.cgi?id=17076
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=17076
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2009-01-22 16:34:55 --- Hello,
stack vs. heap based buffer bug while handling inter-process window message. The spawned child process (tid=0x1d) tries to fetch dialog control text from father process (tid=0x9) using GetDlgItemTextA().
--- snip --- 0009:Call user32.CreateDialogParamA(00400000,000003e9,00000000,0040fe08,005622a8) ret=0040fb10 ... 0009:Ret user32.CreateDialogParamA() retval=0001002a ret=0040fb10 ... 0009:trace:win:WIN_CreateWindowEx "" L"Static" ex=00000004 style=50020000 180,137 299x13 parent=0x1002a menu=0x3eb inst=0x400000 params=(nil) 0009:trace:win:dump_window_styles style: WS_CHILD WS_VISIBLE WS_GROUP 0009:trace:win:dump_window_styles exstyle: WS_EX_NOPARENTNOTIFY 0009:trace:win:WIN_SetWindowLong 0x10032 -12 3eb W ... 0009:trace:win:WIN_CreateWindowEx created window 0x10032 ... 001d:Call user32.GetDlgItemTextA(0001002a,000003eb,00582a88,00000200) ret=004070c0 001d:trace:msg:WINPROC_CallProcAtoW (hwnd=0x10032,msg=WM_GETTEXT,wp=00000200,lp=00582a88) 001d:trace:msg:send_inter_thread_message hwnd 0x10032 msg d (WM_GETTEXT) wp 200 lp 33f53c 0009:Ret user32.MsgWaitForMultipleObjects() retval=00000001 ret=0042038a 0009:Call user32.PeekMessageA(0032cca8,00000000,00000000,00000000,00000001) ret=0042039f 0009:trace:msg:peek_message got type 5 msg d (WM_GETTEXT) hwnd 0x10032 wp 200 lp 33f53c 0009:Ret user32.PeekMessageA() retval=00000000 ret=0042039f 0009:Call user32.MsgWaitForMultipleObjects(00000001,0032cd24,00000000,ffffffff,000000ff) ret=0042038a 0009:Ret user32.MsgWaitForMultipleObjects() retval=00000001 ret=0042038a 0009:Call user32.PeekMessageA(0032cca8,00000000,00000000,00000000,00000001) ret=0042039f 0009:trace:msg:peek_message got type 7 msg 200 (WM_MOUSEMOVE) hwnd 0x1002a wp 0 lp 0 ... --- snip ---
When the inter-process message is handled in peek_message(), a local buffer is used first. Message type MSG_OTHER_PROCESS -> unpack_message() -> WM_GETTEXT -> get_buffer_space(). get_buffer_space() assumes the buffer is from heap which isn't in this case.
Regards
http://bugs.winehq.org/show_bug.cgi?id=17076
--- Comment #2 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-01-23 01:14:48 --- Created an attachment (id=18921) --> (http://bugs.winehq.org/attachment.cgi?id=18921) Quick hack to user32/message.c
http://bugs.winehq.org/show_bug.cgi?id=17076
--- Comment #3 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-01-23 01:20:13 --- The attached hack makes the install go further (probably leaking all over the place). It now starts to download .NET 1.x and a servicepack. That installation also doesn't succeed but first things first.
http://bugs.winehq.org/show_bug.cgi?id=17076
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer, patch
http://bugs.winehq.org/show_bug.cgi?id=17076
Paul Vriens Paul.Vriens.Wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
--- Comment #4 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-01-23 04:14:28 --- This turns out to be a regression:
7804129e68a0b25549b729854c15706827140b46
I did a checkout just before this commit and the installer proceeds. Adding that patch makes it fail to download the subsequent installers again. Remember that the full install still doesn't work but I will open a separate bug report for that once this is fixed.
(Added AJ to the -cc).
http://bugs.winehq.org/show_bug.cgi?id=17076
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=17076
Paul Vriens Paul.Vriens.Wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-01-26 10:38:53 --- Fixed in GIT
http://bugs.winehq.org/show_bug.cgi?id=17076
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2009-01-30 11:05:14 --- Closing bugs fixed in 1.1.14.
http://bugs.winehq.org/show_bug.cgi?id=17076
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fd3c7be0e0f7b3ea4936f647ca7 | |63c2b5eb6b1f3 Component|-unknown |user32 Regression SHA1| |7804129e68a0b25549b729854c1 | |5706827140b46
--- Comment #7 from Anastasius Focht focht@gmx.net 2011-10-10 14:43:03 CDT --- Hello,
filling/correcting some fields...
Regards