http://bugs.winehq.org/show_bug.cgi?id=36549
Bug ID: 36549 Summary: Trove crashes when run Product: Wine Version: 1.7.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lostcoderhaley@gmail.com
Created attachment 48645 --> http://bugs.winehq.org/attachment.cgi?id=48645 console output
Trion's Trove MMO alpha crashes on startup with an access violation. Trove is not an XP compatible exe. Normally it should be run from Glyph to have the login credentials, however, since Glyph rarely runs well enough to start trove I had to run it directly. Since it crashes during early startup this does not appear to have changed the crash dump.
http://bugs.winehq.org/show_bug.cgi?id=36549
--- Comment #1 from lostcoderhaley@gmail.com --- Created attachment 48749 --> http://bugs.winehq.org/attachment.cgi?id=48749 backtrace
This is a backtrace from a clean 32bit prefix with native msvc[rc]110.dlls.
http://bugs.winehq.org/show_bug.cgi?id=36549
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Trove crashes when run |Trion's Trove early alpha | |crashes when run
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote --- This is a backtrace from a clean 32bit prefix with native msvc[rc]110.dlls. --- quote ---
any reason for the override?
You reported the bug using Wine builtins for VC++ 2012 and now changed to native. This potentially hides/moves problems and can completely change the semantics of a bug.
How is one supposed to do diagnosis? Run the game without any explicit overrides.
--- quote --- since Glyph rarely runs well enough to start trove I had to run it directly. --- quote ---
I don't get any crash or whatever "instability" you are talking about here with Glyph. Report extra bugs for launcher/manager problems but make sure you:
* run latest Wine version (1.7.19) * installed glyph in clean WINEPREFIX * no 'winetricks' recipes unless explicitly stated
--- snip --- Trove is not an XP compatible exe --- snip ---
Was this explicitly stated by the vendor? I couldn't find any statement on the support/FAQ section.
Generate a trace log with the game as follows:
1) no processes running ('wineserver -k') 2) bootstrap the prefix with a builtin (start 'notepad' in separate terminal) 3) run:
--- snip --- $ WINEDEBUG=+tid,+seh,+relay wine ./foo.exe >>log.txt 2>&1 --- snip ---
3) when it crashes, kill all processes with 'wineserver -k'
Attach the log to the bug (compress if too large).
Regards
http://bugs.winehq.org/show_bug.cgi?id=36549
--- Comment #3 from lostcoderhaley@gmail.com --- Created attachment 48751 --> http://bugs.winehq.org/attachment.cgi?id=48751 trace log
Native versions of msvc[rc].dll are used because Trove uses the _Mtx_* functions that are not implemented in wine yet.
http://bugs.winehq.org/show_bug.cgi?id=36549
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello,
the crashes are likely related to (yet) unimplemented Windows 7+ API
--- snip --- ... 0009:Call KERNEL32.CreateFileMappingW(00000000,00000000,08000004,00000000,00080000,0032fd94 L"Trion.Kiwi.DebugSection-8") ret=005620e1 0009:Ret KERNEL32.CreateFileMappingW() retval=000000a0 ret=005620e1 0009:Call KERNEL32.MapViewOfFile(000000a0,000f001f,00000000,00000000,00000000) ret=00562102 0009:Ret KERNEL32.MapViewOfFile() retval=01350000 ret=00562102 0009:Call KERNEL32.VirtualProtect(01350000,0007ffff,00000002,0032fd84) ret=00562136 0009:Ret KERNEL32.VirtualProtect() retval=00000001 ret=00562136 0009:Call KERNEL32.GetCommandLineW() ret=00561c06 0009:Ret KERNEL32.GetCommandLineW() retval=00115470 ret=00561c06 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000028) ret=00f4daff 0009:Ret ntdll.RtlAllocateHeap() retval=0015b240 ret=00f4daff 0009:Call KERNEL32.GetVersionExW(0032fa68) ret=00f630b7 0009:Ret KERNEL32.GetVersionExW() retval=00000001 ret=00f630b7 0009:Call KERNEL32.GetModuleHandleW(00f63758 L"kernel32.dll") ret=00f62fb1 0009:Ret KERNEL32.GetModuleHandleW() retval=7b810000 ret=00f62fb1 0009:Call KERNEL32.GetProcAddress(7b810000,00f62ffc "SetThreadGroupAffinity") ret=00f62fbf 0009:Ret KERNEL32.GetProcAddress() retval=00000000 ret=00f62fbf 0009:Call KERNEL32.GetProcAddress(7b810000,00f63014 "GetThreadGroupAffinity") ret=00f62fcd 0009:Ret KERNEL32.GetProcAddress() retval=00000000 ret=00f62fcd 0009:Call KERNEL32.GetLastError() ret=00f62ff7 0009:Ret KERNEL32.GetLastError() retval=0000007f ret=00f62ff7 0009:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032fa04) ret=00f581ab 0009:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a32c ip=7b83a32c tid=0009 0009:trace:seh:raise_exception info[0]=19930520 0009:trace:seh:raise_exception info[1]=0032fa28 0009:trace:seh:raise_exception info[2]=01003774 0009:trace:seh:raise_exception eax=7b827341 ebx=7b8b2000 ecx=0032f930 edx=0032fa04 esi=00000008 edi=0032fa28 0009:trace:seh:raise_exception ebp=0032f988 esp=0032f904 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000212 --- snip ---
Can you lower the version reported in WINEPREFIX to 'Windows Vista' using 'winecfg' and check if it helps? If not, please attach another log (created the same way).
Regards
http://bugs.winehq.org/show_bug.cgi?id=36549
--- Comment #5 from lostcoderhaley@gmail.com --- That log was from a 32bit XP prefix. I also have a log from my custom version of wine which has a very basic implementation of the _Mtx_* functions used by trove.
http://bugs.winehq.org/show_bug.cgi?id=36549
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |kernel32 Summary|Trion's Trove early alpha |Trion's Trove early alpha |crashes when run |crashes when run (needs | |GetThreadGroupAffinity and | |SetThreadGroupAffinity) Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello,
--- quote --- That log was from a 32bit XP prefix. --- quote ---
Strange. The game calls 'GetVersionExW' immediately before. It doesn't make sense the request a Windows 7+ API after it knows it's running Windows XP.
Anyway, refining summary.
Regards
http://bugs.winehq.org/show_bug.cgi?id=36549
lostcoderhaley@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #48751|0 |1 is obsolete| |
--- Comment #7 from lostcoderhaley@gmail.com --- Created attachment 48774 --> http://bugs.winehq.org/attachment.cgi?id=48774 trace log vista w/native dll
The attempt to use (Get/Set)ThreadGroupAffinity appears to be due to running a vista app with the wine version set to XP.
Here is a repeat of the previous trace log with wine version set to vista and native msvc(rp)110.dll . Note that it does not attempt to load those functions.
http://bugs.winehq.org/show_bug.cgi?id=36549
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello lostcoderhaley,
--- quote --- The attempt to use (Get/Set)ThreadGroupAffinity appears to be due to running a vista app with the wine version set to XP. --- quote ---
That doesn't make sense. Those are clearly Windows 7+ API.
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd405498%28v=vs.85%2...
--- quote --- To compile an application that uses this function, set _WIN32_WINNT >= 0x0601
...
Minimum supported client Windows 7 [desktop apps only] --- quote ---
--- snip --- ... 0009:Call KERNEL32.DuplicateHandle(ffffffff,fffffffe,ffffffff,00172eb4,00000000,00000000,00000002) ret=00f6367d 0009:Ret KERNEL32.DuplicateHandle() retval=00000001 ret=00f6367d 0009:trace:seh:raise_exception code=80000100 flags=1 addr=0x7bc510f9 ip=7bc510f9 tid=0009 0009:trace:seh:raise_exception info[0]=0100a330 0009:trace:seh:raise_exception info[1]=0100af4a wine: Call from 0x7bc510f9 to unimplemented function KERNEL32.dll.CreateThreadpoolWait, aborting --- snip ---
This is a Vista+ API and you're now mixing entirely different issues into one bug. This is not useful.
Regards
http://bugs.winehq.org/show_bug.cgi?id=36549
--- Comment #9 from lostcoderhaley@gmail.com --- Created attachment 48905 --> http://bugs.winehq.org/attachment.cgi?id=48905 Trace log vista
updated trace log for wine 1.7.21
https://bugs.winehq.org/show_bug.cgi?id=36549
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Trion's Trove early alpha |Multiple applications and |crashes when run (needs |games crash on |GetThreadGroupAffinity and |unimplemented Win7 API |SetThreadGroupAffinity) |'GetThreadGroupAffinity' | |and | |'SetThreadGroupAffinity' | |(Trion's Trove, Watchtower | |Library 2014)
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Also encountered with Watchtower Library 2014 with Wine configured to 'Windows 7'.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Watchtower/Watchtower Library 2014/E
$ WINEDEBUG=+tid,+seh,+relay wine ./wtlibrary.exe >>log.txt 2>&1 ... 0023:Call KERNEL32.GetVersionExW(0033fa98) ret=00ac5e8c 0023:Ret KERNEL32.GetVersionExW() retval=00000001 ret=00ac5e8c 0023:Call KERNEL32.GetModuleHandleW(00be2c10 L"kernel32.dll") ret=00abcae3 0023:Ret KERNEL32.GetModuleHandleW() retval=7b810000 ret=00abcae3 0023:Call KERNEL32.GetProcAddress(7b810000,00cf869c "SetThreadGroupAffinity") ret=00abcaf3 0023:Ret KERNEL32.GetProcAddress() retval=00000000 ret=00abcaf3 0023:Call KERNEL32.GetProcAddress(7b810000,00cf86b4 "GetThreadGroupAffinity") ret=00abcafe 0023:Ret KERNEL32.GetProcAddress() retval=00000000 ret=00abcafe 0023:Call KERNEL32.GetLastError() ret=00abcb5e 0023:Ret KERNEL32.GetLastError() retval=0000007f ret=00abcb5e 0023:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033fa48) ret=005f1b30 0023:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83b39f ip=7b83b39f tid=0023 0023:trace:seh:raise_exception info[0]=19930520 0023:trace:seh:raise_exception info[1]=0033fa6c 0023:trace:seh:raise_exception info[2]=00e0327c 0023:trace:seh:raise_exception eax=7b827025 ebx=7b8bf000 ecx=19930520 edx=0033f984 esi=0033fa2c edi=0033f9f0 0023:trace:seh:raise_exception ebp=0033f9c8 esp=0033f964 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=0020028 --- snip ---
$ wine --version wine-1.7.34-159-g7b45103
Regards
https://bugs.winehq.org/show_bug.cgi?id=36549
Christopher Larson kergoth@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kergoth@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=36549
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #11 from Sebastian Lackner sebastian@fds-team.de --- Does the following patchset help?
https://github.com/wine-compholio/wine-staging/tree/master/patches/kernel32-...
https://bugs.winehq.org/show_bug.cgi?id=36549
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/kernel32-Threa | |dGroupAffinity
https://bugs.winehq.org/show_bug.cgi?id=36549
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://download.dyn.trionga | |mes.com/GlyphInstall-0-1.ex | |e
https://bugs.winehq.org/show_bug.cgi?id=36549
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9d58aac467c718ea45864a16343 | |72b975c17542e Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #12 from Sebastian Lackner sebastian@fds-team.de --- The functions were implemented in http://source.winehq.org/git/wine.git/commit/9d58aac467c718ea45864a1634372b9.... Please retest, if there are additional problems please open a new bug report for it.
https://bugs.winehq.org/show_bug.cgi?id=36549
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.53.
https://bugs.winehq.org/show_bug.cgi?id=36549
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |h.henoch@isc84.org
--- Comment #14 from Anastasius Focht focht@gmx.net --- *** Bug 39503 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=36549
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.dyn.trionga |https://web.archive.org/web |mes.com/GlyphInstall-0-1.ex |/20160309110258/http://down |e |load.dyn.triongames.com/Gly | |phInstall-0-1.exe
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20160309110258/http://download.dyn.triongames.co...
https://www.virustotal.com/gui/file/2ae9d2425e19d4d955c236a7be0f2e7db2b5ca8f...
$ sha1sum glyphinstall-0-1.exe 7dc38e316e3123bd1bfcc906fef678a4c3b1995a glyphinstall-0-1.exe
$ du -sh glyphinstall-0-1.exe 46M glyphinstall-0-1.exe
Regards