• Bjorn Munch's avatar
    Bug #40399 Please make mtr print stack trace after every failure · 089663f9
    Bjorn Munch authored
    SIGABRT is sent to relevant processes after a timeout
    
    
    client/mysqltest.cc:
      Fixed signal handlers to mysqltest actually dumps core
    mysql-test/lib/My/CoreDump.pm:
      Added support for dbx
    mysql-test/lib/My/SafeProcess.pm:
      Added dump_core to force process to dump core
    mysql-test/lib/My/SafeProcess/safe_process.cc:
      Traps SIGABRT and sends this on to child
    mysql-test/mysql-test-run.pl:
      When test times out, force core dumps on mysqltest and servers
    089663f9
safe_process.cc 6.89 KB