http://bugs.winehq.org/show_bug.cgi?id=31372
Bug #: 31372 Summary: Cypress PSoC Designer installer crashes with "Fatal error in GC" Product: Wine Version: 1.5.9 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
To reproduce: - Download ccb9602ac3e0628fd0066816bce2b5d8756c10f4 psoc_designer_5.2_b2401.iso from http://www.cypress.com/?rID=36833 - Mount it - rm -rf .wine - wine /mnt/cyautorun.exe - Click Install - Click Next
After a couple seconds, I get "Fatal Error in gc / GetThreadContext failed".
(Doesn't quite seem like bug 23246, since it's not random, and it's a different message than in bug 25192.)
http://bugs.winehq.org/show_bug.cgi?id=31372
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.cypress.com/?rID | |=36833
--- Comment #1 from Dan Kegel dank@kegel.com 2012-07-31 13:37:26 CDT --- 'winetricks dotnet20 ie7' seems to work around the problem.
http://bugs.winehq.org/show_bug.cgi?id=31372
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree
--- Comment #2 from Austin English austinenglish@gmail.com 2012-07-31 15:06:14 CDT --- Terminal output? It's likely in mscoree.
http://bugs.winehq.org/show_bug.cgi?id=31372
--- Comment #3 from Dan Kegel dank@kegel.com 2012-07-31 22:10:45 CDT --- Created attachment 41221 --> http://bugs.winehq.org/attachment.cgi?id=41221 +text,+process,+msi log
Here's a log of running just the inner installer: cd /mnt/"PSoC Designer" WINEDEBUG=+process,+text,+msi wine PSoCDesignerSetup.exe It seems the installer runs to near completion, and then launches checkSurvey.exe -del, and then the error pops up.
http://bugs.winehq.org/show_bug.cgi?id=31372
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #4 from hanska2@luukku.com --- Could you retry?
https://bugs.winehq.org/show_bug.cgi?id=31372
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mscoree |-unknown Resolution|--- |WORKSFORME Summary|Cypress PSoC Designer |Cypress PSoC Designer 5.2 |installer crashes with |installer (.NET app) |"Fatal error in GC" |crashes with "Fatal error | |in GC" when using Wine-Mono Keywords| |Installer Status|NEW |RESOLVED CC| |focht@gmx.net
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
I can't reproduce this, resolving 'fixed' here.
--- snip --- $ pwd /home/focht/mountiso/Downloads/psoc_designer_5.2_b2401.iso
$ ls -lsa total 1436 2 dr-xr-xr-x. 1 root root 2048 Dec 14 2011 . 4 drwxrwxr-x. 3 focht focht 4096 Sep 29 20:57 .. 1 -r-xr-xr-x. 1 root root 76 Dec 2 2011 autorun.inf 1 -r-xr-xr-x. 1 root root 108 Dec 2 2011 cyautorun.dat 1414 -r-xr-xr-x. 1 root root 1447280 Dec 2 2011 cyautorun.exe 2 dr-xr-xr-x. 1 root root 2048 Dec 14 2011 Prerequisite 2 dr-xr-xr-x. 1 root root 2048 Dec 14 2011 'PSoC Designer' 2 dr-xr-xr-x. 1 root root 2048 Dec 14 2011 'PSoC Programmer' 10 -r-xr-xr-x. 1 root root 9662 Oct 20 2011 setup.ico
$ ls -lsa Prerequisite/ total 375404 2 dr-xr-xr-x. 1 root root 2048 Dec 14 2011 . 2 dr-xr-xr-x. 1 root root 2048 Dec 14 2011 .. 237054 -r-xr-xr-x. 1 root root 242743296 Jun 13 2011 dotnetfx35.exe 28967 -r-xr-xr-x. 1 root root 29662072 May 10 2010 IE7-WindowsServer2003-x64-enu.exe 15063 -r-xr-xr-x. 1 root root 15424376 May 10 2010 IE7-WindowsServer2003-x86-enu.exe 15091 -r-xr-xr-x. 1 root root 15452536 May 10 2010 IE7-WindowsXP-x86-enu.exe 48044 -r-xr-xr-x. 1 root root 49196040 Jun 24 2009 NetFx20SP1_x64.exe 24179 -r-xr-xr-x. 1 root root 24758792 Jun 24 2009 NetFx20SP1_x86.exe 2526 -r-xr-xr-x. 1 root root 2585872 Jun 24 2009 WindowsInstaller-KB893803-v2-x86.exe 4478 -r-xr-xr-x. 1 root root 4584688 Jun 24 2009 WindowsXP-KB898715-x64-enu.exe --- snip ---
Tested using clean 32-bit WINEPREFIX and following Wine versions (with corresponding Wine-Mono):
* Wine 1.5.9 / Wine-Mono 0.0.4 (works) * Wine 1.6 / Wine-Mono 0.0.8 (works) * Wine 1.7.0 / Wine-Mono 0.0.8 (works) * Wine 1.9.0 / Wine-Mono 4.5.2 (works) * Wine 3.17 / Wine-Mono 4.7.3 (works)
Interestingly not even reproducible with the originally reported Wine 1.5.9 version on my system. It was very likely a problem with your host system (Linux kernel/userspace).
Reason #1:
ptrace protection introduced with Ubuntu 10.10 as security measure which broke quite a number of apps under Wine. Your bug report is from 2012-07 ... that's Ubuntu 12.x which suffered from this issue too. -> dupe of bug 30410
Reason #2:
During investigation of bug 45546 I found that on some systems the Mono garbage collector fails to suspend some worker threads in time ("full world-stop collection"), causing NtGetContextThread() to fail (tries to loop 100 times with 1ms delay until giving up). The thread suspension still takes place: suspend_thread() request to server -> SIGUSR1 delivery to target thread -> target thread wait_suspend() -> set_suspend_context() to server - but it takes a bit too long, missing the time window. I don't know the root cause of the excessive suspension delay (>100ms is a lot on modern systems) - it's very hard to reproduce and any invasive debugging/tracing measures makes it disappear.
$ sha1sum psoc_designer_5.2_b2401.iso duccb9602ac3e0628fd0066816bce2b5d8756c10f4 psoc_designer_5.2_b2401.iso
$ du -sh psoc_designer_5.2_b2401.iso 729M psoc_designer_5.2_b2401.iso
$ wine --version wine-3.17
Regards
https://bugs.winehq.org/show_bug.cgi?id=31372
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #6 from André H. nerv@dawncrow.de --- closing worksforme