Created attachment 187178 [details] 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_()
=== 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.