http://bugs.winehq.org/show_bug.cgi?id=35547
Bug ID: 35547 Summary: avr studio stopped working when i created a new project Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hugostiglitzreloaded@gmail.com Classification: Unclassified
Created attachment 47463 --> http://bugs.winehq.org/attachment.cgi?id=47463 backtrace file for bug report
on new project creation the application terminated unexpetedly
http://bugs.winehq.org/show_bug.cgi?id=35547
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Version|unspecified |1.4 URL| |ftp://ftp.efo.ru/pub/Atmel/ | |_avr/avrstudio4setup.exe Keywords| |download Component|-unknown |msxml3 CC| |focht@gmx.net Ever confirmed|0 |1 Summary|avr studio stopped working |AVR Studio 4.x crashes |when i created a new |during creation of |project |gcc-based projects
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming with recent Wine 1.7.12
BTW your Wine version 1.4 is ancient and no longer supported. Please upgrade your Wine to a recent version. If you don't know how to do this, ask in Winehq forums (http://forum.winehq.org/).
Prerequisite: 'winetricks -q mfc42' (some skinning plugins need this)
It seems this is another msxml related bug.
'winetricks msxml3' works around.
1) 'new project' -> select 'AVR GCC' 2) fill project name -> 'next' 3) select device -> 'finish'
If it doesn't crash during project creation, try to load existing project.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Atmel/AVR Tools/AvrStudio4
$ wine ./AVRStudio.exe ... Unhandled exception: page fault on read access to 0x4347525e in 32-bit code (0x02518fa7). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:02518fa7 ESP:0033b0bc EBP:0033b114 EFLAGS:00210202( R- -- I - - - ) EAX:025ec444 EBX:0033b0f4 ECX:43475256 EDX:00000002 ESI:01d59db4 EDI:7e03c198 ... Backtrace: =>0 0x02518fa7 in avrpluginavrgccplugin (+0x28fa7) (0x0033b114) 1 0x024f3595 in avrpluginavrgccplugin (+0x3594) (0x0033b150) 2 0x024f615e in avrpluginavrgccplugin (+0x615d) (0x0033b180) 3 0x004cb16d in avrstudio (+0xcb16c) (0x0033b1cc) 4 0x0045590c in avrstudio (+0x5590b) (0x0033b40c) 5 0x00000001 (0x0059f17c) 6 0x00508cd0 in avrstudio (+0x108ccf) (0x00522eea) 7 0x25ff0057 (0xd74825ff) 0x02518fa7: call *0x8(%ecx) ... Modules: Module Address Debug info Name (142 modules) PE 340000- 34f000 Deferred avrrot3 PE 370000- 37f000 Deferred atmelavrevtq PE 390000- 39f000 Deferred atmelerrmsgq PE 3b0000- 3da000 Deferred avrcoordinator PE 3e0000- 3f3000 Deferred avrdisassembler PE 400000- 72d000 Export avrstudio PE 1770000- 178a000 Deferred avrice50trace PE 17a0000- 17fc000 Deferred avrdebugger PE 2040000- 204e000 Deferred libelf PE 21e0000- 227b000 Deferred stk500dll PE 2280000- 22b0000 Deferred libelfdwarfparser PE 22b0000- 22d1000 Deferred libdwarf PE 22e0000- 232c000 Deferred ziparchive PE 2440000- 245a000 Deferred avrframework PE 24c0000- 24e7000 Deferred avrpluginavrasmobject PE 24f0000- 2579000 Export avrpluginavrgccplugin PE 2be0000- 2c40000 Deferred avrtargetdragon PE 10000000-10582000 Deferred bcgcbpro103090 ... Threads: process tid prio (all id:s are in hex) ... 0000000b (D) C:\Program Files\Atmel\AVR Tools\AvrStudio4\AVRStudio.exe ... 0000000d 0 <== --- snip ---
$ sha1sum avrstudio4setup.exe 5f51be18878fcfcf5d590927646bf2e4077ab932 avrstudio4setup.exe
$ du -sh avrstudio4setup.exe 124M avrstudio4setup.exe
$ wine --version wine-1.7.12
Regards
http://bugs.winehq.org/show_bug.cgi?id=35547
--- Comment #2 from Anastasius Focht focht@gmx.net --- Created attachment 47465 --> http://bugs.winehq.org/attachment.cgi?id=47465 WINEDEBUG=+tid,+seh,+loaddll,+process,+msxml wine ./AVRStudio.exe
Hello folks,
attached is bzip2 compressed WINEDEBUG=+tid,+seh,+loaddll,+process,+msxml trace log (uncompressed: 3.3M).
Regards
http://bugs.winehq.org/show_bug.cgi?id=35547
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
addendum ...
From a quick glance it seems the AVR gcc plugin tries access already freed
memory in attempt to call msxml3.domselection_xxx methods (ref counting problem?).
Regards
https://bugs.winehq.org/show_bug.cgi?id=35547
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- still crashing 1.7.50(git)
https://bugs.winehq.org/show_bug.cgi?id=35547
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #5 from winetest@luukku.com --- Doesnt crash when creating a project, but does when trying to load a one...
wine 2.0-git.
https://bugs.winehq.org/show_bug.cgi?id=35547
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com URL|ftp://ftp.efo.ru/pub/Atmel/ |https://archive.org/downloa |_avr/avrstudio4setup.exe |d/avrstudio4setup/AvrStudio | |4Setup.exe
--- Comment #6 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Anastasius Focht from comment #3)
Hello folks,
addendum ... From a quick glance it seems the AVR gcc plugin tries access already freed memory in attempt to call msxml3.domselection_xxx methods (ref counting problem?).
Regards
Updated to a working download link.
The bug is very sporadic. You have to open a number of projects, before it crashes.
Still crashes around those domselection_xxx methods. Nothing is obviously wrong in our msxml code though.