Summary: | Crash on exit in InspectorController | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Treat <manyoso> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 24525 | ||||||
Attachments: |
|
Description
Adam Treat
2009-02-23 15:07:49 PST
Created attachment 27896 [details]
Patch to fix the segfault
I think this path is wrong. If you clear m_inspectedPage, you never get to actually do any of the close(), because it first checks for enabled(), which in turn checks for !m_inspectedPage. This effectively makes close() a no-op. Now that InspectorController is ref-counted, we need to be using close(). See bug 24525 for more details. |