[Webkit-unassigned] [Bug 38759] New: [Qt] Initializing the icon database twice in a row raise an assert

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 7 09:38:01 PDT 2010


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

           Summary: [Qt] Initializing the icon database twice in a row
                    raise an assert
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jocelyn.turcotte at nokia.com


Created an attachment (id=55387)
 --> (https://bugs.webkit.org/attachment.cgi?id=55387)
Test app

See the attached test for a common possible case:

    QWebSettings::enablePersistentStorage();
    QWebSettings::globalSettings()->setIconDatabasePath(".");


When we call QWebSettings::setIconDatabasePath() we don't make sure that the
icon database has been closed before opening it again.

There is protection for that in IconDatabase::open() by checking if the sqlite
database is open, however it don't work here since the state only change when
the database is opened on the spawned thread.

I don't know what happens in release, there might be an opened sqlite database
on the first path specified to setIconDatabasePath.

Reproduced on MSVC2008.

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