This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
segfault in v0.6.7 on osx lion (possibly in a node_crypto.cc thread pool call?) #2498
Closed
Description
reported by @derekcollison
~> node -v
v0.6.7
~> which node
/usr/local/bin/node
~> npm
Segmentation fault: 11
~> which npm
/usr/local/bin/npm
~> gdb --args node `which npm` -v
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........... done
(gdb) r
Starting program: /usr/local/bin/node /usr/local/bin/npm -v
Reading symbols for shared libraries ++++++++++.......................................................................................................................... done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000950
0x00000001000570e5 in v8::HandleScope::RawClose () at node_crypto.h:166
166 return ss;
(gdb) where
#0 0x00000001000570e5 in v8::HandleScope::RawClose () at node_crypto.h:166
#1 0x0000000100011597 in v8::HandleScope::Close<v8::Object> () at /Users/derek/Downloads/node-v0.6.7/deps/v8/include/v8.h:3953
#2 0x0000000100011597 in Stat (args=@0x7fff5fbff288) at v8.h:343
#3 0x0000000100072f8e in v8::internal::Builtin_HandleApiCall () at node_crypto.h:166
Previous frame inner to this frame (gdb could not unwind past this frame)
(gdb)