[str][15:13:35] env QV4_MM_AGGRESSIVE_GC=1 valgrind ./tst_dialogs ==20974== Memcheck, a memory error detector ==20974== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==20974== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==20974== Command: ./tst_dialogs ==20974== ********* Start testing of tst_dialogs ********* Config: Using QtTest library 5.8.0, Qt 5.8.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 6.2.1 20160830) PASS : tst_dialogs::initTestCase() ==20974== Thread 4 QQmlThread: ==20974== Syscall param write(buf) points to uninitialised byte(s) ==20974== at 0x6BC516D: ??? (in /usr/lib/libpthread-2.24.so) ==20974== by 0x658B8C8: qt_safe_write(int, void const*, long long) (qcore_unix_p.h:281) ==20974== by 0x658D43C: QFSFileEnginePrivate::writeFdFh(char const*, long long) (qfsfileengine.cpp:751) ==20974== by 0x659AD00: QFSFileEnginePrivate::nativeWrite(char const*, long long) (qfsfileengine_unix.cpp:359) ==20974== by 0x658D2CA: QFSFileEngine::write(char const*, long long) (qfsfileengine.cpp:711) ==20974== by 0x6539C57: QFileDevice::writeData(char const*, long long) (qfiledevice.cpp:552) ==20974== by 0x6560DC1: QSaveFile::writeData(char const*, long long) (qsavefile.cpp:354) ==20974== by 0x6543404: QIODevice::write(char const*, long long) (qiodevice.cpp:1667) ==20974== by 0x5BA258E: QIODevice::write(QByteArray const&) (qiodevice.h:135) ==20974== by 0x5BA0E5A: QV4::CompiledData::CompilationUnit::saveToDisk(QUrl const&, QString*) (qv4compileddata.cpp:370) ==20974== by 0x5E01C95: QQmlTypeData::compile(QQmlRefPointer const&, QV4::CompiledData::ResolvedTypeReferenceMap const&) (qqmltypeloader.cpp:2505) ==20974== by 0x5E00215: QQmlTypeData::done() (qqmltypeloader.cpp:2241) ==20974== Address 0x16ddf774 is 500 bytes inside a block of size 17,536 alloc'd ==20974== at 0x4C29BBE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==20974== by 0x63DCDCC: QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags) (qarraydata.cpp:106) ==20974== by 0x63E5508: QTypedArrayData::allocate(unsigned long, QFlags) (qarraydata.h:222) ==20974== by 0x63DF909: QByteArray::resize(int) (qbytearray.cpp:1662) ==20974== by 0x5BA0D9F: QV4::CompiledData::CompilationUnit::saveToDisk(QUrl const&, QString*) (qv4compileddata.cpp:361) ==20974== by 0x5E01C95: QQmlTypeData::compile(QQmlRefPointer const&, QV4::CompiledData::ResolvedTypeReferenceMap const&) (qqmltypeloader.cpp:2505) ==20974== by 0x5E00215: QQmlTypeData::done() (qqmltypeloader.cpp:2241) ==20974== by 0x5DF952F: QQmlDataBlob::tryDone() (qqmltypeloader.cpp:661) ==20974== by 0x5DFAE71: QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::Data const&) (qqmltypeloader.cpp:1283) ==20974== by 0x5DFAD2F: QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) (qqmltypeloader.cpp:1263) ==20974== by 0x5DFA4F6: QQmlTypeLoader::loadThread(QQmlDataBlob*) (qqmltypeloader.cpp:1138) ==20974== by 0x5E07030: PlainLoader::loadThread(QQmlTypeLoader*, QQmlDataBlob*) const (qqmltypeloader.cpp:983) ==20974== ==20974== Thread 1: ==20974== Syscall param writev(vector[...]) points to uninitialised byte(s) ==20974== at 0x7755B7D: ??? (in /usr/lib/libc-2.24.so) ==20974== by 0xC6B3BAC: ??? (in /usr/lib/libxcb.so.1.1.0) ==20974== by 0xC6B3FAC: ??? (in /usr/lib/libxcb.so.1.1.0) ==20974== by 0xC6B4246: ??? (in /usr/lib/libxcb.so.1.1.0) ==20974== by 0xC6B4A5B: xcb_flush (in /usr/lib/libxcb.so.1.1.0) ==20974== by 0xE2E3C04: QXcbWindow::hide() (qxcbwindow.cpp:870) ==20974== by 0xE2E3616: QXcbWindow::setVisible(bool) (qxcbwindow.cpp:780) ==20974== by 0x555562B: QWindow::setVisible(bool) (qwindow.cpp:552) ==20974== by 0x5557EB0: QWindow::destroy() (qwindow.cpp:1700) ==20974== by 0x555493F: QWindow::~QWindow() (qwindow.cpp:211) ==20974== by 0x50962D6: QQuickWindow::~QQuickWindow() (qquickwindow.cpp:1267) ==20974== by 0x50962FF: QQuickWindow::~QQuickWindow() (qquickwindow.cpp:1303) ==20974== Address 0xdf00d99 is 4,633 bytes inside a block of size 21,152 alloc'd ==20974== at 0x4C2BA4A: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==20974== by 0xC6B355B: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.1.0) ==20974== by 0xC6B74B8: xcb_connect_to_display_with_auth_info (in /usr/lib/libxcb.so.1.1.0) ==20974== by 0xC3A9359: _XConnectXCB (in /usr/lib/libX11.so.6.3.0) ==20974== by 0xC39A091: XOpenDisplay (in /usr/lib/libX11.so.6.3.0) ==20974== by 0xE2BEDDB: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (qxcbconnection.cpp:581) ==20974== by 0xE2CA78A: QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) (qxcbintegration.cpp:181) ==20974== by 0x407C984: QXcbIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) (qxcbmain.cpp:56) ==20974== by 0x5536D55: QPlatformIntegration* qLoadPlugin(QFactoryLoader const*, QString const&, QStringList const&, int&, char**&) (qfactoryloader_p.h:101) ==20974== by 0x5536599: QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (qplatformintegrationfactory.cpp:71) ==20974== by 0x55437C2: init_platform(QString const&, QString const&, QString const&, int&, char**) (qguiapplication.cpp:1105) ==20974== by 0x554494E: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1268) ==20974== PASS : tst_dialogs::dialogImplicitWidth(No buttons) PASS : tst_dialogs::dialogImplicitWidth(OK button) PASS : tst_dialogs::dialogContentResize() ========= Received signal, dumping stack ============== GNU gdb (GDB) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 20974 [New LWP 20975] [New LWP 20976] [New LWP 20991] [New LWP 20992] [New LWP 21020] 0x0000000803fe6ca6 in ?? () (gdb) Thread 6 (LWP 21020): #0 0x0000000038134b2c in ?? () No symbol table info available. #1 0x00000000380d542d in ?? () No symbol table info available. #2 0x00000000380d1e4b in ?? () No symbol table info available. #3 0x00000000380d34b7 in ?? () No symbol table info available. #4 0x00000000380e29d7 in ?? () No symbol table info available. #5 0x00000000380e2e9b in ?? () No symbol table info available. #6 0x000000003810b75e in ?? () No symbol table info available. #7 0xdeadbeefdeadbeef in ?? () No symbol table info available. #8 0xdeadbeefdeadbeef in ?? () No symbol table info available. #9 0xdeadbeefdeadbeef in ?? () No symbol table info available. #10 0xdeadbeefdeadbeef in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. Thread 5 (LWP 20992): #0 0x0000000038134b2c in ?? () No symbol table info available. #1 0x00000000380d542d in ?? () No symbol table info available. #2 0x00000000380d1e4b in ?? () No symbol table info available. #3 0x00000000380d34b7 in ?? () No symbol table info available. #4 0x00000000380e29d7 in ?? () No symbol table info available. #5 0x00000000380e2e9b in ?? () No symbol table info available. #6 0x000000003810b75e in ?? () No symbol table info available. #7 0xdeadbeefdeadbeef in ?? () No symbol table info available. #8 0xdeadbeefdeadbeef in ?? () No symbol table info available. #9 0xdeadbeefdeadbeef in ?? () No symbol table info available. #10 0xdeadbeefdeadbeef in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. Thread 4 (LWP 20991): #0 0x0000000038134b2c in ?? () No symbol table info available. #1 0x00000000380d542d in ?? () No symbol table info available. #2 0x00000000380d1e4b in ?? () No symbol table info available. #3 0x00000000380d34b7 in ?? () No symbol table info available. #4 0x00000000380e29d7 in ?? () No symbol table info available. #5 0x00000000380e2e9b in ?? () No symbol table info available. #6 0x000000003810b75e in ?? () No symbol table info available. #7 0xdeadbeefdeadbeef in ?? () No symbol table info available. #8 0xdeadbeefdeadbeef in ?? () No symbol table info available. #9 0xdeadbeefdeadbeef in ?? () No symbol table info available. #10 0xdeadbeefdeadbeef in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. Thread 3 (LWP 20976): #0 0x0000000038134b2c in ?? () No symbol table info available. #1 0x00000000380d542d in ?? () No symbol table info available. #2 0x00000000380d1e4b in ?? () No symbol table info available. #3 0x00000000380d34b7 in ?? () No symbol table info available. #4 0x00000000380e29d7 in ?? () No symbol table info available. #5 0x00000000380e2e9b in ?? () No symbol table info available. #6 0x000000003810b75e in ?? () No symbol table info available. #7 0xdeadbeefdeadbeef in ?? () No symbol table info available. #8 0xdeadbeefdeadbeef in ?? () No symbol table info available. #9 0xdeadbeefdeadbeef in ?? () No symbol table info available. #10 0xdeadbeefdeadbeef in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. Thread 2 (LWP 20975): #0 0x0000000038134b2c in ?? () No symbol table info available. #1 0x00000000380d542d in ?? () No symbol table info available. #2 0x00000000380d1e4b in ?? () No symbol table info available. #3 0x00000000380d34b7 in ?? () No symbol table info available. #4 0x00000000380e29d7 in ?? () No symbol table info available. #5 0x00000000380e2e9b in ?? () No symbol table info available. #6 0x000000003810b75e in ?? () No symbol table info available. #7 0xdeadbeefdeadbeef in ?? () No symbol table info available. #8 0xdeadbeefdeadbeef in ?? () No symbol table info available. #9 0xdeadbeefdeadbeef in ?? () No symbol table info available. #10 0xdeadbeefdeadbeef in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. Thread 1 (LWP 20974): #0 0x0000000803fe6ca6 in ?? () No symbol table info available. #1 0x0000000802ba5f30 in ?? () No symbol table info available. #2 0x0000000000000000 in ?? () No symbol table info available. Detaching from program: /usr/lib/valgrind/memcheck-amd64-linux, process 20974 ========= End of stack trace ============== QFATAL : tst_dialogs::fileDialogDefaultModality() [ 0.032 F] QTest::WatchDog::run - Test function timed out FAIL! : tst_dialogs::fileDialogDefaultModality() Received a fatal error. Loc: [Unknown file(0)] Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 428066ms ********* Finished testing of tst_dialogs ********* ==20974== ==20974== Process terminating with default action of signal 6 (SIGABRT): dumping core ==20974== at 0x76A804F: raise (in /usr/lib/libc-2.24.so) ==20974== by 0x76A9479: abort (in /usr/lib/libc-2.24.so) ==20974== by 0x63C49E4: qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) (qlogging.cpp:1683) ==20974== by 0x63C0E23: QMessageLogger::fatal(char const*, ...) const (qlogging.cpp:795) ==20974== by 0x4040BCC: QTest::WatchDog::run() (qtestcase.cpp:937) ==20974== by 0x63DB33F: QThreadPrivate::start(void*) (qthread_unix.cpp:368) ==20974== by 0x6BBC453: start_thread (in /usr/lib/libpthread-2.24.so) ==20974== by 0x775D7DE: clone (in /usr/lib/libc-2.24.so) ==20974== ==20974== HEAP SUMMARY: ==20974== in use at exit: 7,516,831 bytes in 59,396 blocks ==20974== total heap usage: 1,388,966 allocs, 1,329,570 frees, 120,269,111 bytes allocated ==20974== ==20974== LEAK SUMMARY: ==20974== definitely lost: 2,280 bytes in 91 blocks ==20974== indirectly lost: 1,543,270 bytes in 8,065 blocks ==20974== possibly lost: 242,101 bytes in 1,470 blocks ==20974== still reachable: 5,729,180 bytes in 49,770 blocks ==20974== of which reachable via heuristic: ==20974== newarray : 305,440 bytes in 249 blocks ==20974== multipleinheritance: 11,664 bytes in 34 blocks ==20974== suppressed: 0 bytes in 0 blocks ==20974== Rerun with --leak-check=full to see details of leaked memory ==20974== ==20974== For counts of detected and suppressed errors, rerun with: -v ==20974== Use --track-origins=yes to see where uninitialised values come from ==20974== ERROR SUMMARY: 59 errors from 2 contexts (suppressed: 0 from 0) fish: 'env QV4_MM_AGGRESSIVE_GC=1 va...' terminated by signal SIGKILL (Forced quit)