[Bug 1560528] Re: tst_LargeFile::mapOffsetOverflow started failing on 32-bit xenial
    Timo Jyrinki 
    timo.jyrinki at canonical.com
       
    Thu Apr  7 06:45:30 UTC 2016
    
    
  
qtbase-opensource-src (5.5.1+dfsg-16ubuntu4) xenial; urgency=medium
  * debian/patches/qdoc-Wrap-QML-read-only-and-default-qualifiers-in-br.patch:
    - Fix typos in property definitions. (LP: #1557259)
  * Temporarily disable a test broken by glibc upgrade (LP: #1560528).
 -- Timo Jyrinki <timo-jyrinki at ubuntu.com>  Tue, 29 Mar 2016 11:30:45
+0000
-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1560528
Title:
  tst_LargeFile::mapOffsetOverflow started failing on 32-bit xenial
Status in glibc package in Ubuntu:
  New
Status in qtbase-opensource-src package in Ubuntu:
  Fix Released
Bug description:
  Something has changed xenial, resulting in the following one unit test
  failing on 32-bit (it's expected failure on 64-bit):
  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(517)]
  --
  blockSize(1 << 12)
  ...
  void tst_LargeFile::mapOffsetOverflow()
  {
      // Out-of-range mappings should fail, and not silently clip the offset
      for (int i = 50; i < 63; ++i) {
          uchar *address = 0;
          address = largeFile.map(((qint64)1 << i), blockSize);
  #if defined(__x86_64__)
          QEXPECT_FAIL("", "fails on 64-bit Linux (QTBUG-21175)", Abort);
  #endif  
          QVERIFY( !address );
          address = largeFile.map(((qint64)1 << i) + blockSize, blockSize);
          QVERIFY( !address );
      }
  #endif
  }
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1560528/+subscriptions
    
    
More information about the foundations-bugs
mailing list