http://bugs.winehq.org/show_bug.cgi?id=30634
Bug #: 30634 Summary: SymInitialize process handle instead of process id in W9x mode Product: Wine Version: 1.3.32 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp AssignedTo: wine-bugs@winehq.org ReportedBy: benito@benibela.de Classification: Unclassified
The wine dbghelp SymInitialize functions only works, when the process handle is passed to it, even in Windows 9x compatibility mode.
But the (old) Platform SDK says explicitely:
hProcess [in] Handle to the process for which symbols are to be maintained. If the application is a debugger, use the process handle for the object being debugged, otherwise use the GetCurrentProcess function to obtain the process handle. **Windows 95/98/Me**: Use the process identifier, not the process handle.
(and it seems to be implemented that way)
http://bugs.winehq.org/show_bug.cgi?id=30634
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2012-05-09 16:54:41 CDT --- Is there an application that depends on this?
http://bugs.winehq.org/show_bug.cgi?id=30634
--- Comment #2 from Benito van der Zander benito@benibela.de 2012-05-09 17:07:00 CDT --- Not yet, but I'm writing one.
If it crashes on Windows, it should print its own backtrace. And it is faster to cross compile it and test it with WINE, than to compile in a VM.
(by the way there is an other problem that it either prints the correct addresses or the correct symbols, but not both; but I don't know yet, if it is your fault or mine )
http://bugs.winehq.org/show_bug.cgi?id=30634
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2012-05-10 00:48:11 CDT --- Unless you are writing an app that requires win9x, there's nothing to fix here. Our goal is not to support win9x beyond the strict minimum required to run apps that can't run in a different mode.
http://bugs.winehq.org/show_bug.cgi?id=30634
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |nerv@dawncrow.de Resolution| |WONTFIX
--- Comment #4 from André H. nerv@dawncrow.de 2013-02-12 09:55:44 CST --- AJ said
http://bugs.winehq.org/show_bug.cgi?id=30634
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2013-03-09 17:28:17 CST --- Closing.