[Bug 31372] Cypress PSoC Designer 5.2 installer (.NET app) crashes with " Fatal error in GC" when using Wine-Mono

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 29 16:51:45 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=31372

Anastasius Focht <focht at 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 at gmx.net

--- Comment #5 from Anastasius Focht <focht at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list