https://bugs.winehq.org/show_bug.cgi?id=54956
Bug ID: 54956 Summary: Framemaker 8 crashes on printing Product: Wine Version: 8.8 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv Assignee: wine-bugs@winehq.org Reporter: ulrich.gemkow@ikr.uni-stuttgart.de Distribution: ---
Framemaker 8 crashes on printing after some pages with an internal error
This is a 32-bit-only wine install which is self-compiled, not WOW
A bisect shows the following patch as the first bad commit
be33dfbde0ac73d873be06399a90b805c1500d8f is the first bad commit commit be33dfbde0ac73d873be06399a90b805c1500d8f Author: Piotr Caban piotr@codeweavers.com Date: Sun May 7 13:50:26 2023 +0200
wineps: Remove no longer used font selection code from PE side.
dlls/wineps.drv/builtin.c | 189 -------------------------------------------- dlls/wineps.drv/font.c | 82 ++----------------- dlls/wineps.drv/printproc.c | 29 ------- dlls/wineps.drv/psdrv.h | 2 - 4 files changed, 8 insertions(+), 294 deletions(-)
Before each test the prefix was freshly created.
https://bugs.winehq.org/show_bug.cgi?id=54956
Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=54956
Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |be33dfbde0ac73d873be06399a9 | |0b805c1500d8f
https://bugs.winehq.org/show_bug.cgi?id=54956
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #1 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
Could you please give it a try? If it still crashes please attach a log with seh,gdi,enhmetafile,winspool,localspl,psdrv debug channels.
https://bugs.winehq.org/show_bug.cgi?id=54956
--- Comment #2 from Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de --- Created attachment 74486 --> https://bugs.winehq.org/attachment.cgi?id=74486 Backtrace which may show the bug location
https://bugs.winehq.org/show_bug.cgi?id=54956
--- Comment #3 from Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de --- Created attachment 74487 --> https://bugs.winehq.org/attachment.cgi?id=74487 Log file as requested
https://bugs.winehq.org/show_bug.cgi?id=54956
--- Comment #4 from Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de --- Thanks for the patch. It unfortunately does not help.
I attached the requested log file.
I also attached a backtrace which may show the bug location but may also show a followup crash. Framemaker shows an "internal error" message box while printing and then the backtrace is generated.
One more observation: In the crashing wine 8.8 (+patches) Framemaker shows a message box about missing fonts in the opened document. In wine 8.7 (working) this message box does not appear. Has something changed in the font handling? This may or may not be related.
https://bugs.winehq.org/show_bug.cgi?id=54956
--- Comment #5 from Piotr Caban piotr.caban@gmail.com --- It should be fixed by d225fb8e715c2adf66ff7a3094a737ea1fceaa88. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=54956
--- Comment #6 from Piotr Caban piotr.caban@gmail.com --- (In reply to Piotr Caban from comment #5)
It should be fixed by d225fb8e715c2adf66ff7a3094a737ea1fceaa88. Please retest.
Just to be clear - it's not the only patch needed for the bug, earlier patches related to printing are also needed.
https://bugs.winehq.org/show_bug.cgi?id=54956
--- Comment #7 from Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de --- Thanks a lot! Your patches fixes this bug. There remain some small font issues, I will further investigate and file a bug when approriate.
https://bugs.winehq.org/show_bug.cgi?id=54956
Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Ulrich Gemkow ulrich.gemkow@ikr.uni-stuttgart.de --- see previous comment, bug is fixed
https://bugs.winehq.org/show_bug.cgi?id=54956
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.9.