Summary: | [Gtk] Linux/Gtk: GtkLauncher crashes on Acid3 (but after test 80 this time) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Clemmitt Sigler <cmsigler> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | alp, camaradetux, jmalonzo, riccardo.magliocchetti | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Clemmitt Sigler
2008-10-05 13:44:13 PDT
Can you tell what is returning null? Is it hostWindow()? (In reply to comment #1) > Can you tell what is returning null? Is it hostWindow()? > Hi Dave, Yes it's hostWindow that's returning NULL. Is it possible not to have a hostWindow before remove the child? Should we check if this is the case? Created attachment 24106 [details]
patch to use the child's parent if HostWindow is null
Remove the child from its parent if HostWindow is null. This makes Gtk pass acid3 again. But is it possible to have a null HostWindow when removing a child?
(In reply to comment #3) > Remove the child from its parent if HostWindow is null. This makes Gtk pass > acid3 again. Yup, looooking goooood. Applied to r37322 and the problem is fixed. Webkit, the little browser engine that could :^) Thanks very much. Clemmitt I'm not too sure that making platformAddChild()/platformRemoveChild() asymmetric is a good idea. Hyatt would know better, but maybe it's best to add a null check for hostWindow() in both and to leave it at that. Either way, looks like this is exposing a bug elsewhere, possibly the new platform scrollbar code. Just for the record, gmail's standard ui (so the heavy one) triggers the same crash when opening a mail conversation. The backtrace is the same up to 20. And mininova too suffer from this, and apple.com (or store.apple.com), and google video, and ... and ... and ... In fact 75% of the websites can probably crash webkit provided the window is small enough (look at the backtraces : "Scrollbar") Landed in r37447. Think we'll need to look closely at the recent changes some time to make sure they're doing the right thing following the introduction of HostWindow etc. *** Bug 21240 has been marked as a duplicate of this bug. *** Comment on attachment 24106 [details]
patch to use the child's parent if HostWindow is null
Setting to r+ as Alp already r+'d it and patch already landed.
|