Bug 39951 - Crash when using QImage
Summary: Crash when using QImage
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 420+
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-05-31 05:48 PDT by Florent Revelut
Modified: 2010-06-21 05:25 PDT (History)
1 user (show)

See Also:


Attachments
application (339.93 KB, application/zip)
2010-06-21 05:25 PDT, Florent Revelut
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florent Revelut 2010-05-31 05:48:20 PDT
Environment:
- Qt 4.6.2
- Windows XP 

When trying to extract pictures from QwebView, we have incoherent result and sometimes crashes.

Using provided application:
- run setup.bat
- qmake -r
- nmake

Then run (either release or debug).

This will generate a batch of images in subfolder pictures, expressing the differential update (exact position and size is expressed in name file)

Issues:
- some pictures are incoherent : test693_50_261_750_104.png
- clic button : View_fullscreen (the one circled in red in "overview.jpg") and hold it : it crashes.

crash looks like a race condition on FrameView.cpp, line 1013-1014:
    unsigned size = m_repaintRects.size();
    for (unsigned i = 0; i < size; i++)
        ScrollView::repaintContentRectangle(m_repaintRects[i], false);

When the crash happens, size != m_repaintRects.size()
Comment 1 Kent Hansen 2010-06-15 06:03:28 PDT
The description mentions a "provided application" but none is attached.
Comment 2 Florent Revelut 2010-06-21 05:25:12 PDT
Created attachment 59243 [details]
application

added missing application to reproduce crash