Hello, When running an application under valgrind, any signal that normally would trigger a core dump is caught by valgrind. This is as expected, however, the valgrind docs state that valgrind will produce a vgcore.%pid% dump when this happens. However, no such thing happens in my case.
The command used to run valgrind is valgrind -v --tool=memcheck --leak-check=yes --num-callers=10 --time-stamp=yes --log-file=/opt/inspircd/valgrindlogs/valdebug.%p $binpath/$executable -nofork -debug -nolog >> valdebug.insp.out 2>> valdebug.insp.err & The valgrind debug log entries for the specific signal are ==404== ==404== Process terminating with default action of signal 6 (SIGABRT) ==404== at 0x419C5D5: raise (in /lib/i686/libc-2.7.so) Normally, SIGABRT triggers a core dump according to the man pages. So why doesn't valgrind dump the core? Regards, Pol van Aubel P.S. Apologies in advance for any double post that might ensue from posting with a wrong e-mail address first. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
