[Webkit-unassigned] [Bug 109233] New: [Qt] QWebView in OS X SEGV on particular URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 7 14:37:44 PST 2013


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

           Summary: [Qt] QWebView in OS X SEGV on particular URL
           Product: WebKit
           Version: 420+
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: davecortesi at gmail.com


Created an attachment (id=187178)
 --> (https://bugs.webkit.org/attachment.cgi?id=187178&action=review)
Apple crash report from Snow Leopard

NOTE: I am confused about what level of webkit I am using: it was installed with Qt 4.8.4. In the file qwebkitglobal.h it says #define QTWEBKIT_VERSION_STR "2.2.3" however the string returned by QWebPage.userAgentForUrl() contains "AppleWebKit/534.34" -- none of these numbers are in the Version list on this form.

This crash happens only on Mac OS X, both on 10.6 Snow Leopard and on 10.8 Mountain Lion.

It will not fail on Ubuntu or on Windows XP.

The very simple test program follows. Run it and follow the directions it displays. 
Upon clicking the first link it produces this message on the console:

QFont::setPixelSize: Pixel size <= 0 (0)

Further clicking will produce a crash. The full crash report is attached (dorktoes-crash-report.txt). The problem appears to relate to font rendering (as suggested by the above message), the first dozen modules in the stack trace are font-related.

    from PyQt4.QtCore import ( Qt, QUrl )
    from PyQt4.QtGui import ( QApplication, QMainWindow )
    from PyQt4.QtWebKit import QWebView  
    import sys
    app = QApplication(sys.argv)
    main = QMainWindow()
    view = QWebView()
    main.setCentralWidget(view)
    main.show()
    html = u'''
    <p>Click <a href='http://dorktoescomic.com/?p=819'>this link</a><br />
    After it renders, alternate clicking the "Previous"
    and "Next" links and soon the app will crash.</p>
    '''
    view.setHtml(html)
    app.exec_()

-- 
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