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

pthread_detach called for already detached threads

    XMLWordPrintable

Details

    Description

      In several places, pthread_detach is called for threads that have been created as detached according to the attributes initialized in function init_thread_environment. According to POSIX, the behavior of such a call is undefined. These calls cause the server to crash with the latest version of musl libc.

      Attachments

        Issue Links

          Activity

            People

              svoj Sergey Vojtovich
              kunkku Kaarle Ritvanen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 2.25h
                  2.25h

                  Git Integration

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