[Webkit-unassigned] [Bug 97163] New: [Qt] QWebView::findText() SEGV when matching hidden text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 19 20:04:29 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=97163

           Summary: [Qt] QWebView::findText() SEGV when matching hidden
                    text
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Major
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steve-webkit at blighty.com


Created an attachment (id=164829)
 --> (https://bugs.webkit.org/attachment.cgi?id=164829&action=review)
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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list