[Bug 30718] New: CraftStudio crashes when you double-click on "Double-click here"
http://bugs.winehq.org/show_bug.cgi?id=30718 Bug #: 30718 Summary: CraftStudio crashes when you double-click on "Double-click here" Product: Wine Version: 1.5.4 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com Classification: Unclassified Saw this on twitter today: https://www.facebook.com/CraftStudioGames/posts/381877625196587 --snip-- Just a heads up: with the latest Wine under Linux, CraftStudio (kinda) works. It crashes as soon as 3D should be displayed but you can connect to servers and chat with other people just fine. I'm using the dev version (wine1.5) from a PPA under the latest Ubuntu. In case anyone wants to try it out... I installed .NET and DirectX through winetricks ("winetricks dotnet40" and "winetricks directx9") and then launched the install with "msiexec /i CraftStudio.msi". --snip-- So I tried downloading the app from http://craftstud.io/ Just in case Ubuntu 12.04 was causing trouble, I tried the echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope workaround from http://bugs.winehq.org/show_bug.cgi?id=30410#c3 I then did rm -rf .wine winetricks dotnet40 wine msiexec /i CraftStudio.msi It said DirectX and xna40 were not yet present, but I clicked Next anyway. The next dialog was "DXSetup.exe - Unable to find a version of the runtime to run this application". (The DXSetup.exe that was running is the one bundled with the xna40 redistributable, and you can also see this error with "winetricks xna40".) The app appears to install ok, lets you create an account, and lets you log in. Then to repeat the crash, click on "Public Test Project" and then double-click where it says "Double-click here". The console shows Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. at Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Stream stream, Int32 width, Int32 height, XnaImageOperation operation) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30718 Elisée Maurer <elisee(a)sparklin.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |elisee(a)sparklin.org -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30718 --- Comment #1 from Jerome Leclanche <adys.wh(a)gmail.com> 2012-09-14 23:07:53 CDT --- Created attachment 41676 --> http://bugs.winehq.org/attachment.cgi?id=41676 Backtrace Cant get the app to run. I get this crash at the end of the installation when it tries to launch it, and then I get various issues with .net. Are you able to make it work in current wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED --- Comment #2 from Austin English <austinenglish(a)gmail.com> --- (In reply to Jerome Leclanche from comment #1)
Created attachment 41676 [details] Backtrace
Cant get the app to run. I get this crash at the end of the installation when it tries to launch it, and then I get various issues with .net.
Are you able to make it work in current wine?
Abandoned. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- Closing. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/Winetric | |ks/winetricks/issues/318 CC| |austinenglish(a)gmail.com Status|REOPENED |NEW --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- Confirming. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Summary|CraftStudio crashes when |xna40 installation fails, |you double-click on |needs sfc.LoadSfcDLL |"Double-click here" | Resolution|ABANDONED |--- Status|CLOSED |REOPENED --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- So I see that this is referred to in https://github.com/Winetricks/winetricks/issues/318, which is still true in 1.9.6. Renaming appropriately. It looks like sfc.dll (drive_c/windows/logs/DXError.log): -------------------- [03/28/16 01:24:17] module: dsetup32(Mar 16 2009), file: instcat.cpp, line: 42, function: LoadSfcDLL Failed API: GetProcAddress() Error: (127) - Procedure not found.^M Module: sfc.dll -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- (In reply to Dan Kegel from comment #0)
The next dialog was "DXSetup.exe - Unable to find a version of the runtime to run this application". (The DXSetup.exe that was running is the one bundled with the xna40 redistributable, and you can also see this error with "winetricks xna40".)
This was caused by using dotnet40 instead of dotnet45. I've fixed this in winetricks. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- (In reply to Austin English from comment #4)
So I see that this is referred to in https://github.com/Winetricks/winetricks/issues/318, which is still true in 1.9.6. Renaming appropriately.
It looks like sfc.dll (drive_c/windows/logs/DXError.log): -------------------- [03/28/16 01:24:17] module: dsetup32(Mar 16 2009), file: instcat.cpp, line: 42, function: LoadSfcDLL
Failed API: GetProcAddress() Error: (127) - Procedure not found.^M
Module: sfc.dll
Looking at sfc.dll (from Windows 7), this function is not exported (by name or ordinal). I suspected the app is shipping a custom sfc.dll, but setting sfc/sfc_os to native doesn't help. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000(a)yahoo.co.uk --- Comment #8 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> --- (In reply to Austin English from comment #6)
(In reply to Dan Kegel from comment #0)
The next dialog was "DXSetup.exe - Unable to find a version of the runtime to run this application". (The DXSetup.exe that was running is the one bundled with the xna40 redistributable, and you can also see this error with "winetricks xna40".)
This was caused by using dotnet40 instead of dotnet45. I've fixed this in winetricks.
I did a +relay log with ``winetricks xna40``. The messagebox "DXSetup.exe - Unable to find a version of the runtime to run this application" is not caused by missing function from sfc.dll but rather is due to: 00cc:Call KERNEL32.GetEnvironmentVariableW(0033ea00 L"COMPlus_OnlyUseLatestCLR",00000000,00000000) ret=603b9729 00cc:Ret KERNEL32.GetEnvironmentVariableW() retval=00000000 ret=603b9729 00cc:Call advapi32.RegOpenKeyExW(80000002,603bb958 L"Software\\Microsoft\\.NETFramework",00000000,00020019,0033eaa8) ret=603b9f59 00cc:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=603b9f59 00cc:Call advapi32.RegQueryValueExW(000000a0,603b7090 L"OnlyUseLatestCLR",00000000,0033eab8,0033eac0,0033eabc) ret=603b9f76 00cc:Ret advapi32.RegQueryValueExW() retval=00000002 ret=603b9f76 If I do: export COMPlus_OnlyUseLatestCLR=1 and then run the messagbox is gone. Adding the registrykey ``OnlyUseLatestCLR`` most likely will also do the trick. I`m not sure though if this registrykey should be added by default in wine -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 --- Comment #9 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> --- Forgot to say: the function it tries to load from sfc is SRSetRestorePoint. But this doesn`t affect/blocks the installer -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Elisée Maurer <elisee(a)sparklin.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|elisee(a)sparklin.org | -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Adam Bolte <abolte(a)systemsaviour.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte(a)systemsaviour.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 --- Comment #10 from Austin English <austinenglish(a)gmail.com> --- (In reply to Louis Lenders from comment #8)
If I do:
export COMPlus_OnlyUseLatestCLR=1
and then run the messagbox is gone. Adding the registrykey ``OnlyUseLatestCLR`` most likely will also do the trick. I`m not sure though if this registrykey should be added by default in wine
This, combined with using dotnet40 again, makes the message box go away as well as the issues in the logs. The stub for SRSetRestorePoint also helped, of course. Winetricks is now happy, I'm not sure if something needs to be done for COMPlus_OnlyUseLatestCLR in Wine or not, however. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 --- Comment #11 from Austin English <austinenglish(a)gmail.com> --- (In reply to Austin English from comment #10)
(In reply to Louis Lenders from comment #8)
If I do:
export COMPlus_OnlyUseLatestCLR=1
and then run the messagbox is gone. Adding the registrykey ``OnlyUseLatestCLR`` most likely will also do the trick. I`m not sure though if this registrykey should be added by default in wine
This, combined with using dotnet40 again, makes the message box go away as well as the issues in the logs. The stub for SRSetRestorePoint also helped, of course.
Winetricks is now happy, I'm not sure if something needs to be done for COMPlus_OnlyUseLatestCLR in Wine or not, however.
For reference, I committed that here: https://github.com/Winetricks/winetricks/commit/ebf6b6254bd7fe2019e133affae1... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30718 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|xna40 installation fails, |xna40 installation pops up |needs sfc.LoadSfcDLL |a warning dialog unless | |COMPlus_OnlyUseLatestCLR=1 | |is set -- 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.
participants (1)
-
wine-bugs@winehq.org