http://bugs.winehq.org/show_bug.cgi?id=26207
Summary: AVRStudio 4 : crashes when connecting to the programmer using COM port Product: Wine Version: 1.3.14 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: wike.svk@gmail.com
Created an attachment (id=33411) --> (http://bugs.winehq.org/attachment.cgi?id=33411) Console output during the crash
AVRStudio 4.18 (build 716) crashes while connecting to the STK500 using COM1 port. This bug is always in effect. I have provided log that seems to link this problem with the translation from the msxml3 to the libxml2 (v2.7.8). The crash occurs when the "xmlDictLookup" function is called.
Way to reproduce: - create symbolic link to the COM1 interface under Wine's "dosdevices" directory ("ln -s /dev/ttyUSB0 com1") - run AVR Studio - In menu select "Tools->Program AVR->Connect" - Select "STK500" and "COM1" port - Click "Connect..."
You can find AVRStudio at : http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2725
http://bugs.winehq.org/show_bug.cgi?id=26207
wk wike.svk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33411|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2011-02-22 17:38:43 CST --- Install wine and libxml2 debug symbols and attach +msxml,+tid log please (as plain text file). Also specify libxml2 version.
http://bugs.winehq.org/show_bug.cgi?id=26207
wk wike.svk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33411|0 |1 is obsolete| |
--- Comment #2 from wk wike.svk@gmail.com 2011-02-22 19:00:47 CST --- Created an attachment (id=33413) --> (http://bugs.winehq.org/attachment.cgi?id=33413) Log with debugging symbols
Applications: - wine-git-20110223-1 - libxml2 2.7.8-1 both with debugging symbols and wine with +tid,+wine debug channels.
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #3 from wk wike.svk@gmail.com 2011-02-22 19:07:57 CST --- (In reply to comment #2)
Created an attachment (id=33413)
--> (http://bugs.winehq.org/attachment.cgi?id=33413) [details]
Log with debugging symbols
Applications:
- wine-git-20110223-1
- libxml2 2.7.8-1
both with debugging symbols and wine with +tid,+wine debug channels.
FIX:Instead of +wine I used +msxml. I hope this log this will provide you enough information about the problem.
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2011-02-22 19:21:20 CST --- It's another reference counting bug:
--- 0009:trace:msxml:domelem_Release (0x23b2b98) ref=1 0009:trace:msxml:domelem_Release (0x23b2b98) ref=0 0009:trace:msxml:xmldoc_release (0x7dec3ed8)->(0) 0009:trace:msxml:xmldoc_release freeing docptr 0x7dec3ed8 ...and after a query... 0009:trace:msxml:domdoc_createElement (0x23b2588)->(L"FILE" 0x33d798) 0009:trace:msxml:domdoc_createNode (0x23b2588)->(L"FILE" (null) 0x33d758) 0009:trace:msxml:domdoc_createNode node_type 1 0009:trace:msxml:create_node type 1 0009:trace:msxml:xmldoc_add_ref (0x7dec3ed8)->(-1218935751) ---
So xmlDoc is released while domdoc document is still here. I'll take a closer look at log tomorrow.
Is it possible to reproduce with any hardware attached to COM?
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #5 from wk wike.svk@gmail.com 2011-02-22 19:36:44 CST --- (In reply to comment #4)
So xmlDoc is released while domdoc document is still here. I'll take a closer look at log tomorrow.
Thank you.
Is it possible to reproduce with any hardware attached to COM?
Yes, it seems this error occurs no matter what hardware or COM port I choose. It also crashes while the hardware is attached or not.
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2011-02-25 19:21:48 CST --- I can't install it with wine-1.3.14-154-gde7d1ad, can you confirm that?
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #7 from wk wike.svk@gmail.com 2011-02-26 10:20:14 CST --- (In reply to comment #6)
I can't install it with wine-1.3.14-154-gde7d1ad, can you confirm that?
I had just compiled again the last version from git repository (wine-1.3.14-154-gde7d1ad) and I was able to install AVRStudio with no problems.
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #8 from wk wike.svk@gmail.com 2011-02-26 15:51:22 CST --- I don't know if this is related, but I had installed these patches for Windows Installer before : Hotfix for Windows XP (KB915865) - Windows Installer 4.5 Hotfix for Windows XP (KB958655-v2) - Error message when you use Windows Installer (MSI) 4.5 to install multiple MSI packages in Windows Server 2008, Windows Vista, Windows Server 2003 or Windows XP: "API call rejected - No actions in Context"
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2011-03-05 11:30:55 CST --- It doesn't install for me with 1.3.15. Please open another bug for installer problem.
P.S. it gives message box saying it's already installed.
http://bugs.winehq.org/show_bug.cgi?id=26207
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |26317
http://bugs.winehq.org/show_bug.cgi?id=26207
--- Comment #10 from wk wike.svk@gmail.com 2011-03-19 10:33:50 CDT --- I can confirm that in latest version (1.3.16) this bug is not in effect anymore.
http://bugs.winehq.org/show_bug.cgi?id=26207
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-21 03:27:20 CDT --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=26207
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2011-04-01 12:41:09 CDT --- Closing bugs fixed in 1.3.17.
https://bugs.winehq.org/show_bug.cgi?id=26207 Bug 26207 depends on bug 26317, which changed state.
Bug 26317 Summary: AVRStudio 4 installer fails, reports 'The application is already installed' https://bugs.winehq.org/show_bug.cgi?id=26317
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED