Status: New
Owner: ----

New issue 1968 by isaacsch...@gmail.com: Hang on SunOS by doing `new Error("foo").stack`
http://code.google.com/p/v8/issues/detail?id=1968

Using node 0.7.5, v8 3.9.5, I see this behavior:

[root@9086445f-5f87-47d8-b0bc-493d2fd7b52f ~/node]# ./node -pe 'new Error("foo")'
[Error: foo]
[root@9086445f-5f87-47d8-b0bc-493d2fd7b52f ~/node]# ./node -pe 'new Error("foo").stack'
^C

The first line prints out the error object's toString() as expected.

The second line should print out the stack, but hangs indefinitely. Here is some stack information: https://gist.github.com/1880176

I tried to build standalone v8 to investigate further, but was blocked by http://code.google.com/p/v8/issues/detail?id=1966

--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to