https://bugs.winehq.org/show_bug.cgi?id=56788
Bug ID: 56788 Summary: ComicRackCE crashes when viewing "info" for a comic file Product: Wine Version: 9.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: sluggo@unknown.nu Distribution: ---
Created attachment 76593 --> https://bugs.winehq.org/attachment.cgi?id=76593 Crash backtrace
When I select a comic in ComicRackCE and go to the info page, it crashes with the attached backtrace. It works fine in 9.9.
https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #1 from Kim Scarborough sluggo@unknown.nu --- Created attachment 76594 --> https://bugs.winehq.org/attachment.cgi?id=76594 Console output
https://bugs.winehq.org/show_bug.cgi?id=56788
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #2 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=56788
--- Comment #3 from Kim Scarborough sluggo@unknown.nu --- 3c1462afa0acee45127fe610db1c8258016e8bec is the first bad commit commit 3c1462afa0acee45127fe610db1c8258016e8bec Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue May 28 02:21:29 2024 +0200
gdi32/text: Make GetTextExtentExPointW() return sizes consistent with ExtTextOutW().
Observable issue before this change is that text extent does not match size of ExtTextOutW() output. The fix is to shape text in similar way before measuring. Individual extents returned in this case are arguably useless, they do not match visual output order, and only give an idea on how much each input character contributed to overall width. To match input character order all intra-line and intra-item reordering is disabled.
https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Thanks a lot for testing. Could you explain how to reproduce this? Is this the project https://github.com/maforget/ComicRackCE ? Do I need anything extra like data files to reproduce this?
https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #5 from Kim Scarborough sluggo@unknown.nu --- Yes, that's the project. You'd need to add at least one CBZ or CBR file to your library. Once it's there, you right-click on the file and select "Info".
Let me know if you need any help.
https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #6 from Kim Scarborough sluggo@unknown.nu --- Created attachment 76598 --> https://bugs.winehq.org/attachment.cgi?id=76598 CBZ file for testing
https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #7 from Kim Scarborough sluggo@unknown.nu --- I've attached a small CBZ file you can add to your library.
https://bugs.winehq.org/show_bug.cgi?id=56788
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- Thanks, I was able to reproduce. It only happens if you run with .NET 4.8 it seems, wine-mono does not crash there.
I submitted a fix https://gitlab.winehq.org/wine/wine/-/merge_requests/5800.
https://bugs.winehq.org/show_bug.cgi?id=56788
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |3c1462afa0acee45127fe610db1 | |c8258016e8bec
https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- This should be fixed now with 3c59fb2071c225dd9bb0b5d0fe45e3376e3b5f91, if you're able to rebuild locally please retest with current wine. If not, next release 9.11 will contain the fix.
https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #10 from Kim Scarborough sluggo@unknown.nu --- Fixed with latest build. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=56788
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |3c59fb2071c225dd9bb0b5d0fe4 | |5e3376e3b5f91
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- Great, marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=56788
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.11.