https://bugs.winehq.org/show_bug.cgi?id=51409
Bug ID: 51409 Summary: Trails to Azure main menu crash after video playback after wine 6.1 Product: Wine Version: 6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: billfleming11@gmail.com Distribution: ---
Created attachment 70265 --> https://bugs.winehq.org/attachment.cgi?id=70265 Good vs Bad Crash logs
In Trails To Azure (and Trails from Zero) both games were working fine in Wine 5.XX and 6.1 but not in future wine releases. (using Geofront translation patch with dinput8 dll) These games play a video on startup, then have a typical "Press Start" screen to get to the main menu.
After doing a bisect wine-6.1-249-g5bff63621ee is the last working release.
Bisect bad commit: https://source.winehq.org/git/wine.git/commit/897800fd449ae0ea5da00206bd348a... https://bugs.winehq.org/show_bug.cgi?id=50667#c1 (reference for getting logs and bug from same commit)
Starting in wine-6.1-250-g897800fd449 (for several dozen versions) the game will crash immediately before the video starts playing. All future wine versions (6.2 to present) that succeed in playing the video crash at the menu screen immediately afterwords as soon as input is received at the "PRESS START" screen. However the video does appear to play correctly in these newer releases.
If the video is removed or disabled (in the game settings) the game will still crash in the newer wine versions when pressing start at the main menu. You have to let the short (7 second) video play then press a button at the screen in the working wine 6.1 version.
See attached logs.
https://bugs.winehq.org/show_bug.cgi?id=51409
Bill Fleming billfleming11@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://geofront.esterior.n | |et/ Distribution|--- |ArchLinux Regression SHA1| |897800fd449ae0ea5da00206bd3 | |48aa9f76f4b38
https://bugs.winehq.org/show_bug.cgi?id=51409
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #1 from Bill Fleming billfleming11@gmail.com --- For anyone that actually tries to repro this you need to create/update the prefix using either an older wine staging version or a newer wine release (example: 6.9 works ok) otherwise in this older wine version some of the video related stuff doesn't get added to the registry correctly so you will only get a black screen.
Also either they updated the translation patch to remove the intro video skip feature or it doesn't work in the wine-6.1-249-g5bff63621ee version. So I can't crash the game in this version pressing buttons during the intro video. This wine version also doesn't crash in the horror coaster mini-game so this appears to be a "perfect" version to play the games with until the updated translations hit Steam in ~2 years. (plenty of time to fine-tune the wine video code before then....)
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- Sorry for the delay. Can you please attach a log with WINEDEBUG=+quartz,+gstreamer and GST_DEBUG=6?
https://bugs.winehq.org/show_bug.cgi?id=51409
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Trails to Azure main menu |Trails to Azure crashes |crash after video playback |when reaching main menu |after wine 6.1 |after video playback
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #3 from Bill Fleming billfleming11@gmail.com --- Created attachment 71287 --> https://bugs.winehq.org/attachment.cgi?id=71287 gstreamer log wine 7.0 rc1
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #4 from Bill Fleming billfleming11@gmail.com --- So actually I think the crash is related to trying to reload the dinput8.dll. Not sure why I didn't see this in a log before. We get this right before it starts to crash dump. From the logs it looks like gstreamer runs and exits ok although I didn't search through that part. The updated log is from wine 7.0-rc1.
0104:err:ole:com_get_class_object apartment not initialised 0104:fixme:dbghelp_dwarf:dwarf2_parse_subprogram Unhandled Tag type 0x1 at debug_info(abbrev:21E51C04,symt:1B275330) in ctx(1BA82DC4,L"d3dx9_42") 0104:fixme:dbghelp_dwarf:dwarf2_parse_subprogram Unhandled Tag type 0x1 at debug_info(abbrev:1A8985D4,symt:1BB860C8) in ctx(21C3A5FC,L"d3dx9_43") 0134:fixme:dsound:IDirectSoundBufferImpl_Restore (04B8AFD0):stub 0104:fixme:dbghelp:SymLoadModuleExW Reloading L"dinput8" at different base address isn't supported 0104:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #5 from Bill Fleming billfleming11@gmail.com --- Ok so accidentally pointed at the wrong wine get folder to get that updated log as that was wine 6.19. So probably don't bother reading it. The main menu crash is now gone on wine 6.23 (for example in arch package repo already) This will launch the game into the main menu and the game's mod DLL comes on correctly (mod menus work, etc). However on this wine release (at least after installing modules) the game will crash trying to play videos during cutscenes, and the logo video is upside down. WINEARCH=win32 WINEPREFIX="/home/bill/.local/share/wineprefixes/falcom2" winecfg WINEARCH=win32 WINEPREFIX="/home/bill/.local/share/wineprefixes/falcom2" winetricks -q d3dcompiler_43 d3dcompiler_47 dxvk directmusic directplay amstream WINEDLLOVERRIDES="DINPUT8.dll=n,b" WINEPREFIX="/home/bill/.local/share/wineprefixes/falcom2" wine ED_AO.exe
But when I point the fresh prefix at the wine 7 rc1 build folder I get the following error and the game doesn't start. LdrInitializeThunk "WINMM.dll" failed to initialize, aborting Until I can resolve this problem I won't be able to get any logs from the RC.
https://bugs.winehq.org/show_bug.cgi?id=51409
Bill Fleming billfleming11@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #70265|0 |1 is obsolete| | Attachment #71287|0 |1 is obsolete| |
--- Comment #6 from Bill Fleming billfleming11@gmail.com --- Created attachment 71302 --> https://bugs.winehq.org/attachment.cgi?id=71302 Log to look at winmm issue
Use these options on wine-7.0-rc1 build. Game exits before it ever even creates a window. But the game loads up on wine 6.23. WINEDEBUG=+module,+winmm,+dinput WINEDLLOVERRIDES="DINPUT8.dll=n,b" WINEPREFIX="/home/bill/.local/share/wineprefixes/falcom2" /home/bill/Software/wine-git/wine ED_AO.exe >logfile.log 2>&1
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- Okay, so it sounds like the winegstreamer bug has been fixed already, then, and the winmm problem is a separate bug?
The latter is probably a regression from 4f1095a0ee4c75. For tracking purposes it'd be preferable to have that in a separate bug report.
https://bugs.winehq.org/show_bug.cgi?id=51409
Bill Fleming billfleming11@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Bill Fleming billfleming11@gmail.com --- Fixed in wine 6.23. (although a new issue has appeared in 7.0-rc1 to make the program completely inoperable)
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- Thanks!
https://bugs.winehq.org/show_bug.cgi?id=51409
--- Comment #10 from Bill Fleming billfleming11@gmail.com --- FYI just for the record after I fixed the gstreamer mismatches and other gstreamer library issues on my PC (this of course takes longer than diagnosing the wine 7 rc1 bugs), all the videos in both games (both old and new HD videos) now work on a 6.23 built wine. So there shouldn't be any further need to look at video related things in these games.
https://bugs.winehq.org/show_bug.cgi?id=51409
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc2.