WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
34866
REGRESSION(before
r54642
?): Leopard Debug Bot crashed on fast/forms/old-names.html
https://bugs.webkit.org/show_bug.cgi?id=34866
Summary
REGRESSION(before r54642?): Leopard Debug Bot crashed on fast/forms/old-names...
Eric Seidel (no email)
Reported
2010-02-11 17:42:11 PST
Leopard Debug Bot crashed on fast/forms/old-names.html ASSERTION FAILED: malloc_size(p) (/Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/Debug/JavaScriptCore.framework/PrivateHeaders/ValueCheck.h:52 static void WTF::ValueCheck<P*>::checkConsistency(const P*) [with P = WebCore::AtomicStringImpl])
http://build.webkit.org/results/Leopard%20Intel%20Debug%20(Tests)/r54686%20(10385)/fast/forms/old-names-stderr.txt
The checkins look unrelated, but I doubt this is a flake given that it's an ASSERT. Dave Levin notes he also reproduced this on his machine.
Attachments
A crash dump. Repros on leopard with debug build and "run-webkit-tests LayoutTests/fast/"
(31.73 KB, text/plain)
2010-02-11 17:45 PST
,
David Levin
no flags
Details
proposed fix
(1.17 KB, patch)
2010-02-12 08:56 PST
,
Alexey Proskuryakov
levin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Levin
Comment 1
2010-02-11 17:45:49 PST
Created
attachment 48599
[details]
A crash dump. Repros on leopard with debug build and "run-webkit-tests LayoutTests/fast/"
David Levin
Comment 2
2010-02-11 17:54:05 PST
One more note, I adjusted the rev in the title because it looks like the crash was introduced some time before 2-9-2010 (My first occurrence happened the night of 2-8 just after 10pm but I may not have sync'ed for a while before that so I don't know when it started).
David Levin
Comment 3
2010-02-11 18:09:14 PST
Adding ap because it looks like he added the checks that are failing (in
r53957
), so maybe he has some insights about why it might fire.
Alexey Proskuryakov
Comment 4
2010-02-11 19:15:29 PST
This assertion failure means that there are stale AtomicStringImpl* keys in the HashMap being checked. It may or may not be an exploitable security issue, let's track it as such for now.
Alexey Proskuryakov
Comment 5
2010-02-11 21:41:50 PST
Actually, some cursory analysis suggests that this is probably not a security issue. Even more than that, it's likely just a misplaced consistency check - it should be fine for an inconsistent cache to be used when creating an HTMLFormCollection. Going to think about this again in the morning...
David Levin
Comment 6
2010-02-12 08:23:21 PST
I tried to narrow down the revision range (using git bisect) but unfortunately, there were enough other crashes and failures in layout tests during this time to trip it up. When I did sync to ap's original change, this assert didn't seem to be firing.
Alexey Proskuryakov
Comment 7
2010-02-12 08:56:59 PST
Created
attachment 48646
[details]
proposed fix Yes, clearly just an incorrect check. Dave, I'm surprised it doesn't happen for you with the revision it was added - did you try running just this one test with --repeat 100?
David Levin
Comment 8
2010-02-12 09:00:40 PST
(In reply to
comment #7
)
> Created an attachment (id=48646) [details] > proposed fix > > Yes, clearly just an incorrect check. Dave, I'm surprised it doesn't happen for > you with the revision it was added - did you try running just this one test > with --repeat 100?
No. In recent builds it would happen after two runs when I do run-webkit-test LayoutTests/fast but when it was checked in, this didn't seem to be the case, so it appears to happen more frequently now but since it is a bad check, any number of things could happen to make an assert fire more often.
Alexey Proskuryakov
Comment 9
2010-02-12 09:05:52 PST
Committed revision 54727.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug