http://bugs.winehq.org/show_bug.cgi?id=33116
Bug #: 33116 Summary: This bug prevents the game Zafehouse Diaries from running Product: Wine Version: 1.5.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: greenalien.greenalien@gmail.com Classification: Unclassified
Created attachment 43790 --> http://bugs.winehq.org/attachment.cgi?id=43790 Herein lies backtrace of the error that crashed the game before it could run
While trying to run Zafehouse Diaries 1.1.13, I have been informed that "Audio subsystem has not been initialised, make sure you have the latest DirectX 9.0c runtimes installed. Sound and Music disabled". Then the crash comes.
My wine installation, 1.5.24, has DirectX installed completely.
http://bugs.winehq.org/show_bug.cgi?id=33116
Michal greenalien.greenalien@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #1 from Austin English austinenglish@gmail.com 2013-03-03 18:40:22 CST --- Try native .Net
http://bugs.winehq.org/show_bug.cgi?id=33116
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2013-03-04 10:49:40 CST --- Does setting MONO_DEBUG=explicit-null-checks change the behavior? If so, that's bug 32302.
If not, please get a log with WINE_MONO_VERBOSE=1 WINE_MONO_TRACE=x and a backtrace from the same attempt that produced that log. (You'll need Wine 1.5.25 for the WINE_MONO_VERBOSE variable to work.)
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #3 from Michal greenalien.greenalien@gmail.com 2013-03-05 13:46:12 CST ---
Try native .Net
You need to be a bit more verbose with me, as I am a completely new user. I have installed .Net version 4.0 and set "dnet" in Wine settings to native. Then I have been told: "unable to find a version of the runtime to run this application".
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #4 from Michal greenalien.greenalien@gmail.com 2013-03-05 14:26:43 CST --- (In reply to comment #2)
Does setting MONO_DEBUG=explicit-null-checks change the behavior? If so, that's bug 32302.
If not, please get a log with WINE_MONO_VERBOSE=1 WINE_MONO_TRACE=x and a backtrace from the same attempt that produced that log. (You'll need Wine 1.5.25 for the WINE_MONO_VERBOSE variable to work.)
How can I do that?
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #5 from Michal greenalien.greenalien@gmail.com 2013-03-14 09:28:44 CDT --- Specifically the "unable to find the runtime to run this application" is tied to .NET
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #6 from Austin English austinenglish@gmail.com 2013-03-14 14:17:02 CDT --- (In reply to comment #4)
(In reply to comment #2)
Does setting MONO_DEBUG=explicit-null-checks change the behavior? If so, that's bug 32302.
If not, please get a log with WINE_MONO_VERBOSE=1 WINE_MONO_TRACE=x and a backtrace from the same attempt that produced that log. (You'll need Wine 1.5.25 for the WINE_MONO_VERBOSE variable to work.)
How can I do that?
When running from the terminal, do: $ MONO_DEBUG=explicit-null-checks wine ZafehouseDiaries.exe
if that works, it's bug 32302. If not, run: $ WINE_MONO_VERBOSE=1 WINE_MONO_TRACE=x wine ZafehouseDiaries.exe &> ~/log.txt
then attach log.txt here.
In the future, please use the forums for questions like this :)
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #7 from Michal greenalien.greenalien@gmail.com 2013-03-14 15:47:50 CDT --- I can not find log.txt, although the command has been executed. I am going to attach a new backtrace, the new error details, and see if this helps.
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #8 from Michal greenalien.greenalien@gmail.com 2013-03-14 15:53:26 CDT --- No actually it won't, it's the same backtrace.
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #9 from Austin English austinenglish@gmail.com 2013-03-14 16:09:58 CDT --- (In reply to comment #7)
I can not find log.txt, although the command has been executed. I am going to attach a new backtrace, the new error details, and see if this helps.
It should be in your $HOME directory (that's what ~ means).
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #10 from Michal greenalien.greenalien@gmail.com 2013-03-14 16:35:32 CDT --- Created attachment 43930 --> http://bugs.winehq.org/attachment.cgi?id=43930 A log of the error following debugging advised in comments
Okay, uploading the log.txt
Thank you for all the attention and help so far guys, you're really making a great effort here.
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #11 from Michal greenalien.greenalien@gmail.com 2013-04-02 13:16:33 CDT --- Bump?
http://bugs.winehq.org/show_bug.cgi?id=33116
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #12 from Vincent Povirk madewokherd@gmail.com 2013-04-03 15:26:23 CDT --- Sorry, I missed your response because I didn't CC myself on the bug.
This could be related to:
converting method err:ole:CoGetClassObject class {5a508685-a254-4fba-9b82-9a24b00306af} not registered err:ole:CoGetClassObject no class object {5a508685-a254-4fba-9b82-9a24b00306af} could be created for context 0x1
and
[00000009:] EXCEPTION handling: SlimDX.XAudio2.XAudio2Exception: REGDB_E_CLASSNOTREG: Class not registered (-2147221164)
Try running: winetricks xact
Unfortunately, I can't find that class on my Windows box, so I'm not really sure where it's supposed to come from. If you have this program installed on a Windows machine, check if you have "{5a508685-a254-4fba-9b82-9a24b00306af}" under HKEY_CLASSES_ROOT\CLSID.
The reason I asked for a log and a backtrace from the same run was so that I could use the log to identify the methods in the backtrace.
You'll notice the backtrace has lines like this:
1 0x09e5c598 (0x0033f5f8) 2 0x09e5bc48 (0x0033f6c8) 3 0x00bab2e8 (0x0033f728)
The addresses that look like 0x09e5c598 are native (x86) code that was translated by Mono from .NET code. Setting "WINE_MONO_VERBOSE=1" causes mono to output lines like "Method string:.cctor () emitted at 00B111F8 to 00B1125B" when it does this. By finding the line in the log that has a range containing the addresses in the backtrace, I can tell which methods are involved in the crash.
But the addresses change every time you run the program, so this only works if both files were generated at the same time.
(Ideally, wine would be able to identify the methods on its own and put their names in the backtrace, but setting that up properly is a big job.)
That said, I think the issue involving XAudio2 is probably at fault here, so this information probably won't be needed.
http://bugs.winehq.org/show_bug.cgi?id=33116
Daniel Jelinski djelinski1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |djelinski1@gmail.com
--- Comment #13 from Daniel Jelinski djelinski1@gmail.com 2013-04-04 13:03:30 CDT --- A demo can be downloaded here: http://www.zafehouse.com/try-the-demo/ The demo doesn't crash, but instead complains about missing DirectX 9.0c. Testing reveals that the application expects D3D_SDK_VERSION = 0x80000020 (wine has 0x20). After changing that value & rebuilding, the game fails on a call to D3DXCreateTextureFromFileInMemoryEx, and then complains as before.
http://bugs.winehq.org/show_bug.cgi?id=33116
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #14 from Matteo Bruni matteo.mystral@gmail.com 2013-04-04 16:39:13 CDT --- (In reply to comment #13)
A demo can be downloaded here: http://www.zafehouse.com/try-the-demo/ The demo doesn't crash, but instead complains about missing DirectX 9.0c. Testing reveals that the application expects D3D_SDK_VERSION = 0x80000020 (wine has 0x20).
Apparently the 0x80000000 is a debug flag, in the MS headers it gets added to D3D_SDK_VERSION when D3D_DEBUG_INFO is defined. I guess that bit should be masked out from the condition in D3DXCheckVersion() (which is in d3dx9_36_main.c, and in all the other d3dx9_xx variants too...).
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #15 from Michal greenalien.greenalien@gmail.com 2013-04-05 02:14:27 CDT --- Winetricks xact was executed, I was told xact is already installed, skipping. Not running a windows machine.
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #16 from Austin English austinenglish@gmail.com 2013-04-08 15:01:33 CDT --- (In reply to comment #15)
Winetricks xact was executed, I was told xact is already installed, skipping. Not running a windows machine.
--force will force the install anyway
http://bugs.winehq.org/show_bug.cgi?id=33116
--- Comment #17 from Michal greenalien.greenalien@gmail.com 2013-05-12 05:16:39 CDT --- When having xact installed, there's complaints about missing Direct 3D and continuing audio problems. Like described above. Now using Wine 1.29
http://bugs.winehq.org/show_bug.cgi?id=33116
Morg morgawr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |morgawr@gmail.com
--- Comment #18 from Morg morgawr@gmail.com 2013-06-05 08:30:02 CDT --- I can confirm this bug is also happening to me with wine 1.5.31 on Ubuntu 13.04 x86_64.
I have installed d3dx9 and xact via winetricks and it still says the same error.
A fix would be great :)
https://bugs.winehq.org/show_bug.cgi?id=33116
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |RESOLVED URL| |http://www.zafehouse.com/tr | |y-the-demo/ CC| |focht@gmx.net Component|mscoree |-unknown Resolution|--- |DUPLICATE Summary|This bug prevents the game |Zafehouse Diaries fails to |Zafehouse Diaries from |start |running |
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello folks,
this bug has been abused/recycled for multiple issues.
This is not a Mono bug anyway.
Prerequisite: 'winetricks -q dotnet20' or Mono (default)
First issue: XAudio2 (bug 26808)
--- snip --- err:ole:CoGetClassObject class {5a508685-a254-4fba-9b82-9a24b00306af} not registered err:ole:CoGetClassObject no class object {5a508685-a254-4fba-9b82-9a24b00306af} could be created for context 0x1 --- snip ---
-> 'winetricks xact_jun2010'
Next issue: D3DXLoadSurfaceFromMemory needs support for DXT1 texture compression (bug 24983)
--- snip --- 0009:fixme:d3dx:D3DXLoadSurfaceFromMemory Format conversion missing 0x14 -> 0x35545844 0009:fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Texture loading failed. 0009:trace:msgbox:MSGBOX_OnInit L"An error occurred while initialising Direct3D 9.\r\n\r\nIf you have a DirectX 9-compatible video card, make sure you have the latest drivers and DirectX 9.0c runtime installed: http://www.microsoft.com/en-us/download/details.aspx?id=35.%5Cr%5Cn%5Cr%5CnD... could not be initialised." --- snip ---
Since OP first hit XAudio2 issue, resolving as dupe.
Regards
*** This bug has been marked as a duplicate of bug 26808 ***
http://bugs.winehq.org/show_bug.cgi?id=33116
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Béla Gyebrószki gyebro69@gmail.com --- closing abandoned/invalid/duplicate bugs