https://bugs.winehq.org/show_bug.cgi?id=40260
Bug ID: 40260 Summary: APB Reloaded (Steam) fails to launch (wine-mono 4.6.0; shared wow64; win7) Product: Wine Version: 1.9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: o.dierick@piezo-forte.be Distribution: ---
Created attachment 53876 --> https://bugs.winehq.org/attachment.cgi?id=53876 terminal output (WINE_MONO_TRACE=E:SIGSEGV)
After upgrading to wine 1.9.5 and installing wine-mono 4.6.0 the game launcher does not start, blocking from playing the game.
This is for the Steam version of APB Reloaded.
The attachment is the terminal output with WINE_MONO_TRACE=E:SIGSEGV.
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 53979 --> https://bugs.winehq.org/attachment.cgi?id=53979 terminal output (WINE_MONO_TRACE=assembly; WINEDEBUG=+mscoree)
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 54049 --> https://bugs.winehq.org/attachment.cgi?id=54049 terminal output (native .net framework 4.6)
Also fails with native .net framework 4.6 installed, but shows a stacktrace.
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #3 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 54058 --> https://bugs.winehq.org/attachment.cgi?id=54058 mono trace (WINE_MONO_TRACE=all with native .Net Framwork 4.6)
I managed to get a trace using WINE_MONO_TRACE=all
The last statement before the Stacktrace is :
---begin quote--- [00000018: 31.40427 28] ENTER: (wrapper cominterop-invoke) System.Management.IWbemPath:SetText_ (uint,string)(this:00C45400[System.Runtime.Remoting.Proxies.TransparentProxy mscorlib.dll], 4, [STRING:01ED4870://./root/cimv2], ) ---end quote---
https://bugs.winehq.org/show_bug.cgi?id=40260
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #4 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Bug also there in a 32-bit wine prefix.
Through regression-testing I found that reverting these two commits restores the launcher functionality:
---this one makes the launcher throw SIGSEGV--- Commit: f1157511a7f256b8e2966ba429fc665b4a0fa57c URL: http://source.winehq.org/git/wine.git/?a=commit;h=f1157511a7f256b8e2966ba429...
Author: Vincent Povirk <vincent at codeweavers.com> Date: Fri Feb 26 13:08:54 2016 -0600
mscoree: Update Wine Mono to 4.6.0.
---this one makes the buttons in the launcher unresponsive--- Commit: 4d44363e604858a93da3dcb41fd91938fdc4c227 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d44363e604858a93da3dcb41f...
Author: Andrew Eikum <aeikum at codeweavers.com> Date: Tue Jan 12 08:36:07 2016 -0600
mscoree: Set config path for default app domain.
After reverting the commits I also had to manually remove a left-over NULL argument for the compile to succeed (probably left-over from a failed hunk I didn't notice).
https://bugs.winehq.org/show_bug.cgi?id=40260
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|APB Reloaded (Steam) fails |APB Reloaded (Steam) fails |to launch (wine-mono 4.6.0; |to launch (wine-mono 4.6.0; |shared wow64; win7) |win7)
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #5 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Removed 64-bit indication from the summary since it also happens in 32-bit.
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Also happens in winXP mode.
Refining summary to remove win7 tag.
https://bugs.winehq.org/show_bug.cgi?id=40260
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|APB Reloaded (Steam) fails |wine-mono 4.6 crash when |to launch (wine-mono 4.6.0; |starting .net app - SIGSEGV |win7) |(APB Reloaded)
https://bugs.winehq.org/show_bug.cgi?id=40260
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #7 from Vincent Povirk madewokherd@gmail.com --- Hey,
Thanks for the detailed report. It sounds like something is going wrong with the COM wrapper generated by Mono's JIT.
It looks like APB Reloaded is free to play (according to http://store.steampowered.com/app/113400/), so it should be possible to test this without spending money on it, right?
https://bugs.winehq.org/show_bug.cgi?id=40260
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #8 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Vincent Povirk from comment #7)
It looks like APB Reloaded is free to play (according to http://store.steampowered.com/app/113400/), so it should be possible to test this without spending money on it, right?
It is. A (free) GamersFirst account is needed, though.
https://bugs.winehq.org/show_bug.cgi?id=40260
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://www.gamersfirst.com | |/apb/
https://bugs.winehq.org/show_bug.cgi?id=40260
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |f1157511a7f256b8e2966ba429f | |c665b4a0fa57c
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #9 from Vincent Povirk madewokherd@gmail.com --- In my testing, it crashes in CryptGenRandom (crypt.c, line 709) when it dereferences the crypt HPROVIDER. This is called by mono_rand_try_get_bytes. So, nothing to do with what was in that trace log at all.
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #10 from Vincent Povirk madewokherd@gmail.com --- Found the segv issue, worker_park in threadpool-ms.c is using Mono's internal RNG API wrong. I'll work on getting this fixed in upstream Mono and doing a new Wine Mono release with the fix.
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #11 from Vincent Povirk madewokherd@gmail.com --- PR sent to mono: https://github.com/mono/mono/pull/2812
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #12 from Vincent Povirk madewokherd@gmail.com --- The crash bug should be fixed in Wine Mono 4.6.2. Current Git Wine (https://wiki.winehq.org/Git_Wine_Tutorial) or 1.9.8 when it's released will download and install this version.
I don't expect it to help with the launcher buttons. From what I can tell, the launcher seems to behave the same as it did with Wine Mono 4.5.6.
https://bugs.winehq.org/show_bug.cgi?id=40260
--- Comment #13 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- bug is fixed with current git wine and wine-mono 4.6.2.
I filed another bug report for the non-working buttons: bug 40429.
https://bugs.winehq.org/show_bug.cgi?id=40260
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Marking bug as fixed for next release.
https://bugs.winehq.org/show_bug.cgi?id=40260
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |115ad2da7a545434c81222d291d | |147fa63324dbc
https://bugs.winehq.org/show_bug.cgi?id=40260
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.8.