Bug 114345

Summary: Crash under CTGlyphRun::CloneRange with a specific text
Product: WebKit Reporter: Oleg Isonen <oleg008>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, glenn
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.8   
Attachments:
Description Flags
crash report none

Oleg Isonen
Reported 2013-04-10 03:00:24 PDT
Render this page: <!DOCTYPE html> <html> <head> <meta charset='utf-8'/> </head> <body> ّّألــحــب أمــانـــهّّ مـــشّّ غـــدر و خــيــانــهّّّ »̶·̵̭̌ ̤̥̈̊ كبريائي ·̵̭̌«̶ </body> </html> This arabic characters in this order using some fonts like 'sans-serif' or 'Lucida Grande' will crash the safari completely. Please find crash report in attachement.
Attachments
crash report (65.89 KB, text/plain)
2013-04-10 03:03 PDT, Oleg Isonen
no flags
Oleg Isonen
Comment 1 2013-04-10 03:03:20 PDT
Created attachment 197234 [details] crash report
Alexey Proskuryakov
Comment 2 2013-04-10 10:15:05 PDT
Thank you for the report! This is a known issue in a framework below WebKit, tracked internally by Apple as <rdar://12074736>. Closing as INVALID since this is not an issue that we can fix in WebKit code base. Did this test case come from real life, or is it a synthetic test case made just to trigger the bug? I'm not sure if "»̶·̵̭̌ ̤̥̈̊" is something that would appear on a real web page.
Oleg Isonen
Comment 3 2013-04-10 10:47:12 PDT
This issue is also reproducible in chrome.
Oleg Isonen
Comment 4 2013-04-10 10:49:49 PDT
Also an interesting thing is I could workaround it by setting display: inline-block: on this elements.
Oleg Isonen
Comment 5 2013-04-10 10:52:59 PDT
This is a real test case, we have right now. This 2 strings are things user liked at facebook and we display them. http://skim.com/kho2
Oleg Isonen
Comment 6 2013-04-10 10:54:48 PDT
Here is thefb page user liked: http://www.facebook.com/kebrea2e.ahmad
Oleg Isonen
Comment 7 2013-04-10 10:56:21 PDT
Its not just this chars, its a conjunction of this 2 words + some specific fonts + utf-8 meta tag
Oleg Isonen
Comment 8 2013-04-10 10:59:32 PDT
+ display: inline;
Alexey Proskuryakov
Comment 9 2013-04-10 11:12:16 PDT
Thank you for the additional information!
Note You need to log in before you can comment on or make changes to this bug.