[Webkit-unassigned] [Bug 9367] New: Simultaneous clients of the IconDatabase cause icons to be deleted while still in use

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Jun 8 13:32:53 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9367

           Summary: Simultaneous clients of the IconDatabase cause icons to
                    be deleted while still in use
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: beidson at apple.com


The Icon Database does not handle multiple simultaneous clients at once.  No
corruption of the icon database will occur - however sometimes icons will be
deleted because one app doesn't need them anymore, but the other application
would still like to have them around.  As a result, the 2nd webkit app will get
the default icon and a log message about a missing icon will be printed to the
console.

Repro:
1 - Open Safari.  Surf around a bit to build up icons in your icon database,
and to build up some history entries.
2 - Open OmniWeb - do the same.
3 - If your history is cleared in safari, and/or a bookmark with an icon is
deleted, the icon can be deleted from the icon file database.  OmniWeb's later
attempt to use it can cause the icon to be missing and the log message re: a
missing icon to be printed to the console.
This issue can sometimes be difficult to reproduce as the icondatabase does
"lazy syncing" to add/remove icons to the file system.  Sometimes these deleted
icons are commited to the filesystem right away, other times it can be
difficult to observe the behavior.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list