mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Merged revisions 70164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r70164 | russell | 2007-06-19 19:03:22 -0500 (Tue, 19 Jun 2007) | 2 lines don't delete the backtrace in ast_grab_core ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -39,7 +39,7 @@ echo
|
|||||||
|
|
||||||
|
|
||||||
echo Trying for a backtrace of the captured core.
|
echo Trying for a backtrace of the captured core.
|
||||||
/usr/bin/gdb /usr/sbin/asterisk ${DUMPDIR}/asterisk_${DATE}.core.${PID} > /tmp/gdb_dump.${PID} 2> /dev/null << EOF
|
/usr/bin/gdb /usr/sbin/asterisk ${DUMPDIR}/asterisk_${DATE}.core.${PID} > ${DUMPDIR}/gdb_dump.${PID}.txt 2> /dev/null << EOF
|
||||||
set prompt \n
|
set prompt \n
|
||||||
echo --------------------------------------------------------------------------------\n
|
echo --------------------------------------------------------------------------------\n
|
||||||
echo INFO THREAD
|
echo INFO THREAD
|
||||||
@@ -57,7 +57,6 @@ echo Done trying for a bt.
|
|||||||
|
|
||||||
echo Notifying admins of the core.
|
echo Notifying admins of the core.
|
||||||
/usr/bin/mail -s "${HOSTNAME} core dumped at ${DUMPDIR}/asterisk_${DATE}.core.${PID}" ${ADMINEMAIL} < /tmp/gdb_dump.${PID}
|
/usr/bin/mail -s "${HOSTNAME} core dumped at ${DUMPDIR}/asterisk_${DATE}.core.${PID}" ${ADMINEMAIL} < /tmp/gdb_dump.${PID}
|
||||||
/bin/rm /tmp/gdb_dump.${PID}
|
|
||||||
echo Done.
|
echo Done.
|
||||||
echo
|
echo
|
||||||
echo Reproducible deadlocks should be posted with a full backtrace and instructions
|
echo Reproducible deadlocks should be posted with a full backtrace and instructions
|
||||||
|
Reference in New Issue
Block a user