Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117513

Restore pthread_attr_init() to stackPropertiesGeneric() for FreeBSD

    XMLWordPrintable

Details

    • Other
    • 54059d0df (dev), fff3ee966 (6.6), b0f359bf2 (6.5)

    Description

      FreeBSD's pthread_attr_get_np() doesn't automatically initialize the thread attributes and requires pthread_attr_init() to be called first to allocate storage [1]. Otherwise applications crash upon startup. Attached patch fixes issue.

      [1] FreeBSD pthread_attr_get_np(3) manpage

      Regressed by: QML: remove pthread_attr_init() from stackPropertiesGeneric()

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            jhale Jason Hale
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes