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

tst_qfile unixPipe and socketPair tests fail on Android 12

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.4
    • Core: I/O
    • Android
    • f7559904d (dev), e65246b85 (6.4), 366bc6cd0 (tqtc/lts-6.2), 5bed8322e (6.5)
    • 2022wk34FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2022wk48FOQtforAndroid, 2022wk50FOQtforAndroid

    Description

      tst_qfile cases unixPipe and socketPair crash on Android 12 with the following error

      F libc    : fdsan: attempted to close file descriptor 6, expected to be unowned, actually owned by FILE* 0x74f30b74f948
      

      this happens after closing the filesecriptor in those test functions. To fix this guidelines in https://android.googlesource.com/platform/bionic/+/master/docs/fdsan.md should be incorporated here.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-105736
          # Subject Branch Project Status CR V

          Activity

            People

              villevoutilainen_qt Ville Voutilainen
              assam Assam Boudjelthia
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: