RESOLVED INVALID77292
[Qt] Crashing error in QWebView when accessing ebay homepage
https://bugs.webkit.org/show_bug.cgi?id=77292
Summary [Qt] Crashing error in QWebView when accessing ebay homepage
zhiyiliu
Reported 2012-01-29 00:11:39 PST
Created attachment 124458 [details] Qt project for reproducing the error I am using Qt SDK 4.7.4. In debug mode, the application would crash if you follow these steps. Or you can use my attached project and go to step 4 directly. 1. Create a Qt Gui Application, the target is Desktop. 2. Drag a QWebView onto the MainWindow. 3. In mainwindow.cpp, add this line to the constructor: ui->webView->setUrl(QUrl("http://www.ebay.ca")); 4. Now run the application in debug mode. If eBay page shows diamond ad with pink background (if it doesn't, you need to restart your application a couple of times until the ad rotates to the diamond one), hover your mouse to the ad, and you'll see the error. The debug log shows this trace: Debugging starts ASSERT failure in QVector<T>::at: "index out of range", file ..\..\..\..\include/QtCore/../../../../../../ndk_buildrepos/qt-desktop/src/corelib/tools/qvector.h, line 339 Invalid parameter passed to C runtime function. Invalid parameter passed to C runtime function.
Attachments
Qt project for reproducing the error (4.41 KB, application/zip)
2012-01-29 00:11 PST, zhiyiliu
no flags
Screenshot of the error (77.22 KB, image/jpeg)
2012-01-29 00:12 PST, zhiyiliu
no flags
Screenshot of Qt Debug window (application output) (92.23 KB, image/jpeg)
2012-01-29 00:13 PST, zhiyiliu
no flags
zhiyiliu
Comment 1 2012-01-29 00:12:26 PST
Created attachment 124459 [details] Screenshot of the error
zhiyiliu
Comment 2 2012-01-29 00:13:05 PST
Created attachment 124460 [details] Screenshot of Qt Debug window (application output)
Note You need to log in before you can comment on or make changes to this bug.