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

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

Details

    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?

      Attachments

        Activity

          kolbe Kolbe Kegel (Inactive) created issue -

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

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

          Either/both would be great!

          kolbe Kolbe Kegel (Inactive) added a comment - Either/both would be great!
          serg Sergei Golubchik made changes -
          Field Original Value New Value
          Assignee Sergei Golubchik [ serg ]
          serg Sergei Golubchik made changes -
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 5.5 [ 15800 ]
          serg Sergei Golubchik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          serg Sergei Golubchik made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          serg Sergei Golubchik made changes -
          Component/s OTHER [ 10125 ]
          Fix Version/s 10.0.15 [ 17300 ]
          Fix Version/s 5.5.40 [ 17100 ]
          Fix Version/s 5.5 [ 15800 ]
          Fix Version/s 10.0 [ 16000 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 50419 ] MariaDB v3 [ 64658 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 64658 ] MariaDB v4 [ 132370 ]

          People

            serg Sergei Golubchik
            kolbe Kolbe Kegel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.