Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6461

mysqld should not trap SIGTSTP if running with --gdb/--debug-gdb

    Details

    • Type: Task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Fix Version/s: 5.5.40, 10.0.15
    • Component/s: OTHER
    • Labels:
      None

      Description

      I sometimes run mysqld directly in the console for debugging purposes and it would be very convenient if I could use Ctrl-Z in my shell to stop mysqld and engage my shell's job management after mysqld is started.

      Are there any objections to or problems with incorporating sigaddset(&set,SIGTSTP) in mysqld.cc into the tests for TEST_SIGINT so that SIGTSTP isn't trapped by mysqld?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            I don't see any problems with that. Do you want it in 5.5 or 10.0?

            Show
            serg Sergei Golubchik added a comment - I don't see any problems with that. Do you want it in 5.5 or 10.0?
            Hide
            kolbe Kolbe Kegel added a comment -

            Either/both would be great!

            Show
            kolbe Kolbe Kegel added a comment - Either/both would be great!

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                kolbe Kolbe Kegel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m