[Webkit-unassigned] [Bug 18649] SQUIRRELFISH: correctly handle exceptions in eval code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 20 19:14:00 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18649





------- Comment #1 from cwzwarich at uwaterloo.ca  2008-04-20 19:13 PDT -------
The it != end assertion failure is hit when throwing an exception from eval in
a global context. Global code is a special case at the beginning, because no
unwind is necessary, and the rest of the function deals with the case of
function code. If the eval is in a global context, then the end of the scope
chain is also the top, hitting the assertion.

The addressOffset < instructions.size() assertion failure is hit when throwing
an exception from eval in a function context. The top of the scope chain is an
activation object, so Machine::unwindCallFrame() thinks it has succeeded when
it really hasn't, passing the buck onto CodeBlock::getHandlerForVPC().


-- 
Configure bugmail: http://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