https://bugs.winehq.org/show_bug.cgi?id=50271
Bug ID: 50271 Summary: Wine crash with virtual_setup_exception while PSPad is showing splash screen or checking for updates Product: Wine Version: 6.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: juozaspo@gmail.com Distribution: ---
Created attachment 68816 --> https://bugs.winehq.org/attachment.cgi?id=68816 PSPad terminal output with full details
Running PSPad editor on Wine 6.0-rc1 (Ubuntu 20.04 LTS, proposed enabled) causes it to hang while it's showing splash screen or checking for updates (activated via menu item), with virtual_setup_exception nested exception error shown in console. The application must be killed as it not responding and can't be closed in normal way.
To reproduce 1. (optionally) create a new user, assign some privileges such as sudo to it, log in using new user name 2. (optionally, if wine prefix does not exist) run wine wineboot to create prefix 3. Download pspad zip archive from official site, unzip to a new directory. 4. cd to new directory, run wine PSPad.exe 5. Watch how editor hangs while showing splash screen or while checking for updates (triggered by using an item from the application menu)
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine crash with |Wine crash with |virtual_setup_exception |virtual_setup_exception |while PSPad is showing |error during PSPad splash |splash screen or checking |screen or while checking |for updates |for updates
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine crash with |Wine throws |virtual_setup_exception |virtual_setup_exception |error during PSPad splash |error during PSPad splash |screen or while checking |screen or while checking |for updates |for updates
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #1 from Juozas juozaspo@gmail.com --- The installer and portable versions can be downloaded from http://www.pspad.com/en/download.php and developer versions can be downloaded from the linked page accessed on the same location
https://bugs.winehq.org/show_bug.cgi?id=50271
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.pspad.com/en/dow | |nload.php CC| |z.figura12@gmail.com
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- You've tagged this as a regression. Can you provide a version in which this application works?
Performing a regression test (as described in https://wiki.winehq.org/Regression_Testing) will likely help the bug get fixed.
Also, I can't reproduce this, at least, not by launching the application and clicking Help -> Check for updates.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #3 from Juozas juozaspo@gmail.com --- It worked fine on earlier version (not sure which one), might work on stable too, will do some tests after I reinstall a stable version.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- I forgot to mention that I was also testing with 6.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #5 from Juozas juozaspo@gmail.com --- After cleanup and installing winehq-stable program works, also made sure recommends were installed properly; Will retest against devel version and see if there's a difference.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #6 from Juozas juozaspo@gmail.com --- Reinstalled winehq-devel with all recommends, still does not work, wine crash when checking for updates or when showing splash screen on first PSPad installation. Btw i'm running Ubuntu 20.04 LTS proposed repository enabled and using Xfce 4.14 as desktop environment.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #7 from Juozas juozaspo@gmail.com --- Created attachment 68870 --> https://bugs.winehq.org/attachment.cgi?id=68870 Installed dep. versions on Ubuntu 20.04 LTS with proposed enabled, generated using apt-rdepends command
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #8 from Juozas juozaspo@gmail.com --- Now building wine according to instructions on Regression testing page; Installed all the available build deps, including most of the ones configure script complained about, will do more testing tomorrow as it takes long to compile on Pentium Dual-Core E6300 CPU.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #9 from Juozas juozaspo@gmail.com --- Local wine build crash too. With all available build deps installed too. It seems it's not something package-specific :\
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #10 from Zebediah Figura z.figura12@gmail.com --- It could potentially be a windowing problem, specific to xfce. For reference, I tested with KDE.
Testing with a virtual desktop might potentially help to confirm this.
If you can attach a log with WINEDEBUG=+pid,+loaddll,+win,+event,+msg,+message,+seh, that might also help to confirm this.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #11 from Juozas juozaspo@gmail.com --- Created attachment 68885 --> https://bugs.winehq.org/attachment.cgi?id=68885 console output of running with winedebug, gzip'ed
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #12 from Juozas juozaspo@gmail.com --- I've been throughly doing a regression testing for yesterday, just attached winedebug output. To partialy automate testing job I create a few scripts to do that. They should be soon be attached
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #13 from Juozas juozaspo@gmail.com --- Created attachment 68886 --> https://bugs.winehq.org/attachment.cgi?id=68886 wine-cleanup.sh, called by both test scripts
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #14 from Juozas juozaspo@gmail.com --- Created attachment 68887 --> https://bugs.winehq.org/attachment.cgi?id=68887 pspad-test.sh, script to automate some portion of testing, as I'm doing regression testing as described in wiki
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #15 from Juozas juozaspo@gmail.com --- Created attachment 68888 --> https://bugs.winehq.org/attachment.cgi?id=68888 pspad-test-dist.sh, script to test with wine installed globally on the system
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68885|console output of running |console output of running description|with winedebug, gzip'ed |via shell script, with | |WINEDEBUG variable set, | |gzip'ed
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68888|pspad-test-dist.sh, script |pspad-test-dist.sh, script description|to test with wine installed |to test with wine installed |globally on the system |globally on the system, | |modified to return more | |debug info
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68886|wine-cleanup.sh, called by |wine-cleanup.sh, called by description|both test scripts |both test scripts. Caution: | |it deletes .wine directory. | |Edit it if this is | |undesired behaviour
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com Regression SHA1| |419abd49a1f816e5a869dbf4cc8 | |1114cd516138b
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #16 from Juozas juozaspo@gmail.com --- Found the commit that caused crash, titled "ntdll: Support AVX registers for other thread in Nt{Get|Set}ContextThread()." with hash 419abd49a1f816e5a869dbf4cc81114cd516138b All versions after the commit including itself causes a crash for me. Might be cpu issue as I'm running on a quite old cpu (Intel Pentium Dual-Core E6300 @ 2.80GHz)
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68887|pspad-test.sh, script to |pspad-test.sh, script to description|automate some portion of |automate some portion of |testing, as I'm doing |testing, for regression |regression testing as |testing I was doing as |described in wiki |described in wiki
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #17 from Paul Gofman pgofman@codeweavers.com --- Created attachment 68889 --> https://bugs.winehq.org/attachment.cgi?id=68889 test patch
(In reply to Juozas from comment #16)
Found the commit that caused crash, titled "ntdll: Support AVX registers for other thread in Nt{Get|Set}ContextThread()." with hash 419abd49a1f816e5a869dbf4cc81114cd516138b All versions after the commit including itself causes a crash for me. Might be cpu issue as I'm running on a quite old cpu (Intel Pentium Dual-Core E6300 @ 2.80GHz)
Thanks for bisecting. Also, knowing that this is a quite old CPU might be helpful.
The attached patch checks one guess I have and also adds a bit of extra output.
Could you please try it with the attached patch (on top of current Wine), does it change anything?
In any case, could you please attach WINEDEBUG=+pid,+seh,+timestamp log with this patch? And if it is still crashes with the patch, also attach 'ntdll.so' 32 bit binary from Wine installation which is used to make this log (this way I should be able to see where it is faulting exactly).
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #18 from Juozas juozaspo@gmail.com --- The patch works on top of latest master (be4592824208f82e9cd9c096a879b1d3c58fb122), no crash so far, checking for update (activated from menu) works too :) Checked on new wine prefix, log includes messages from prefix creation. Anyway the debug output should be attached right below this post.
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #19 from Juozas juozaspo@gmail.com --- Created attachment 68891 --> https://bugs.winehq.org/attachment.cgi?id=68891 debug log (wine compiled with test patch on top of master)
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch |
https://bugs.winehq.org/show_bug.cgi?id=50271
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=50271
--- Comment #20 from Paul Gofman pgofman@codeweavers.com --- Should be fixed by 0fde203cac0ada6439f180ac9c0456f2e85bb786
https://bugs.winehq.org/show_bug.cgi?id=50271
Juozas juozaspo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #21 from Juozas juozaspo@gmail.com --- The fix above works for me, now I only have to wait until 6.0-rc2 is available on ubuntu repository as it's not built, packaged or uploaded yet.
https://bugs.winehq.org/show_bug.cgi?id=50271
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0fde203cac0ada6439f180ac9c0 | |456f2e85bb786
https://bugs.winehq.org/show_bug.cgi?id=50271
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=50271
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll CC| |focht@gmx.net URL|http://www.pspad.com/en/dow |https://web.archive.org/web |nload.php |/20200423161047/https://psp | |ad.poradna.net/release/pspa | |d503_setup.exe