Bug 97163

Summary: [Qt] QWebView::findText() SEGV when matching hidden text
Product: WebKit Reporter: Steve Atkins <steve-webkit>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Major Keywords: Qt
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.7   
Attachments:
Description Flags
Small Qt application that crashes none

Steve Atkins
Reported 2012-09-19 20:05:00 PDT
Created attachment 164829 [details] Small Qt application that crashes If QWebView::findText() matches text that is in the document but not currently shown (the example code attached uses "overflow: hidden; text-overflow: ellipsis;") then the application will crash. Stack trace: #0 0x00007fff8e4d1cd8 in bzero$VARIANT$sse42 () #1 0x0000000101fe31ec in QVarLengthGlyphLayoutArray::QVarLengthGlyphLayoutArray () #2 0x0000000101fecd5a in QFontMetrics::width () The error seems to be due to the selection - it doesn't occur with QWebPage::HighlightAllOccurrences.
Attachments
Small Qt application that crashes (810 bytes, application/zip)
2012-09-19 20:05 PDT, Steve Atkins
no flags
Jocelyn Turcotte
Comment 1 2014-02-03 03:22:49 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.