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

use-after-free in ucstrncmp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12
    • None
    • macOS

    Description

      This happens when running the tests in the qttools module.

      agent:2018/08/09 11:48:38 build.go:187: FAIL!  : tst_lupdate::good(proparsingpaths) 'proc.exitStatus() == QProcess::NormalExit' returned FALSE. ("lupdate -silent project.pro" crashed
      agent:2018/08/09 11:48:38 build.go:187: =================================================================
      agent:2018/08/09 11:48:38 build.go:187: ==2509==ERROR: AddressSanitizer: heap-use-after-free on address 0x611000099258 at pc 0x000108fc9487 bp 0x7ffee75d35d0 sp 0x7ffee75d35c8
      agent:2018/08/09 11:48:38 build.go:187: READ of size 16 at 0x611000099258 thread T0
      agent:2018/08/09 11:48:38 build.go:187:     #0 0x108fc9486 in ucstrncmp(QChar const*, QChar const*, unsigned long) (libQt5Core_debug.5.dylib:x86_64+0x369486)
      agent:2018/08/09 11:48:38 build.go:187:     #1 0x108fc8af0 in ucstrcmp(QChar const*, unsigned long, QChar const*, unsigned long) (libQt5Core_debug.5.dylib:x86_64+0x368af0)
      agent:2018/08/09 11:48:38 build.go:187:     #2 0x108f6f6db in qt_compare_strings(QStringView, QStringView, Qt::CaseSensitivity) (libQt5Core_debug.5.dylib:x86_64+0x30f6db)
      agent:2018/08/09 11:48:38 build.go:187:     #3 0x108f804c1 in operator==(QString const&, QString const&) (libQt5Core_debug.5.dylib:x86_64+0x3204c1)
      agent:2018/08/09 11:48:38 build.go:187:     #4 0x10864d87c in QHashNode<QString, QString>::same_key(unsigned int, QString const&) const (lupdate:x86_64+0x10002887c)
      agent:2018/08/09 11:48:38 build.go:187:     #5 0x10864d759 in QHash<QString, QString>::findNode(QString 
      agent:2018/08/09 11:48:38 build.go:187:    Loc: [tst_lupdate.cpp(292)]
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            erikv Erik Verbruggen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes