chrisa/node-dtrace-provider — Issue #4: 0.0.4 SEGV's on Mac OS X
Author: mcavage
Created: 2011-12-13 01:11:49+00:00
State: open

Hi Chris,

I upgraded, and got this (code is unchanged, and runs fine on 0.0.3):

(gdb) r main.js
Starting program: /Users/mark/local/node/bin/node main.js
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries warning: Could not find object file "/Users/mark/work/node-ldapjs/node_modules/buffertools/build/default/buffertools_1.o" - no debug information available for "../buffertools.cc".

. done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000013
0x0000000100ec271e in node::DTraceProbeDef::~DTraceProbeDef (this=0x1008237b0) at dtrace_provider.h:97
97	delete next;
(gdb) where
#0 0x0000000100ec271e in node::DTraceProbeDef::~DTraceProbeDef (this=0x1008237b0) at dtrace_provider.h:97
#1 0x00000001000c61ff in v8::internal::GlobalHandles::PostGarbageCollectionProcessing ()
Previous frame inner to this frame (gdb could not unwind past this frame)