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

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

                Dates

                Created:
                Updated:
                Resolved: