Bug 77292 - [Qt] Crashing error in QWebView when accessing ebay homepage
Summary: [Qt] Crashing error in QWebView when accessing ebay homepage
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-29 00:11 PST by zhiyiliu
Modified: 2014-01-28 20:42 PST (History)
2 users (show)

See Also:


Attachments
Qt project for reproducing the error (4.41 KB, application/zip)
2012-01-29 00:11 PST, zhiyiliu
no flags Details
Screenshot of the error (77.22 KB, image/jpeg)
2012-01-29 00:12 PST, zhiyiliu
no flags Details
Screenshot of Qt Debug window (application output) (92.23 KB, image/jpeg)
2012-01-29 00:13 PST, zhiyiliu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zhiyiliu 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.
Comment 1 zhiyiliu 2012-01-29 00:12:26 PST
Created attachment 124459 [details]
Screenshot of the error
Comment 2 zhiyiliu 2012-01-29 00:13:05 PST
Created attachment 124460 [details]
Screenshot of Qt Debug window (application output)