On Tuesday, March 18, 2014 2:39:21 PM UTC+1, Albert Zeyer wrote:
>
>
> On Tuesday, March 18, 2014 12:42:48 PM UTC+1, Ben Noordhuis wrote:
>>
>> On Tue, Mar 18, 2014 at 11:21 AM, Albert Zeyer <[email protected]> 
>> wrote: 
>> > Hi, 
>> > 
>> > Sometimes, when I try to get the value of a function parameter in the 
>> > debugger (via node-inspector and V8 3.25.14 in my custom C++ app), I 
>> get 
>> > this fatal error: 
>> > 
>> > # 
>> > # Fatal error in ..\..\src\runtime.cc, line 11391 
>> > # CHECK(!frame->GetParameter(i)->IsTheHole()) failed 
>> > # 
>> > 
>> > Is that known? 
>> > 
>> > Thanks, 
>> > Albert 
>>
>> That is almost certainly a V8 bug.  Would it be possible for you to 
>> put together a reduced test case and file an issue at 
>> https://code.google.com/p/v8/issues? 
>>
>> My company maintains node-inspector; if you post the link to the issue 
>> (I don't think the bug tracker lets you cc people), I'll have a look. 
>>
>
>
> I can try. Can you (or someone) give me some sample code how to inspect 
> the callstack via the debugger interface via C++ code? Esp. also how to 
> list the local variables and how to query their value. Because that is what 
> I do in the debugger when the fatal error occurs.
>
> The C++ callstack from the fatal error is this:
>
> > inStream.exe!v8::internal::UpdateStackLocalsFromMaterializedObject(v8::internal::Isolate
> >  
> * isolate, v8::internal::Handle<v8::internal::JSObject> target, 
> v8::internal::Handle<v8::internal::JSFunction> function, 
> v8::internal::JavaScriptFrame * frame, int inlined_jsframe_index) Line 11391 
> C++
>   
> inStream.exe!v8::internal::__RT_impl_Runtime_DebugEvaluate(v8::internal::Arguments
>  
> args, v8::internal::Isolate * isolate) Line 12833 C++
>   inStream.exe!v8::internal::Runtime_DebugEvaluate(int args_length, 
> v8::internal::Object * * args_object, v8::internal::Isolate * isolate) Line 
> 12768 C++
>   000000a8aff060a6() Unknown
>
>
>
>
I reported the bug here: https://code.google.com/p/v8/issues/detail?id=3225

 

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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