[Bug 24201] New: Visual C++ 2008 Express frequently hangs trying compile a project.
http://bugs.winehq.org/show_bug.cgi?id=24201 Summary: Visual C++ 2008 Express frequently hangs trying compile a project. Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: xerox_xerox2000(a)yahoo.co.uk I tried to compile a simple project: http://www.cplusplus.com/files/wininc.zip Steps to reproduce: Install from VC Express 2008 only VCExpress, _without_ installing native dotnet stuff. Do 'winetricks msxml6" Fire up wine VCExpress.exe. After a few complaints the GUI comes up. Do Open->New Project and open the .dsw file from the link above. After Build->Build Solution the compilation mostly hangs. It succeeded for me only one time out of many attempts. Also Cleaning the project didn't work. I found a simple solution to fix the problem: On the console there were a few fixme:CoGetCallerTID Changing the returncode from E_NOTIMPL to E_FAIL seems to fix all the problems I'll see if i can write a test for this function, to see if i can improve the stub. AnyOne have hints what this function does, as it seems to be undocumented diff --git a/dlls/ole32/ole2stubs.c b/dlls/ole32/ole2stubs.c index b029a86..d0199b7 100644 --- a/dlls/ole32/ole2stubs.c +++ b/dlls/ole32/ole2stubs.c @@ -126,7 +126,7 @@ HRESULT WINAPI OleRegEnumFormatEtc ( HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID) { FIXME("stub!\n"); - return E_NOTIMPL; + return E_FAIL; } /*********************************************************************** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24201 --- Comment #1 from Vincent Povirk <madewokherd(a)gmail.com> 2010-08-29 13:10:47 CDT --- A google search gave me the MSDN documentation: http://msdn.microsoft.com/en-us/library/ms680683%28VS.85%29.aspx Apparently, the "caller" may be from a different apartment, I guess implying that the call has been marshalled. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24201 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.microsoft.com/ex | |press/Downloads/#2008-Visua | |l-CPP CC| |focht(a)gmx.net --- Comment #2 from Anastasius Focht <focht(a)gmx.net> 2010-08-29 13:26:27 CDT --- Hello, yes ole32.CoGetCallerTID() impl is straight forward. I already wished for it here (VS 2005): http://bugs.winehq.org/show_bug.cgi?id=14571 and got only a stub (which was acceptable at that time - only resulting in terminal spam) :-) Regards -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24201 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ole32 |-unknown --- Comment #3 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-08-29 13:37:41 CDT --- hmm, i did a bit more testing, and now it hangs again with the hacked ole32. Maybe it's not related to the CoGetCallerTID after all. I'll do some more testing. Changing component for now -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24201 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #4 from Dan Kegel <dank(a)kegel.com> 2010-08-29 14:02:05 CDT --- See bug 21259 for a similar problem. Does its workaround help? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24201 --- Comment #5 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-08-29 14:14:18 CDT --- (In reply to comment #4)
See bug 21259 for a similar problem. Does its workaround help?
there seem to be a few workarounds in that bug. I tested the "mspdbsrv.exe -start -spawn -shutdowntime -1" and that seems to help! (At least tried 3 times, and those went all fine) Maybe this on is just a duplicate of bug 21259? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24201 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #6 from Dan Kegel <dank(a)kegel.com> 2010-08-29 14:25:57 CDT --- Sounds like it! *** This bug has been marked as a duplicate of bug 21259 *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24201 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2010-08-30 00:11:16 CDT --- Closing. -- 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