[Webkit-unassigned] [Bug 52981] New: REGRESSION (r72895): console.trace crashes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 23 12:31:53 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=52981
Summary: REGRESSION (r72895): console.trace crashes
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P1
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ap at webkit.org
CC: pfeldman at chromium.org, yurys at chromium.org
callStack becomes null when passed to addMessage(), so calling callStack->size() just crashes.
PassRefPtr should not be used here at all - it's only needed as an optimization when passing ownership. So, neither trace() nor addMessage() should take a PassRefPtr<ScriptCallStack>, they should just take ScriptCallStack*. Of course, this also applies to PassRefPtr<ScriptArguments> arguments and many other functions in this file, even though they don't crash right now.
Why don't we have any tests for console.trace at all?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list