http://bugs.winehq.org/show_bug.cgi?id=13967
Summary: Pando crashes in install Product: Wine Version: 1.0-rc5 Platform: Other URL: http://www.pando.com OS/Version: other Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com Blocks: 9364
Created an attachment (id=14135) --> (http://bugs.winehq.org/attachment.cgi?id=14135) Terminal output - wine 1.0-rc5
Testing for bug 9364, Pando crashes during install. Not sure if it's a regression in wine or in Pando's installer. I unchecked all optional components in install (if you don't, it still crashes, but not in crypt32). Terminal output attached, +relay,+seh,+tid to follow.
http://bugs.winehq.org/show_bug.cgi?id=13967
--- Comment #1 from Austin English austinenglish@gmail.com 2008-06-17 07:56:52 --- Created an attachment (id=14136) --> (http://bugs.winehq.org/attachment.cgi?id=14136) +relay in git, tail -n 100000, rzip'ed
http://bugs.winehq.org/show_bug.cgi?id=13967
--- Comment #2 from Austin English austinenglish@gmail.com 2008-12-18 12:50:26 --- Now crashing on: wine: Call from 0x7ee326e0 to unimplemented function pdh.dll.PdhEnumObjectItemsW, aborting
http://bugs.winehq.org/show_bug.cgi?id=13967
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com 2008-12-18 15:23:33 --- Created an attachment (id=18058) --> (http://bugs.winehq.org/attachment.cgi?id=18058) PdhEnum stub
Doesn't get much further with a stub for that PdhEnum* function, I think it crashes somewhere in wininet.
http://bugs.winehq.org/show_bug.cgi?id=13967
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13967
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #4 from Austin English austinenglish@gmail.com 2008-12-19 12:31:54 --- Yeah, you're right, it's not that stub crashing it. Native wininet doesn't help either though...
http://bugs.winehq.org/show_bug.cgi?id=13967
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #5 from Anastasius Focht focht@gmx.net 2008-12-19 13:56:30 --- Hello,
PdhEnumObjectItemsW is the first blocker, it's actually needed. The app tries to query network adapter names using this API.
The proposed patch/stub is sufficient, failure (return value PDH_NOT_IMPLEMENTED) is not considered critical by app.
You might want to send your patch to mailing list for inclusion into source tree.
---
The next blocker is InternetQueryOption( NULL, INTERNET_OPTION_PER_CONNECTION_OPTION, ...) failing when the app queries the proxy settings.
--- snip --- 001c:Call wininet.InternetQueryOptionW(00000000,0000004b,00328a5c,00328a70) ret=0042b656 001c:trace:wininet:InternetQueryOptionW (nil) 75 0x328a5c 0x328a70 001c:fixme:wininet:INET_QueryOption INTERNET_OPTION_PER_CONNECTION_OPTION stub 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 4 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 5 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 3 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 2 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 6 001c:Call KERNEL32.SetLastError(00000057) ret=605ce1db 001c:Ret KERNEL32.SetLastError() retval=00000057 ret=605ce1db 001c:Ret wininet.InternetQueryOptionW() retval=00000000 ret=0042b656 001c:CALL MSVCR90._CxxThrowException(<unknown, check return>) ret=0042b69f 001c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,003289e4) ret=7857dbf9 001c:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b844dc0 --- snip ---
The app's code to query proxy settings is much similar to this example app code snippet: http://support.microsoft.com/kb/226473 ("How to programmatically query and set proxy settings under Internet Explorer", section "Under Internet Explorer 5, the recommended way is to use code similar to below: ")
Wine's wininet needs to flesh it out a bit to keep the app happy ...
Regards
http://bugs.winehq.org/show_bug.cgi?id=13967
--- Comment #6 from Austin English austinenglish@gmail.com 2008-12-19 14:47:16 --- Trying: $ rm -rf ~/.wine $ wget http://www.pando.com/dl/download/PandoSetup.exe $ winetricks -q pdh wininet gecko $ wine PandoSetup.exe
Still gives an error at the end. Possibly trying to start Pando?
err:winebrowser:get_url_from_dde Unabled to retrieve URL from string L""" err:winebrowser:wmain Usage: winebrowser URL fixme:advapi:RegisterEventSourceW ((null),L"PDH"): stub fixme:ole:CoResumeClassObjects stub 19/14:46:25.702 Thr(00a36630) I:PDCi_initApp
Started Pando
fixme:advapi:GetCurrentHwProfileW (0x33b8f4) fixme:wininet:INET_QueryOption INTERNET_OPTION_PER_CONNECTION_OPTION stub fixme:wininet:INET_QueryOption Unhandled dwOption 4 fixme:wininet:INET_QueryOption Unhandled dwOption 5 fixme:wininet:INET_QueryOption Unhandled dwOption 3 fixme:wininet:INET_QueryOption Unhandled dwOption 2 fixme:wininet:INET_QueryOption Unhandled dwOption 6
http://bugs.winehq.org/show_bug.cgi?id=13967
--- Comment #7 from Anastasius Focht focht@gmx.net 2008-12-19 19:54:14 --- Hello,
--- quote --- Trying: $ rm -rf ~/.wine $ wget http://www.pando.com/dl/download/PandoSetup.exe $ winetricks -q pdh wininet gecko $ wine PandoSetup.exe
Still gives an error at the end. Possibly trying to start Pando?
err:winebrowser:get_url_from_dde Unabled to retrieve URL from string L""" err:winebrowser:wmain Usage: winebrowser URL fixme:advapi:RegisterEventSourceW ((null),L"PDH"): stub fixme:ole:CoResumeClassObjects stub 19/14:46:25.702 Thr(00a36630) I:PDCi_initApp
Started Pando
fixme:advapi:GetCurrentHwProfileW (0x33b8f4) fixme:wininet:INET_QueryOption INTERNET_OPTION_PER_CONNECTION_OPTION stub fixme:wininet:INET_QueryOption Unhandled dwOption 4 fixme:wininet:INET_QueryOption Unhandled dwOption 5 fixme:wininet:INET_QueryOption Unhandled dwOption 3 fixme:wininet:INET_QueryOption Unhandled dwOption 2 fixme:wininet:INET_QueryOption Unhandled dwOption 6 --- quote ---
What are you up to? Trying to prove me wrong?
Sorry, but if you pay attention to last console FIXME's you would have noticed that despite your winetricks override, native wininet isn't loaded which clearly indicates something wrong with your system. Probably winetricks script bug.
If you are unsure about builtin vs. native, use proper debug channels like +loaddll and +module to verify the load order decision making, e.g. which one really gets loaded.
You might want to check if there really exist only one (native) wininet in your system32 folder (and not the placeholder). If you got two wininet dll copies with different filename casing you have a problem.
If native wininet override still doesn't solve it, I'd blame native wininet (too old, unsupported stuff, registry data missing) whatever. I'm not going to investigate such stuff. Feel free to use +snoop for examining native override in/out behaviour.
I debugged the app under Wine and can clearly tell what does it expect from Wine/how does it react.
So please don't waste my time to prove something wrong by playing with winetricks native overrides and trying to guess from console output.
Native overrides are rarely a miracle cure, they tend to open up a can of worms. The goal of Wine is to get rid of native dependencies.
Regards
http://bugs.winehq.org/show_bug.cgi?id=13967
--- Comment #8 from Damjan Jovanovic damjan.jov@gmail.com 2008-12-20 03:12:13 --- Created an attachment (id=18089) --> (http://bugs.winehq.org/attachment.cgi?id=18089) Always succeed on InternetQueryOption
With this one-line hack to wininet (that someone will need to implement properly) combined with my PDH.DLL patch, Pando gets much further and asks for Gecko, if you say no it looks badly broken (heap corruption and redraw bugs). Maybe somebody wants to test it with Gecko?
Anastasius you're a legend, and your work on wine inspires me. Thank you.
My PDH.DLL patch has been mailed to wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=13967
--- Comment #9 from Austin English austinenglish@gmail.com 2008-12-22 15:26:00 --- (In reply to comment #7)
Hello,
--- quote --- Trying: $ rm -rf ~/.wine $ wget http://www.pando.com/dl/download/PandoSetup.exe $ winetricks -q pdh wininet gecko $ wine PandoSetup.exe
Still gives an error at the end. Possibly trying to start Pando?
err:winebrowser:get_url_from_dde Unabled to retrieve URL from string L""" err:winebrowser:wmain Usage: winebrowser URL fixme:advapi:RegisterEventSourceW ((null),L"PDH"): stub fixme:ole:CoResumeClassObjects stub 19/14:46:25.702 Thr(00a36630) I:PDCi_initApp
Started Pando
fixme:advapi:GetCurrentHwProfileW (0x33b8f4) fixme:wininet:INET_QueryOption INTERNET_OPTION_PER_CONNECTION_OPTION stub fixme:wininet:INET_QueryOption Unhandled dwOption 4 fixme:wininet:INET_QueryOption Unhandled dwOption 5 fixme:wininet:INET_QueryOption Unhandled dwOption 3 fixme:wininet:INET_QueryOption Unhandled dwOption 2 fixme:wininet:INET_QueryOption Unhandled dwOption 6 --- quote ---
What are you up to? Trying to prove me wrong?
Of course not ;-). More of a note to self, and for anyone else attempting to get it working.
Sorry, but if you pay attention to last console FIXME's you would have noticed that despite your winetricks override, native wininet isn't loaded which clearly indicates something wrong with your system. Probably winetricks script bug.
It is, I've sent Dan a patch for it.
As always, thanks for your work Anastasius!
http://bugs.winehq.org/show_bug.cgi?id=13967
ricardo filipe ricardo_barbano@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricardo_barbano@hotmail.com
--- Comment #10 from ricardo filipe ricardo_barbano@hotmail.com 2009-01-28 08:25:03 --- my patch with the PdhEnumObjectItems stub got commited today. you might want to try again.
http://bugs.winehq.org/show_bug.cgi?id=13967
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wininet
--- Comment #11 from Austin English austinenglish@gmail.com 2009-01-28 10:30:27 --- Yeah, pdh part is fixed. Still needs wininet fixed.
http://bugs.winehq.org/show_bug.cgi?id=13967
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #12 from Dan Kegel dank@kegel.com 2009-01-29 10:43:29 --- wininet fix committed, http://www.winehq.org/pipermail/wine-cvs/2009-January/052524.html please retest
btw thanks Anastasius and Austin for the help on winetricks.
http://bugs.winehq.org/show_bug.cgi?id=13967
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Austin English austinenglish@gmail.com 2009-01-29 12:09:52 --- Yep, works great now, thanks!
http://bugs.winehq.org/show_bug.cgi?id=13967
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2009-01-30 11:04:12 --- Closing bugs fixed in 1.1.14.
http://bugs.winehq.org/show_bug.cgi?id=13967
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e1b916c1428647ca0c41b755856 | |e520877cc5f6a Hardware|Other |x86 OS|other |Linux