[Webkit-unassigned] [Bug 22734] New: Debugger crashes when stepping into a function call in a return statement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 8 05:29:06 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22734

           Summary: Debugger crashes when stepping into a function call in a
                    return statement
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://nerget.com/working/crash.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
                CC: mjs at apple.com, sam at webkit.org, ggaren at apple.com,
                    cwzwarich at uwaterloo.ca


There's a reproducible crash (assertion failure on debug is attempt to cast an
immediate to a cell) when trying to step into a function call in a return
statement.

Steps to reproduce:
1. goto http://nerget.com/working/crash.html
2. Enable debugging
3. Set a breakpoint at the return statement in the code
<script>
function x(y){}
window.onload = function () {
    return x(12); // <-- set break point here
}
</script>
4. Reload the page
5. When you reach the break point, step into the call
6. Crash :-(


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list