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

madvise() terminates application due to EBADF code

XMLWordPrintable

    • Linux/Other display system
    • 2dc0fc1a1b (qt/qtdeclarative/6.4) 2034e10c93 (qt/qtdeclarative/dev) 2034e10c93 (qt/qtdeclarative/wip/material3) 2dc0fc1a1b (qt/tqtc-qtdeclarative/6.4) 2034e10c93 (qt/tqtc-qtdeclarative/dev)

      After QTBUG-100431 the application crashes if the call

      madvise(address, bytes, MADV_WILLNEED)
      

      returned an EBADF error.

      There is no swap on our systems. I assume that in such conditions there is no need to terminate the application on an EBADF error.

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

            ulherman Ulf Hermann
            maksimshapovalov Maksim Shapovalov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: