Updates:
        Cc: [email protected]

Comment #5 on issue 4259 by [email protected]: DCHECK failure: scope_info_->StackSlotIndex(*name_handle) < 0 || is_block_scope()
https://code.google.com/p/v8/issues/detail?id=4259

Having poked more closely at this in gdb (thanks to jkummerow for the core file!), I think this is not related to block scopes. We are in a state where the ScopeInfo has a single stack local ("h"), but the Scope has an empty variables_ table. For that matter, the ScopeInfo also has one parameter and two ContextLocals, none of which seem to be represented in the Scope.

My knowledge of lazy compilation isn't the best, but reading the code for DeserializeScopeChain (and the Scope constructor that takes a ScopeInfo) it seems like this should be an easy state to get into, since only the num_heap_slots_ of a Scope and the chain (outer_scope_ and inner_scopes) is initialized by DeserializeScopeChain.

I can keep poking at this, but I'd suggest that someone more familiar with the mechanics of lazy compilation would be a better assignee.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to