WineHQ
Bug Tracking Database – Bug 29983

 Bugzilla

 

Last modified: 2014-07-22 02:04:15 UTC  

AVRstudio 4.14 unable to get list of supported device for AVR simulator

Bug 29983 - AVRstudio 4.14 unable to get list of supported device for AVR simulator
AVRstudio 4.14 unable to get list of supported device for AVR simulator
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: msxml3
1.4-rc4
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://www.atmel.com/Images/aStudio4b...
: download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-02-23 14:45 UTC by t.kolousek
Modified: 2014-07-22 02:04 UTC (History)
1 user (show)

See Also:
Regression SHA1:
Fixed by SHA1: 9e950b6509934756fbfc7b24cb466f48594535e9
Distribution: ---
Staged patchset:


Attachments
Terminal log for clean wineprefix, app corectly closed when simulator target not available. (4.28 KB, text/plain)
2012-02-23 14:45 UTC, t.kolousek
Details
Log for clean wineprefix, new simulator2 project, +msxml +tid (688.11 KB, text/plain)
2012-03-06 13:48 UTC, t.kolousek
Details
generated cache.cac file containing all available .xml parts description files (16.38 KB, text/plain)
2012-03-08 16:25 UTC, t.kolousek
Details
patch (529 bytes, patch)
2012-03-09 05:57 UTC, Nikolay Sivov
Details | Diff
Log for clean wineprefix +msxml +tid after patch (101.30 KB, application/x-bzip2)
2012-03-10 14:36 UTC, t.kolousek
Details
Source xmls from Partdescriptionfiles including both autogenerated caches (62.32 KB, application/gzip)
2012-03-10 14:50 UTC, t.kolousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description t.kolousek 2012-02-23 14:45:58 UTC
Created attachment 39032 [details]
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.
Comment 1 t.kolousek 2012-03-05 14:56:03 UTC
Is anything more I can provide? The problem seems to be somewhere in OLE/RPC, which is heavily used by AVR Studio.
Comment 2 Nikolay Sivov 2012-03-05 22:02:51 UTC
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?
Comment 3 t.kolousek 2012-03-06 13:48:11 UTC
Created attachment 39213 [details]
Log for clean wineprefix, new simulator2 project, +msxml +tid
Comment 5 Nikolay Sivov 2012-03-06 21:57:35 UTC
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?
Comment 6 t.kolousek 2012-03-08 16:25:10 UTC
Created attachment 39248 [details]
generated cache.cac file containing all available .xml parts description files
Comment 7 t.kolousek 2012-03-08 17:31:11 UTC
The installation package of AVR studio 4.14 can be downloaded from me at http://web.spscv.cz/~kolousek/avr/
Comment 8 Nikolay Sivov 2012-03-09 05:57:40 UTC
Created attachment 39265 [details]
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.
Comment 9 t.kolousek 2012-03-10 14:36:03 UTC
Created attachment 39298 [details]
Log for clean wineprefix +msxml +tid after patch

Here is the log after patching. Many thanks for your great support.
Comment 10 t.kolousek 2012-03-10 14:50:14 UTC
Created attachment 39299 [details]
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.
Comment 11 Nikolay Sivov 2012-03-11 00:46:59 UTC
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)?
Comment 12 t.kolousek 2012-03-11 14:49:41 UTC
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-patched-+msxml+tid+ole.txt (50MB)
Comment 13 Nikolay Sivov 2012-03-12 12:15:59 UTC
Patch committed as 9e950b6509934756fbfc7b24cb466f48594535e9. I'll try to find some time for next problems.
Comment 14 Anastasius Focht 2014-02-08 05:30:25 UTC
Hello folks,

one problem per bug.

Resolving 'fixed' by commit http://source.winehq.org/git/wine.git/commitdiff/9e950b6509934756fbfc7b24cb466f48594535e9

Thanks Nikolay

Open new bugs for remaining problems but be sure to search Bugzilla for duplicates!

Regards
Comment 15 Alexandre Julliard 2014-02-20 12:37:21 UTC
Closing bugs fixed in 1.7.13.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers