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

Crash in checkNameDecodable

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/Other display system, Other
    • Commits:
      70e6e9fe590590f602dee230a64870365d9301aa (qt/qtbase/5.13) f2e9505aa164f851ff4e121a209c9f9ae52041ae (qt/qtbase/5.12)

      Description

      We upgraded to 5.12.5 and some unit tests crashes on Linux (musl) and FreeBSD.

      Looks like it is broken by https://code.qt.io/cgit/qt/qtbase.git/commit/?id=d01693733f6c1ebe6b3709f9c1284239ce3b5354 or https://code.qt.io/cgit/qt/qtbase.git/commit/?id=094869d4a88c3d0187d2f9c03294ce32f3503533

      * thread #1, name = 'Test_core_contex', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
        * frame #0: 0x000000080220a030 libQt5Core.so.5`checkNameDecodable(d_name=".", len=1) at qfilesystemiterator_unix.cpp:72
          frame #1: 0x0000000802209ee8 libQt5Core.so.5`QFileSystemIterator::advance(this=0x0000000800bff7e0, fileEntry=0x00007fffffffe280, metaData=0x00007fffffffe248) at qfilesystemiterator_unix.cpp:126
          frame #2: 0x0000000802181267 libQt5Core.so.5`QDirIteratorPrivate::advance(this=0x000000080330b7a0) at qdiriterator.cpp:258
          frame #3: 0x0000000802180cca libQt5Core.so.5`QStringList const&<QDirIterator::IteratorFlag> QDirIteratorPrivate::QDirIteratorPrivate(this=0x000000080330b7a0, entry=0x00007fffffffe498, nameFilters=0x00007fffffffe480, filters=(i = 25351), flags=(i = 0), resolveEngine=true) at qdiriterator.cpp:179
          frame #4: 0x00000008021821f5 libQt5Core.so.5`QString const&<QDirIterator::IteratorFlag> QDirIterator::QDirIterator(this=0x00007fffffffe598, path=0x00007fffffffe5a0, filters=(i = 25351), flags=(i = 0)) at qdiriterator.cpp:436
          frame #5: 0x0000000802177b7b libQt5Core.so.5`QDir::removeRecursively(this=0x00007fffffffe660) at qdir.cpp:1605
          frame #6: 0x00000008021a09ab libQt5Core.so.5`QTemporaryDir::remove(this=0x00000008005680e0) at qtemporarydir.cpp:318
          frame #7: 0x00000008021a081c libQt5Core.so.5`QTemporaryDir::~QTemporaryDir(this=0x00000008005680e0) at qtemporarydir.cpp:218
          frame #8: 0x00000000004e743a Test_core_context_AuthContext
          frame #9: 0x00000000004e7391 Test_core_context_AuthContext
          frame #10: 0x0000000000302b1b Test_core_context_AuthContext`QtSharedPointer::ExternalRefCountData::destroy(this=0x0000000800bffae0) at qsharedpointer_impl.h:157
          frame #11: 0x00000000004e721d Test_core_context_AuthContext
          frame #12: 0x00000000004e71d9 Test_core_context_AuthContext
          frame #13: 0x00000000004e6ed5 Test_core_context_AuthContext
          frame #14: 0x000000080261d0c1 libc.so.7`__cxa_finalize + 321
          frame #15: 0x00000008025accc1 libc.so.7`exit + 33
          frame #16: 0x00000000002fa122 Test_core_context_AuthContext`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76
      

        Attachments

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

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              misery André Klitzing
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes