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

tst_largefile is broken on 64-bit Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
      qtbase refactor 79df6d8e043d7c2c36334321ec1e13b4b85f5852
      Using QT_QPA_PLATFORM=xcb
      Qt configured with -no-pch -nokia-developer -qpa -xcb
      Ubuntu 11.04 64-bit

      Description

      ********* Start testing of tst_LargeFile *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_LargeFile::initTestCase()
      PASS   : tst_LargeFile::createSparseFile()
      PASS   : tst_LargeFile::fillFileSparsely()
      PASS   : tst_LargeFile::closeSparseFile()
      PASS   : tst_LargeFile::fileCreated()
      PASS   : tst_LargeFile::filePositioning()
      PASS   : tst_LargeFile::fdPositioning()
      PASS   : tst_LargeFile::streamPositioning()
      PASS   : tst_LargeFile::openFileForReading()
      PASS   : tst_LargeFile::readFile()
      PASS   : tst_LargeFile::mapFile()
      QWARN  : tst_LargeFile::mapOffsetOverflow() QFSFileEngine::map: Mapping a file beyond its size is not portable
      FAIL!  : tst_LargeFile::mapOffsetOverflow() '!address' returned FALSE. ()
         Loc: [tst_largefile.cpp(529)]
      PASS   : tst_LargeFile::closeFile()
      PASS   : tst_LargeFile::cleanupTestCase()
      Totals: 13 passed, 1 failed, 0 skipped
      ********* Finished testing of tst_LargeFile *********
      

      This is only an issue on 64-Bit systems.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            hihrig Holger Ihrig (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes