| Summary: | IconDatabase: syncThreadMainLoop() is unlocking m_syncLock twice when thread termination is requested | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, fpizlo, japhet, zan | ||||
| Priority: | P2 | Keywords: | Gtk, Regression | ||||
| Version: | WebKit Local Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Carlos Garcia Campos
2015-08-25 06:26:05 PDT
Crash happens when clearing the database in IconDatabase::removeAllIcons(). This assertion indicates that the caller (syncTheeadMainLoop?) is unlocking a lock that wasn't locked. This manifests as a regression because the old locks had no such assertion, but probably this has been a problem in this code for a long time. Indeed, the new lock is just revealing a bug that has been there probably forever. This not GTK specific and not a regression either. I'll submit a patch. Created attachment 259846 [details]
Patch
Comment on attachment 259846 [details] Patch Clearing flags on attachment: 259846 Committed r188931: <http://trac.webkit.org/changeset/188931> All reviewed patches have been landed. Closing bug. |