WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 141432
153921
[GTK][Mac] WebCore::FontCache::lastResortFallbackFont WebKitWebProcess Segfault
https://bugs.webkit.org/show_bug.cgi?id=153921
Summary
[GTK][Mac] WebCore::FontCache::lastResortFallbackFont WebKitWebProcess Segfault
Ethan Sherriff
Reported
2016-02-05 10:36:20 PST
Created
attachment 270753
[details]
Crash report for WebKitWebProcess Running MiniBrowser on a source build of WebKitGTK+ 2.10.7 on OS X 10.11 causes WebKitWebProcess to crash.
Attachments
Crash report for WebKitWebProcess
(60.49 KB, text/plain)
2016-02-05 10:36 PST
,
Ethan Sherriff
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Huddleston Sequoia
Comment 1
2016-02-05 12:20:23 PST
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libwebkit2gtk-4.0.37.dylib 0x0000000107eea634 WebCore::FontCache::lastResortFallbackFont(WebCore::FontDescription const&) + 148 1 libwebkit2gtk-4.0.37.dylib 0x0000000107590824 WebCore::CSSFontFaceSource::font(WebCore::FontDescription const&, bool, bool, WebCore::CSSFontSelector*) + 596 2 libwebkit2gtk-4.0.37.dylib 0x000000010758f6bf WebCore::CSSFontFace::font(WebCore::FontDescription const&, bool, bool) + 255 Can you disassemble WebCore::FontCache::lastResortFallbackFont, so we can see what is going on at that point?
Ethan Sherriff
Comment 2
2016-02-05 12:31:21 PST
Sure, I'm quite new to this sort of stuff, how would I go about doing that?
Ethan Sherriff
Comment 3
2016-02-06 13:52:41 PST
Could this be related to
bug 141432
, it seems similar but it's pretty a ancient bug.
Michael Catanzaro
Comment 4
2016-02-06 18:59:46 PST
It has to be at least related, because that function is pretty simple. I guess you have a problem with fontconfig, such that it cannot find any serif font. Crashing is the right thing to do in that case, but we should still handle it better
Ethan Sherriff
Comment 5
2016-02-07 03:07:57 PST
Fixed it! Reinstalling fontconfig with the configure option: --with-add-fonts="/Library/Fonts,/System/Library/Fonts,/Network/Library/Fonts" fixed it (credit to the maintainer of the fontconfig MacPorts port).
Jeremy Huddleston Sequoia
Comment 6
2016-02-07 08:23:22 PST
Can you please reopen this to add an informative release assertion here instead of crashing?
Ethan Sherriff
Comment 7
2016-02-07 08:32:56 PST
Sure, how would I do that?
Michael Catanzaro
Comment 8
2016-02-07 09:08:24 PST
See
bug #141432
*** This bug has been marked as a duplicate of
bug 141432
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug