Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created March 23, 2015 23:43
Show Gist options
  • Save springmeyer/1036bb0aed25a255d0fa to your computer and use it in GitHub Desktop.
Save springmeyer/1036bb0aed25a255d0fa to your computer and use it in GitHub Desktop.
$ ls /cores/
$ ulimit -c unlimited -S
$ npm install crash
|
> [email protected] install /Users/dane/projects/node-fontnik/node_modules/crash
> node-gyp rebuild
CXX(target) Release/obj.target/crash/src/crash.o
SOLINK_MODULE(target) Release/crash.node
SOLINK_MODULE(target) Release/crash.node: Finished
[email protected] node_modules/crash
$ node -e "require('crash').crash()"
node(67463,0x7fff7b447300) malloc: *** error for object 0xffffffff: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6 (core dumped)
$ ls /cores/
core.67463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment