https://bugs.winehq.org/show_bug.cgi?id=41460
Bug ID: 41460 Summary: Visual Studio C++ 6.0 crash when exit and a menu is oppened Product: Wine Version: 1.8.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dianaxxyyzz@gmail.com Distribution: ---
Created attachment 55837 --> https://bugs.winehq.org/attachment.cgi?id=55837 backtrace
Hello ,
To reproduce the bug is easy . Open Visual Studio C++ 6.0 and click on Help menu so it to open .Leave it open and close the program . There will be a crash .Attached is backtrace
https://bugs.winehq.org/show_bug.cgi?id=41460
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to Chituc Georgian from comment #0)
Created attachment 55837 [details] backtrace
Hello ,
To reproduce the bug is easy . Open Visual Studio C++ 6.0 and click on Help menu so it to open .Leave it open and close the program . There will be a crash .Attached is backtrace
Does this also happen in Wine 1.8.5 that was released yesterday?
https://bugs.winehq.org/show_bug.cgi?id=41460
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- Output before the crash at console?
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #3 from Chituc Georgian dianaxxyyzz@gmail.com --- To add more about problem
Install visual studio 6 using latest cedega ,using cedega Install application select Visual Studio 6 from the app list ,point it to the setup.exe . It will create the bundle and when Visual Studio Installer ask what you want to install ,check Custom , and deselect all products execept VIsual C++, and Tools . (If you do not do Custom Install ,MSDEV.EXE will remain open and will run also after you close visual c++ ,if you do a custom install it will close but happens the bug we have now ,if you select a menu and you close the app the app crash , but at least using a Custom Install and selecting just VIsual C++, and Tools as products ,MSDEV.EXE closes when you exit the app. So you have to chosee , if you do a Custom install you have the bug with the menu , if you you let it install all ,MSDEV.EXE will not exit when you close the visual studio window.)
I will add console output too and more . But I wanted to be clear that this error happens when you do a Custom Install when Visual studio installer ask what you want to install and deselect all except Tools and Visual C++
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #4 from Chituc Georgian dianaxxyyzz@gmail.com --- I mean install via crossover latest 15.3.1 that is now on official website
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #5 from fjfrackiewicz@gmail.com --- (In reply to Chituc Georgian from comment #4)
I mean install via crossover latest 15.3.1 that is now on official website
If you're installing this application via Crossover, then you need to ask for their support instead, if I am reading your post correctly.
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #6 from Chituc Georgian dianaxxyyzz@gmail.com --- Created attachment 55840 --> https://bugs.winehq.org/attachment.cgi?id=55840 WINEDEBUG=warn+all wine MSDEV.EXE
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #7 from Chituc Georgian dianaxxyyzz@gmail.com --- For wine 1.8.4 is same ,just said about ceedga cause it automate the install process . I tested in wine 1.8.4 and same result
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #8 from Chituc Georgian dianaxxyyzz@gmail.com --- This problem do not apper if in winecfg Allow windows manager to control the window , is off .
From what I see , visual studio dll try to send a message using SendMessageA ,
after the window manager closed the program , so it crash .I'm not sure
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #9 from Chituc Georgian dianaxxyyzz@gmail.com --- I fixed it , for me works good. Maybe not the perfect fix but at least works.
Mods must be made to /dlls/message.c
///////////////////////////add this BOOL CALLBACK DoSomethingCallBack(HWND hwnd, LPARAM lParam) {
PostMessageW( hwnd, WM_KILLFOCUS, 0 ,0);
return TRUE; }
void DoSomethingToWindowTree(HWND hwndRoot) {
EnumThreadWindows( GetWindowThreadProcessId(hwndRoot, NULL) , DoSomethingCallBack, 0);
} ////////////////////////////////
/*********************************************************************** * SendMessageW (USER32.@) */ LRESULT WINAPI SendMessageW( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam ) { DWORD_PTR res = 0; struct send_message_info info;
info.type = MSG_UNICODE; info.hwnd = hwnd; info.msg = msg; info.wparam = wparam; info.lparam = lparam; info.flags = SMTO_NORMAL; info.timeout = 0;
////////////////////////////add this if ( msg == WM_CLOSE) {
DoSomethingToWindowTree(hwnd);
PostMessageW( hwnd, WM_CLOSE, 0 ,0);
return TRUE;
} /////////////////////////////////////
https://bugs.winehq.org/show_bug.cgi?id=41460
Chituc Georgian dianaxxyyzz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|UNCONFIRMED |RESOLVED
--- Comment #10 from Chituc Georgian dianaxxyyzz@gmail.com --- for me works fine now
https://bugs.winehq.org/show_bug.cgi?id=41460
--- Comment #11 from winetest@luukku.com --- (In reply to Chituc Georgian from comment #10)
for me works fine now
It needs to be fixed in wine code to be marked worksforme.
https://bugs.winehq.org/show_bug.cgi?id=41460
Chituc Georgian dianaxxyyzz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WORKSFORME |---
--- Comment #12 from Chituc Georgian dianaxxyyzz@gmail.com --- ok , I got it .I let it unconfirmed . thanks
https://bugs.winehq.org/show_bug.cgi?id=41460
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Keywords| |download URL| |https://archive.org/details | |/vsp600enu