https://bugs.winehq.org/show_bug.cgi?id=43715
Bug ID: 43715 Summary: winecfg crashes on startup with freetype 2.8.1 Product: Wine Version: 2.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: kinodont@gmail.com Distribution: ---
Created attachment 59194 --> https://bugs.winehq.org/attachment.cgi?id=59194 WINEDEBUG=+seh,+font winecfg
Distribution: Arch Linux freetype2 2.8.1-1 wine 2.17-1
Steps to reproduce: 1. have a clean 64-bit Wine prefix 2. $ winecfg 3. message similar to these appear: wine: Unhandled page fault on read access to 0x00000008 at address 0x7f31d2449c0f (thread 0030), starting debugger... winedbg: Internal crash at 0x7f8bb1159c0f
winecfg starts normally with freetype 2.8 (the previous version). Reverting freetype2 commit https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=79e3789f... also fixes the issue.
I suspect the crash is happening here: https://source.winehq.org/git/wine.git/blob/bb16263fe1974851f495435fef9a3d57... (I put a few new TRACEs around that conditional statement).
Obviously, this could be a FreeType issue, but the commit message and the documentation at https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT... seem to indicate that this behavior is intentional, so I am putting the bug here.
https://bugs.winehq.org/show_bug.cgi?id=43715
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Hello fellow Arch User,
can confirm the issue. Thanks for reporting, saves me the work to track down the crash myself.
https://bugs.winehq.org/show_bug.cgi?id=43715
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43715
Egon Ashrafinia wubbbi@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wubbbi@gmx.de
--- Comment #2 from Egon Ashrafinia wubbbi@gmx.de --- I can confirm this bug too. My error is the same:
wine: Unhandled page fault on read access to 0x00000008 at address 0x7ff273ca8769 (thread 0030), starting debugger... winedbg: Internal crash at 0x7f5210b70769
All started with freetyoe 2.8.1
https://bugs.winehq.org/show_bug.cgi?id=43715
sl1pkn07 sl1pkn07@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sl1pkn07@gmail.com
--- Comment #3 from sl1pkn07 sl1pkn07@gmail.com --- related:
https://bugs.winehq.org/show_bug.cgi?id=43716
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- No, that's a separate problem.
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #5 from sl1pkn07 sl1pkn07@gmail.com --- with related i mean related with freetype 2.8.1
https://bugs.winehq.org/show_bug.cgi?id=43715
Felix Yan felixonmars@archlinux.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felixonmars@archlinux.org
https://bugs.winehq.org/show_bug.cgi?id=43715
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |herrtimson@yahoo.de
https://bugs.winehq.org/show_bug.cgi?id=43715
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugo@barrera.io
--- Comment #6 from Sebastian Lackner sebastian@fds-team.de --- *** Bug 43762 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43715
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43716 CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=43715
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- Setting importance to blocker. Has there been any attempt to report this issue to the freetype people? I'm not sure if they consider this as a regression, or if they expect that all other projects start changing their code.
https://bugs.winehq.org/show_bug.cgi?id=43715
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|winecfg crashes on startup |Many applications (winecfg, |with freetype 2.8.1 |...) crash on startup with | |freetype 2.8.1
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #8 from kinodont@gmail.com --- (In reply to Sebastian Lackner from comment #7)
Has there been any attempt to report this issue to the freetype people?
I was waiting for an opinion of a Wine developer before proceeding to open a bug on FreeType's bug tracker.
Since I got one, I've opened a bug report on FreeType's bug tracker: https://savannah.nongnu.org/bugs/index.php?52097
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #9 from kinodont@gmail.com --- A FreeType developer has already responded stating that the issue is with Wine.
https://savannah.nongnu.org/bugs/index.php?52097#comment1
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 59266 --> https://bugs.winehq.org/attachment.cgi?id=59266 patch
Does this patch work?
https://bugs.winehq.org/show_bug.cgi?id=43715
Hugh McMaster hugh.mcmaster@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster@outlook.com
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #11 from Fabian Maurer dark.shadow4@web.de --- Yes, the patch solves the crash for me.
https://bugs.winehq.org/show_bug.cgi?id=43715
Jonas Jelten jj@stusta.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jj@stusta.net
https://bugs.winehq.org/show_bug.cgi?id=43715
BieHDC byi5000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byi5000@gmail.com
--- Comment #12 from BieHDC byi5000@gmail.com --- In the meantime you can also downgrade freetype
just do a: pacman -U /var/cache/pacman/pkg/freetype2-2.7.1-2-x86_64.pkg.tar.xz
https://wiki.archlinux.org/index.php/Downgrading_packages#Using_the_pacman_c...
and if your cache is already clear: download it https://wiki.archlinux.org/index.php/Downgrading_packages#Arch_Linux_Archive
But watch out that you not accidentally update the package again
https://bugs.winehq.org/show_bug.cgi?id=43715
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43715
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |countmontecristo33@gmail.co | |m
--- Comment #13 from Sebastian Lackner sebastian@fds-team.de --- *** Bug 43778 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43715
Daniel Bermond danielbermond@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |danielbermond@yahoo.com
https://bugs.winehq.org/show_bug.cgi?id=43715
jl jlm@ntymail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jlm@ntymail.com
--- Comment #14 from jl jlm@ntymail.com --- Hello, Sorry for the newbie question but how do I apply Nikolay Sivov's patch please? Thank you
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #15 from Austin English austinenglish@gmail.com --- (In reply to jl from comment #14)
Hello, Sorry for the newbie question but how do I apply Nikolay Sivov's patch please? Thank you
https://wiki.winehq.org/Regression_Testing#Patching_your_git_tree
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #16 from jl jlm@ntymail.com --- Thank you for the answer, it helps, but it seems I didn't have freetype so I get this error when patching:
dlls/gdi32/freetype.c : no such file or directory
I still get it after having installed freetype2. And after patching. Please, delete my posts, I will simply wait for an update or ask elswhere.
https://bugs.winehq.org/show_bug.cgi?id=43715
Alexander Waldemar Ahjolinna ahjolinna@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ahjolinna@yahoo.com
--- Comment #17 from Alexander Waldemar Ahjolinna ahjolinna@yahoo.com --- apparently the patch only fixes the crash issue but not the compile/build one, according to arch bug report: https://bugs.archlinux.org/task/55667
https://bugs.winehq.org/show_bug.cgi?id=43715
gamaghostmagus marcosgabriel2010@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marcosgabriel2010@gmail.com
--- Comment #18 from gamaghostmagus marcosgabriel2010@gmail.com --- Hi, i'm newbe too.
And i do not know how apply patch with my arch linux, returns error
git apply patch_name.diff
error: dlls/gdi32/freetype.c:
I really do not know how to do it.
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #19 from Austin English austinenglish@gmail.com --- Please use the wine forums for help applying patches
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #20 from gamaghostmagus marcosgabriel2010@gmail.com --- (In reply to Austin English from comment #19)
Please use the wine forums for help applying patches
do you have any tutorial to send?
https://bugs.winehq.org/show_bug.cgi?id=43715
Léo leeo97one@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leeo97one@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #21 from Nikolay Sivov bunglehead@gmail.com --- This should be fixed now, http://source.winehq.org/git/wine.git/?a=commit;h=d82321006de92dcd74465c9051.... Please test.
https://bugs.winehq.org/show_bug.cgi?id=43715
--- Comment #22 from Fabian Maurer dark.shadow4@web.de --- Can confirm it working now.
https://bugs.winehq.org/show_bug.cgi?id=43715
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |d82321006de92dcd74465c90512 | |1618a76eae76a Resolution|--- |FIXED
--- Comment #23 from Nikolay Sivov bunglehead@gmail.com --- Thanks, marking fixed then.
https://bugs.winehq.org/show_bug.cgi?id=43715
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.18.
https://bugs.winehq.org/show_bug.cgi?id=43715
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maxlivingston420@gmail.com
--- Comment #25 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 43771 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43715
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=43715
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #26 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.3.