On Fri, Feb 1, 2013 at 5:27 PM, Dan Milon <[email protected]> wrote: > $ ulimit -c unlimited > > $ node -e 'process.abort()' > Aborted (core dumped) > > $ ls -a > ./ ../ > > Any idea? > > BTW, could you point me to the actual code of process.abort in the source? > > danmilon.
Check what the kernel.core_pattern sysctl is set to. Some security frameworks change it so core dumps get stored elsewhere. Also, don't run as root. Some of the aforementioned frameworks block root core dumps as a security precaution (think symlink attacks.) process.abort() is implemented in src/node.cc (grep for 'Abort'). It doesn't do anything special: it just calls abort() which in turn sends a SIGABRT to the process. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
