[Webkit-unassigned] [Bug 28711] New: Qt WebKit crash in QWebHistory::saveState()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 25 08:11:46 PDT 2009


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

           Summary: Qt WebKit crash in QWebHistory::saveState()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jedrzej.nowacki at nokia.com


Qt WebKit crash in QWebHistory::saveState() if history instance was created
from empty QWebPage and loaded by QWebHistory::restoreState(). 

Example, this code cause crash:
{
    QByteArray tmp = hist->saveState();
    QWebPage* page2 = new QWebPage(this);
    QWebHistory* hist2 = page2->history();
    for (unsigned i = 0; i < 5; i++){
        hist2->restoreState(tmp);
        hist2->saveState();
    }
    delete page2;
}

Of course, the application should not crash :-)

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