http://bugs.winehq.org/show_bug.cgi?id=29983
Bug #: 29983 Summary: AVRstudio 4.14 unable to get list of supported device for AVR simulator Product: Wine Version: 1.4-rc4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: t.kolousek@gmail.com Classification: Unclassified
Created attachment 39032 --> http://bugs.winehq.org/attachment.cgi?id=39032 Terminal log for clean wineprefix, app corectly closed when simulator target not available.
Atmel AVR studio v4.14 (same behaviour for other versions from 4.08 - 4.19) from www.atmel.com correctly installs and run, but simulator is unusable, because list of supported device is unavailable.
Always reproducible: Create new assembler project - in second step select AVR simulator (v1 or v2, same result). In messages pane there's only line "Error getting supported devices".
Based on terminal info it seems to be related with ole and rpc.
Used on 64bit Gentoo linux, compiled using gcc 4.4.5, only 32bit WINEARCH, fresh wineprefix.
Log for clean wineprexfix attached, with native msxml3 and vcrun2005 behaviour not changed, only xsl_pattern error (3rd from end) disappeared.
http://bugs.winehq.org/show_bug.cgi?id=29983
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ole32 |-unknown
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #1 from t.kolousek@gmail.com 2012-03-05 14:56:03 CST --- Is anything more I can provide? The problem seems to be somewhere in OLE/RPC, which is heavily used by AVR Studio.
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2012-03-05 22:02:51 CST --- This one is interesting:
--- fixme:msxml:xslpattern_error syntax error: param { yyscanner=0x7d2ee0b8 ctx=0x7d2edca8 in="FILES/FILE[SIMULATOR2]" pos=22 len=22 out="(null)" err=1 } scanner=0x7d2ee0b8 ---
Could you attach +msxml,+tid log as a text file?
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #3 from t.kolousek@gmail.com 2012-03-06 13:48:11 CST --- Created attachment 39213 --> http://bugs.winehq.org/attachment.cgi?id=39213 Log for clean wineprefix, new simulator2 project, +msxml +tid
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #4 from t.kolousek@gmail.com 2012-03-06 14:55:41 CST --- Okay, log attached.
Seems that some interfaces are missing:
IRunnableObject - http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.ole.interop.i... IServiceProvider - http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.ole.interop.i... IBindStatusCallbackEx - http://msdn.microsoft.com/en-us/library/ie/cc197029%28v=vs.85%29.aspx IInteretProtocol - http://msdn.microsoft.com/en-us/library/ie/aa767883%28v=vs.85%29.aspx
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2012-03-06 21:57:35 CST --- Some of them are not supposed to be implemented at all, some are optional.
So this document is loaded and queried with this strange pattern: --- C:\Program Files\Atmel\AVR Tools\PartDescriptionFiles\cache.cac ---
I'm not sure if this is a generated file or is it supplied with application, that probably makes it illegal to attach. Is it possible to download this particular version of AVR Studio somewhere?
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #6 from t.kolousek@gmail.com 2012-03-08 16:25:10 CST --- Created attachment 39248 --> http://bugs.winehq.org/attachment.cgi?id=39248 generated cache.cac file used by simulator target
http://bugs.winehq.org/show_bug.cgi?id=29983
t.kolousek@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39248|generated cache.cac file |generated cache.cac file description|used by simulator target |containing all available | |.xml parts description | |files
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #7 from t.kolousek@gmail.com 2012-03-08 17:31:11 CST --- The installation package of AVR studio 4.14 can be downloaded from me at http://web.spscv.cz/~kolousek/avr/
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2012-03-09 05:57:40 CST --- Created attachment 39265 --> http://bugs.winehq.org/attachment.cgi?id=39265 patch
I'm not able to try this application cause main AVR Studio window is not responsive (doesn't get input and looks inactive).
Please attach new +msxml,+tid log running with attached patch.
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #9 from t.kolousek@gmail.com 2012-03-10 14:36:03 CST --- Created attachment 39298 --> http://bugs.winehq.org/attachment.cgi?id=39298 Log for clean wineprefix +msxml +tid after patch
Here is the log after patching. Many thanks for your great support.
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #10 from t.kolousek@gmail.com 2012-03-10 14:50:14 CST --- Created attachment 39299 --> http://bugs.winehq.org/attachment.cgi?id=39299 Source xmls from Partdescriptionfiles including both autogenerated caches
Because you encounter problems running AVR studio (FYI: I build my wine with "X alsa cups gecko jpeg opengl ssl threads truetype win32 xml fontconfig and xcomposite" only), I attached slimmed down version of xml files from Partdescriptionfiles folder, which are scanned during new project creation. Maybe this helps.
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com 2012-03-11 00:46:59 CST --- Well, this clearly a progress, cause it fails much further and 'FILES/FILE[SIMULATOR2]' query works now.
New loading failures happened because there's no data to load - loadXML() is called with null BSTR pointer, not sure why.
Also there's a new vbscript failure in log:
--- 0009:fixme:vbscript:DllGetClassObject {3f4daca4-160d-11d2-a8e9-00104b365c9f} {00000001-0000-0000-c000-000000000046} 0x33cd24 0009:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 0009:err:ole:create_server class {3f4daca4-160d-11d2-a8e9-00104b365c9f} not registered 0009:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 0009:err:ole:CoGetClassObject no class object {3f4daca4-160d-11d2-a8e9-00104b365c9f} could be created for context 0x17 ---
so it wants RegExp from vbscript. Could you try with native vbscript (keeping builtin msxml*+patch)?
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #12 from t.kolousek@gmail.com 2012-03-11 14:49:41 CDT --- Sounds good. I checked with and without native vbscript.dll and can't reproduce the failed RegExp interface. If I remember right it has something to do with other targets, I switched them few times on project creation. Id doesn't hurt at all.
I checked the old debug without patch nad I realized that althrough there's xslpattern_error, the part names supported by the simulator are found in the result (@part, ATTiny8 for example).
But what about "I_RpcReceive we got fault packet with status 0x3e6" and "0009:err:ole:xCall RpcChannelBuffer SendReceive failed"? Couldn't be that the reason that we have nil for loadXML()?
Log for +msxml,+tid,+ole can be found on http://web.spscv.cz/~kolousek/avr/wine-avrstudio414-newsim2project-clean-pat... (50MB)
http://bugs.winehq.org/show_bug.cgi?id=29983
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com 2012-03-12 12:15:59 CDT --- Patch committed as 9e950b6509934756fbfc7b24cb466f48594535e9. I'll try to find some time for next problems.
https://bugs.winehq.org/show_bug.cgi?id=29983
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9e950b6509934756fbfc7b24cb4 | |66f48594535e9 Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Resolution|--- |FIXED
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
one problem per bug.
Resolving 'fixed' by commit http://source.winehq.org/git/wine.git/commitdiff/9e950b6509934756fbfc7b24cb4...
Thanks Nikolay
Open new bugs for remaining problems but be sure to search Bugzilla for duplicates!
Regards
https://bugs.winehq.org/show_bug.cgi?id=29983
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.13.
http://bugs.winehq.org/show_bug.cgi?id=29983
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.atmel.com/Images | |/aStudio4b589.exe Component|-unknown |msxml3