[Bug 59542] New: CEF crashes in dwrite when browsing The Verge (weird font file)
http://bugs.winehq.org/show_bug.cgi?id=59542 Bug ID: 59542 Summary: CEF crashes in dwrite when browsing The Verge (weird font file) Product: Wine Version: 11.4 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: dwrite Assignee: wine-bugs@list.winehq.org Reporter: bshanks@codeweavers.com Created attachment 80586 --> http://bugs.winehq.org/attachment.cgi?id=80586 backtrace I'm seeing a crash with ARM64 CEF 130.1.15 when browsing theverge.com, for some reason I can't reproduce it with x86_64 CEF. After extracting the font file though, it reproduces standalone on x86_64. I'll attach sample code, and the offending font file. The issue appears to be that in init_font_file(), opentype_get_font_facename() fails to get any names, so data->family_names is left NULL. The fontstrings_get_en_string(data->names, faceW, ARRAY_SIZE(faceW)) call then crashes. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59542 --- Comment #1 from Brendan Shanks <bshanks@codeweavers.com> --- Created attachment 80587 --> http://bugs.winehq.org/attachment.cgi?id=80587 Code to load/parse font file -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59542 --- Comment #2 from Brendan Shanks <bshanks@codeweavers.com> --- Created attachment 80588 --> http://bugs.winehq.org/attachment.cgi?id=80588 Font file -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59542 --- Comment #3 from Nikolay Sivov <bunglehead@gmail.com> --- My local sample works now, and reports same strings as Windows does. If you can please retest in CEF context. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59542 --- Comment #4 from Nikolay Sivov <bunglehead@gmail.com> --- Commit 8adc2570ea33275dc41ff57dd100f63925aec774. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59542 Brendan Shanks <bshanks@codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8adc2570ea33275dc41ff57dd10 | |0f63925aec774 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Brendan Shanks <bshanks@codeweavers.com> --- Thanks, no longer seeing the crash with CEF. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59542 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.5. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla