http://bugs.winehq.org/show_bug.cgi?id=34937
Bug #: 34937 Summary: Academagia (WPF game) crashes during initialization with installed dotnet 3.5 or 3.5sp1 or 4.0 Product: Wine Version: 1.7.4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: i30817@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
Installed dotnet40 on a 32bits prefix with the latest winetricks from the google page installed corefonts on a 32bits prefix with winetricks
installed the game on the 32bits prefix running it:
~/wine32bits/drive_c/Program Files/Academagia$ WINEPREFIX='/home/user/wine32bits' WINEARCH='win32' WINEDEBUG=+tid,+seh,+loaddll,+msvcrt,+wincodecs wine Academagia.exe 2&> bla.txt
running it starts up a window and a dialog with 'a system error has occurred application will be terminated'
The 2 errors on the log file (with these settings anyway) are: 002c:err:ole:CoGetContextToken apartment not initialised
[...]
002d:err:d3d:context_restore_gl_context Failed to restore GL context 0x10003 on device context 0x10051, last error 0x6. 002d:trace:loaddll:free_modref Unloaded module L"C:\windows\system32\d3d9.dll" : builtin 002d:trace:loaddll:free_modref Unloaded module L"C:\windows\system32\wined3d.dll" : builtin
The game has a demo, but it runs online since this is a WPF game
http://bugs.winehq.org/show_bug.cgi?id=34937
--- Comment #1 from paulo i30817@gmail.com 2013-11-17 14:03:01 CST --- Created attachment 46555 --> http://bugs.winehq.org/attachment.cgi?id=46555 zipped log WINEDEBUG=+tid,+seh,+loaddll,+msvcrt,+wincodecs
http://bugs.winehq.org/show_bug.cgi?id=34937
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Component|directx-d3dx9 |windowscodecs Resolution| |DUPLICATE Summary|Academagia (WPF game) |Academagia (WPF game) |crashes during |crashes during |initialization with |initialization with |installed dotnet 3.5 or |installed .NET Framework |3.5sp1 or 4.0 |3.5 or 3.5 SP1
--- Comment #2 from Anastasius Focht focht@gmx.net 2013-11-17 15:14:30 CST --- Hello folks,
dupe of bug 33384
--- snip --- ... 0009:trace:wincodecs:BitmapImpl_CopyPixels (0x190a20,0x32e210,4,4,0x19f722c0) 0009:trace:wincodecs:BitmapImpl_QueryInterface (0x190a20,{7543696a-bc8d-46b0-5f81-8d95728972be},0x32e268) 0009:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83ba95 ip=7b83ba95 tid=0009 0009:trace:seh:raise_exception info[0]=80004002 0009:trace:seh:raise_exception eax=7b82677d ebx=7b8b4ff4 ecx=80004002 edx=0032e058 esi=00000001 edi=e0434f4d 0009:trace:seh:raise_exception ebp=0032e0a8 esp=0032e034 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 0009:trace:seh:call_stack_handlers calling handler at 0x79f908a2 code=e0434f4d flags=1 0009:trace:seh:call_stack_handlers handler at 0x79f908a2 returned 1 0009:trace:seh:call_stack_handlers calling handler at 0x79fb4869 code=e0434f4d flags=1 0009:trace:seh:call_stack_handlers handler at 0x79fb4869 returned 1 0009:trace:seh:call_stack_handlers calling handler at 0x79edc3bc code=e0434f4d flags=1 --- snip ---
The website states the game needs .NET 3.5 or better .NET 3.5SP1. .NET 4.0 is _not_ a full replacement for 3.x hence it's useless to install here.
Regards
*** This bug has been marked as a duplicate of bug 33384 ***
http://bugs.winehq.org/show_bug.cgi?id=34937
--- Comment #3 from paulo i30817@gmail.com 2013-11-17 23:41:34 CST --- You're right, with winetricks windowcodecs it starts... however, it crashes on some screens with the same "002d:err:d3d:context_restore_gl_context Failed to restore GL context 0x10003 on" crash, and i suspect popup windows aren't working (they never show, input is blocked, but can be dismissed with ctrl+F4 to regain input.
http://bugs.winehq.org/show_bug.cgi?id=34937
--- Comment #4 from Anastasius Focht focht@gmx.net 2013-11-18 14:35:27 CST --- Hello,
--- quote --- i suspect popup windows aren't working (they never show, input is blocked, but can be dismissed with ctrl+F4 to regain input. --- quote ---
if you think you found another legitimate issue, report a new bug. Make sure you include all necessary information, e.g. which .NET Framework version you used, additional prerequisites (like windowscodecs etc.), relay logs etc.
Regards
http://bugs.winehq.org/show_bug.cgi?id=34937
--- Comment #5 from paulo i30817@gmail.com 2013-11-18 16:18:29 CST --- Which traces would be appropriate for a WPF application popups?
http://bugs.winehq.org/show_bug.cgi?id=34937
--- Comment #6 from Anastasius Focht focht@gmx.net 2013-11-18 17:29:36 CST --- Hello,
--- quote --- Which traces would be appropriate for a WPF application popups? --- quote ---
well, dialog boxes are most likely the result of prior problems.
First make sure you don't have any lingering processes/services:
--- snip --- $ wineserver -k --- snip ---
Next, start a wine builtin (winecfg, notepad) in terminal to avoid Wine startup sequence in trace log:
--- snip --- $ notepad --- snip ---
Finally start the app in separate terminal using 'append' log mode and following debug channels:
--- snip --- $ WINEDEBUG=+tid,+seh,+relay wine ./foo.exe >>log.txt 2>&1 --- snip ---
At the point where the first popup is shown kill all processes using 'wineserver -k' from separate terminal. This avoids cluttering trace log with exit/shutdown/cleanup sequences from processes.
Regards
http://bugs.winehq.org/show_bug.cgi?id=34937
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2013-11-26 14:56:24 CST --- Closing.