Updates:
        Summary: segmentation fault when dereferencing null handle
        Status: WorkingAsIntended

Comment #1 on issue 2178 by [email protected]: segmentation fault when dereferencing null handle
http://code.google.com/p/v8/issues/detail?id=2178

Your JavaScript source code contains invalid syntax, causing compilation to fail. The error message that is printed actually tells you so. Also, it never executes the function it defines, which is probably not what you intended. Further, it accesses undefined objects/values ("window" is only defined in a browser/DOM context, it is not part of pure JS). What lets your code crash is that it dereferences a null handle. Inserting a null check would avoid that.

I suggest you become familiar with GDB (or some other debugger for your platform).


2) Quotes in the embedded function work just fine for me. Remember to escape them.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to