RESOLVED FIXED 60802
Make GC validation more aggressive
https://bugs.webkit.org/show_bug.cgi?id=60802
Summary Make GC validation more aggressive
Oliver Hunt
Reported 2011-05-13 14:11:49 PDT
Make GC validation more aggressive
Attachments
Patch (75.16 KB, patch)
2011-05-13 14:17 PDT, Oliver Hunt
no flags
Patch (75.25 KB, patch)
2011-05-13 15:31 PDT, Oliver Hunt
no flags
crash log from debug Qt bot (3.94 KB, text/plain)
2011-05-14 01:09 PDT, Csaba Osztrogonác
no flags
Oliver Hunt
Comment 1 2011-05-13 14:17:28 PDT
Collabora GTK+ EWS bot
Comment 2 2011-05-13 14:29:47 PDT
Early Warning System Bot
Comment 3 2011-05-13 14:33:27 PDT
Oliver Hunt
Comment 4 2011-05-13 15:31:53 PDT
Geoffrey Garen
Comment 5 2011-05-13 15:42:05 PDT
Comment on attachment 93524 [details] Patch r=me, assuming everything builds and doesn't crash
Oliver Hunt
Comment 6 2011-05-13 16:07:37 PDT
Csaba Osztrogonác
Comment 7 2011-05-14 01:05:43 PDT
(In reply to comment #5) > (From update of attachment 93524 [details]) > r=me, assuming everything builds and doesn't crash (In reply to comment #6) > Committed r86469: <http://trac.webkit.org/changeset/86469> Unfortunately you didn't take Geoff's advice and caused hundreds crashes on Qt bot. Because of this I had to roll out: http://trac.webkit.org/changeset/86482 Reopen to fix it. I'll attach a crash log to help debugging.
Csaba Osztrogonác
Comment 8 2011-05-14 01:09:00 PDT
Created attachment 93550 [details] crash log from debug Qt bot
Oliver Hunt
Comment 9 2011-05-14 10:28:25 PDT
(In reply to comment #7) > (In reply to comment #5) > > (From update of attachment 93524 [details] [details]) > > r=me, assuming everything builds and doesn't crash > > (In reply to comment #6) > > Committed r86469: <http://trac.webkit.org/changeset/86469> > > Unfortunately you didn't take Geoff's advice and caused hundreds crashes on Qt bot. Because of this I had to roll out: http://trac.webkit.org/changeset/86482 Thanks for the snarky comment. > > Reopen to fix it. I'll attach a crash log to help debugging. Crash log doesn't help because it's stripped of real symbol information. We've had this problem with Qt before. The build bots cannot strip symbols.
Oliver Hunt
Comment 10 2011-05-14 10:30:42 PDT
I'll be relanding this shortly on the assumption that the qt bot failures are due to errors in qt code rather than errors in the patch itself. Given this patch had one purpose (find errors in code using jsc) the response to many errors should have been to determine what the errors were, not roll out the patch that identified them.
Oliver Hunt
Comment 11 2011-05-14 10:35:59 PDT
Lo and behold it _is_ an error in qt. ~QtRuntimeMethod removes itself from the QtInstance method cache during it's destructor, which is a point at which it is no longer guaranteed to be a valid object. QtRuntimeMethod should use a finalizer to remove itself from the map not its destructor.
Csaba Osztrogonác
Comment 12 2011-05-14 12:54:13 PDT
Thanks for the additional information. Please don't land it at the weekend, zherczeg will gladly fix the bug in Qt code path at monday morning (in european timezone). Thanks for your patience.
Oliver Hunt
Comment 13 2011-05-14 12:57:16 PDT
(In reply to comment #12) > Thanks for the additional information. Please don't land it at the > weekend, zherczeg will gladly fix the bug in Qt code path at monday > morning (in european timezone). > > Thanks for your patience. We actually need this patch in as we're seeing crashes due to gc bugs that this will expose. Happily I've put up a patch at https://bugs.webkit.org/show_bug.cgi?id=60841 that should fix the issue. Currently waiting on the EWS to tell me how to make it build properly.
Oliver Hunt
Comment 14 2011-05-14 15:10:18 PDT
Note You need to log in before you can comment on or make changes to this bug.