Bug 33746

Summary: [GTK] More crashes related to the clipboard management
Product: WebKit Reporter: Gustavo Noronha (kov) <gustavo>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal Keywords: Gtk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Use WebView object instead of page for clipboard callbacks, allowing us to avoid its destruction inbetween gustavo: commit-queue-

Gustavo Noronha (kov)
Reported 2010-01-15 15:06:12 PST
OK, looks like my last patch was not enough. I still got some crashes, and end up figuring we cannot trust in Page being alive or null, at all, so my alternative approach to the crash is to do explicit ref counting to guard the webView in between the clipboard call and its callbacks being called.
Attachments
Use WebView object instead of page for clipboard callbacks, allowing us to avoid its destruction inbetween (4.71 KB, patch)
2010-01-15 15:10 PST, Gustavo Noronha (kov)
gustavo: commit-queue-
Gustavo Noronha (kov)
Comment 1 2010-01-15 15:10:29 PST
Created attachment 46713 [details] Use WebView object instead of page for clipboard callbacks, allowing us to avoid its destruction inbetween
Gustavo Noronha (kov)
Comment 2 2010-01-16 16:25:08 PST
*** This bug has been marked as a duplicate of bug 32900 ***
Maciej Stachowiak
Comment 3 2010-01-21 00:30:07 PST
Comment on attachment 46713 [details] Use WebView object instead of page for clipboard callbacks, allowing us to avoid its destruction inbetween Unflagging since this appears to be already fixed in the original of which this is a duplicate.
Note You need to log in before you can comment on or make changes to this bug.