https://bugs.winehq.org/show_bug.cgi?id=49770
Bug ID: 49770 Summary: Firestorm viewer regression after 5.13? Product: Wine Version: 5.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: randrianasulu@gmail.com Distribution: ---
I have older (by now) firestorm Viewer (Second Life / Open Simulator client) installed in my wine prefix. It was working in 5.13, but in 5.15 and 5.16 it crashes:
invalid adapt mode. 24ertex@@0B2?3?3?3?3?34555!535|5/68o8®9Y:?;X<O<<=?=,>?>u>U?I?0024:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x175054b
it even crash when I try to get help:
wine Firestorm-Release.exe -h
but slightly differently:
--purge Delete files in the cache. --qa ib/javaaC _h@p@pTHORITY=/home/guest/.XauthoritycISUAL=mceditu pR▒_!USE!E3¬X·!P?!E?°Pc!Hi!2020-09-02T23:22:51Z INFO #CRASHREPORT# win_crash_logger/llcrashloggerwindows.cpp(318) LLCrashLoggerWindows::processingLoop : Client has connected! 0024:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x175054b
and this makes console (inside Konsole terminal emulator) not very well looking (try midnight commander) until I 'reset' it by typing reset.
Does this mean it messes up environment variables?
What kind of logs I must create? (sounds like display/adapter regression, but who knows, may be this message mean something else).
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #1 from Andrew Randrianasulu randrianasulu@gmail.com --- Created attachment 68081 --> https://bugs.winehq.org/attachment.cgi?id=68081 Log from 5.13
For some reason it thinks I run Win8, even if I set windows version to Win10 in winecfg ?
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #2 from Andrew Randrianasulu randrianasulu@gmail.com --- Very strange, attempt at output redirection like this:
DRI_PRIME=1 wine Firestorm-Release.exe 2>&1 | tee NON-Working.log
results in working program! So ....does this point at (win/lin) console interaction?
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #3 from Andrew Randrianasulu randrianasulu@gmail.com --- bug still around for me in wine 5.17
https://bugs.winehq.org/show_bug.cgi?id=49770
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Please, run a regression test: https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #5 from Andrew Randrianasulu randrianasulu@gmail.com --- (In reply to joaopa from comment #4)
Please, run a regression test: https://wiki.winehq.org/Regression_Testing
081d25d4b989c732d301b786311c034132c8d7a3 is the first bad commit commit 081d25d4b989c732d301b786311c034132c8d7a3 Author: Piotr Caban piotr@codeweavers.com Date: Wed Aug 5 15:08:06 2020 +0200
msvcrt: Use correct code page in _write when outputing to console.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 b120b492f8423e36d0a63849bbd6ce76f0242334 3dc9c59ade4409a8813d476f600894513732db08 M dlls
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #6 from Andrew Randrianasulu randrianasulu@gmail.com --- Created attachment 68167 --> https://bugs.winehq.org/attachment.cgi?id=68167 git bisect log
https://bugs.winehq.org/show_bug.cgi?id=49770
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |081d25d4b989c732d301b786311 | |c034132c8d7a3 Version|5.16 |5.15 Keywords| |regression Summary|Firestorm viewer regression |Firestorm viewer crashes |after 5.13? | CC| |piotr.caban@gmail.com Component|-unknown |msvcrt
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #7 from Piotr Caban piotr.caban@gmail.com --- Could you please attach relay log running "wine Firestorm-Release.exe -h" command?
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #8 from Andrew Randrianasulu randrianasulu@gmail.com --- Created attachment 68182 --> https://bugs.winehq.org/attachment.cgi?id=68182 DRI_PRIME=1 WINEDEBUG=+relay wine Firestorm-Release.exe -h > 5.15_regression.log 2>&1
Warning, will expand into 700+ mb file!
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #9 from Andrew Randrianasulu randrianasulu@gmail.com --- sorry, wrong mime type, try to right-click and 'Save as' (this is xz compressed log)
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #10 from Piotr Caban piotr.caban@gmail.com --- It looks like there was no crash when log was collected (probably because of the redirection).
Is there a way I can reproduce the crash locally? I've tried downloading Firestorm viewer and running it locally but I don't see the crash.
You can also try collecting new log with following commands: - run winecfg in background (it will make the log smaller) - WINEDEBUG=relay wine wineconsole &>regression.log - in wineconsole run Firestorm-Release.exe -h The application output will be printed to wineconsole and the log will be saved to file. Hopefully it's possible to reproduce the bug this way.
https://bugs.winehq.org/show_bug.cgi?id=49770
Andrew Randrianasulu randrianasulu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68182|0 |1 is obsolete| |
--- Comment #11 from Andrew Randrianasulu randrianasulu@gmail.com --- Created attachment 68183 --> https://bugs.winehq.org/attachment.cgi?id=68183 New log, this time with wineconsole (where it crashed)
Still very big file, this time winecfg was not run (at least manually).
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #12 from Piotr Caban piotr.caban@gmail.com --- Created attachment 68184 --> https://bugs.winehq.org/attachment.cgi?id=68184 Fixes buffer overflow in _write function
I'm attaching a patch that should fix the crash. Could you please give it a try?
https://bugs.winehq.org/show_bug.cgi?id=49770
--- Comment #13 from Andrew Randrianasulu randrianasulu@gmail.com --- (In reply to Piotr Caban from comment #12)
Created attachment 68184 [details] Fixes buffer overflow in _write function
I'm attaching a patch that should fix the crash. Could you please give it a try?
It works! (on top of wine-5.17-21-g666c5b6e20) Thanks!
https://bugs.winehq.org/show_bug.cgi?id=49770
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |427e2bb60995300d479fba60236 | |2a24147d76a2c
--- Comment #14 from Piotr Caban piotr.caban@gmail.com --- Fixed by 427e2bb60995300d479fba602362a24147d76a2c commit.
https://bugs.winehq.org/show_bug.cgi?id=49770
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.18.