https://bugs.winehq.org/show_bug.cgi?id=54936
Bug ID: 54936 Summary: Wine 8.8 does not print Product: Wine Version: 8.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: marcelotduarte@gmail.com Distribution: ---
Created attachment 74459 --> https://bugs.winehq.org/attachment.cgi?id=74459 dump
In wine 8.8 does not print. I have an app in VFP9 that stoped to print. Then I tested notepad, and notepad does not print too, so it is easy to reproduce. Open notepad (wine notepad), type any text and print.
I noted that are many changes in wineps.drv in this version.
https://bugs.winehq.org/show_bug.cgi?id=54936
Marcelo Duarte marcelotduarte@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marcelotduarte@gmail.com Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=54936
Marcelo Duarte marcelotduarte@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=54936
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, printing, | |regression Severity|blocker |normal
--- Comment #1 from Austin English austinenglish@gmail.com --- Please run a regression test: https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=54936
Marcelo Duarte marcelotduarte@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|8.8 |8.7 Summary|Wine 8.8 does not print |Wine 8.7 and 8.8 does not | |print
--- Comment #2 from Marcelo Duarte marcelotduarte@gmail.com --- For now I cannot run the regression tests. But I reverted the versions to 8.7 and it failed Only 8.6 is working.
https://bugs.winehq.org/show_bug.cgi?id=54936
--- Comment #3 from Piotr Caban piotr.caban@gmail.com --- There's 7034fc297bf730427c6c808cb3f574b56f50b60f commit that updates printer configuration (winspool: Change CUPS printers print processor to wineps). After the configuration is changed printing will not work when wine is downgraded (you will need to use new prefix or update the configuration manually).
This makes the regression test / testing older versions of wine tricky. Can you reproduce the issue with clean/new prefix?
It will be interesting to figure out what is causing the problem. We already had ~3 bugs that were all resolved by recreating the prefix. The root cause was never found though (and I was not able to reproduce the issue even when I tried creating the prefix with some old version of wine). Could you please attach a log with WINEDEBUG=psdrv,winspool,tid,pid,seh debug channels when printing from notepad? What's the "Windows version" set in winecfg? Could you please also export "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print" key with regedit and attach it here?
https://bugs.winehq.org/show_bug.cgi?id=54936
--- Comment #4 from Piotr Caban piotr.caban@gmail.com --- I've missed the crash dump. I don't need the Windows version, it's already in the crash log. I also don't need the registry export since there's a crash in gdi32.
Please collect the log with following debug channels: WINEDEBUG=psdrv,winspool,tid,pid,seh,enhmetafile,gdi
https://bugs.winehq.org/show_bug.cgi?id=54936
--- Comment #5 from Marcelo Duarte marcelotduarte@gmail.com --- Created attachment 74465 --> https://bugs.winehq.org/attachment.cgi?id=74465 notepad.log
The log for 8.8 is attached.
https://bugs.winehq.org/show_bug.cgi?id=54936
--- Comment #6 from Marcelo Duarte marcelotduarte@gmail.com ---
Can you reproduce the issue with clean/new prefix?
Yes, I can. After the first error, I recreated the prefix.
https://bugs.winehq.org/show_bug.cgi?id=54936
Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ulrich.gemkow@ikr.uni-stutt | |gart.de
https://bugs.winehq.org/show_bug.cgi?id=54936
--- Comment #7 from Marcelo Duarte marcelotduarte@gmail.com --- Another bug about print https://bugs.winehq.org/show_bug.cgi?id=54956 point to be33dfbde0ac73d873be06399a90b805c1500d8f as the first bad commit.
https://bugs.winehq.org/show_bug.cgi?id=54936
--- Comment #8 from Piotr Caban piotr.caban@gmail.com --- I've sent a patch that should fix the crash: https://gitlab.winehq.org/wine/wine/-/merge_requests/2860
Please attach a new log if it still doesn't work with the patch.
https://bugs.winehq.org/show_bug.cgi?id=54936
Marcelo Duarte marcelotduarte@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Version|8.7 |8.8
--- Comment #9 from Marcelo Duarte marcelotduarte@gmail.com --- Using wine-8.8-190-gf266dc094a9
The patch fixes the issue. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=54936
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |55b9b2f675af9e45a139cd64947 | |a9fe50463aed1
https://bugs.winehq.org/show_bug.cgi?id=54936
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.9.