Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21814

Crash related to GlobalFileChangeBlocker / Utils::FileSystemWatcher

    XMLWordPrintable

Details

    Description

      Happened only once so far, I don't know how to reproduce yet.

      Thread 1 (Thread 0x7feab0694640 (LWP 19362)):
      #0  0x00007feaae08323a in __waitpid (pid=21798, stat_l
      oc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
              resultvar = 18446744073709551104
              sc_cancel_oldtype = 0
      #1  0x000055bf09ed240a in signalHandler(int) (signal=11) at /d1/creator/master/source/src/tools/qtcreatorcrashhandler/crashhandlersetup.cpp:86
              pid = 21798
      #2  0x00007feaae083890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
      #3  0x00007feaad0d5852 in QQmlData::isSignalConnected(QAbstractDeclarativeData*, QObject const*, int) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Qml.so.5
      #4  0x00007feaae533dcc in QMetaObject::activate(QObject*, int, int, void**) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Core.so.5
      #5  0x00007feaaff41864 in Utils::FileSystemWatcher::fileChanged(QString const&) (this=0x55bf10d890e0, _t1=...) at /d1/creator/master/builds/gcc_qbs/qtc_Qt_5_9_5_Debug/Utils.24a27145/qt.headers/moc_filesystemwatcher.cpp:139
              _a = {0x0, 0x200000011}
      #6  0x00007feaafe8ff11 in Utils::FileSystemWatcherPrivate::autoReloadPostponed(bool) (this=0x55bf10d88fb0, postponed=false) at /d1/creator/master/source/src/libs/utils/filesystemwatcher.cpp:200
              file = <error reading variable>
              __for_range = @0x55bf10d88fc0: {q_hash = {{d = 0x7fea411c7260, e = 0x7fea411c7260}}}
              __for_begin = {i = {i = 0x200000001}}
              __for_end = {i = {i = 0x7fea411c7260}}
      #7  0x00007feaafe91f2a in Utils::FileSystemWatcherPrivate::FileSystemWatcherPrivate(Utils::FileSystemWatcher*, int)::{lambda(bool)#1}::operator()(bool) const (__closure=0x55bf104d2af0, blocked=false) at /d1/creator/master/source/src/libs/utils/filesystemwatcher.cpp:145
              this = 0x55bf10d88fb0
      #8  0x00007feaafe94b6f in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<bool>, void, Utils::FileSystemWatcherPrivate::FileSystemWatcherPrivate(Utils::FileSystemWatcher*, int)::{lambda(bool)#1}>::call({lambda(bool)#1}&, void**) (f=..., arg=0x7ffe8ef28af0) at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/include/QtCore/qobjectdefs_impl.h:130
      #9  0x00007feaafe949af in QtPrivate::Functor<Utils::FileSystemWatcherPrivate::FileSystemWatcherPrivate(Utils::FileSystemWatcher*, int)::{lambda(bool)#1}, 1>::call<QtPrivate::List<bool>, void>({lambda(bool)#1}&, void*, {lambda(bool)#1}&*) (f=..., arg=0x7ffe8ef28af0) at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/include/QtCore/qobjectdefs_impl.h:240
      #10 0x00007feaafe94648 in QtPrivate::QFunctorSlotObject<Utils::FileSystemWatcherPrivate::FileSystemWatcherPrivate(Utils::FileSystemWatcher*, int)::{lambda(bool)#1}, 1, QtPrivate::List<bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x55bf104d2ae0, r=0x7feab0230b90 <Utils::GlobalFileChangeBlocker::instance()::blocker>, a=0x7ffe8ef28af0, ret=0x0) at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/include/QtCore/qobject_impl.h:168
      #11 0x00007feaae5346f6 in QMetaObject::activate(QObject*, int, int, void**) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Core.so.5
      #12 0x00007feaaff42363 in Utils::GlobalFileChangeBlocker::stateChanged(bool) (this=0x7feab0230b90 <Utils::GlobalFileChangeBlocker::instance()::blocker>, _t1=false) at /d1/creator/master/builds/gcc_qbs/qtc_Qt_5_9_5_Debug/Utils.24a27145/qt.headers/moc_globalfilechangeblocker.cpp:128
              _a = {0x0, 0x7ffe8ef28ae4}
      #13 0x00007feaafe9fc47 in Utils::GlobalFileChangeBlocker::emitIfChanged() (this=0x7feab0230b90 <Utils::GlobalFileChangeBlocker::instance()::blocker>) at /d1/creator/master/source/src/libs/utils/globalfilechangeblocker.cpp:65
              blocked = false
      #14 0x00007feaafe9fbf0 in Utils::GlobalFileChangeBlocker::eventFilter(QObject*, QEvent*) (this=0x7feab0230b90 <Utils::GlobalFileChangeBlocker::instance()::blocker>, obj=0x7ffe8ef292e0, e=0x7ffe8ef28dc0) at /d1/creator/master/source/src/libs/utils/globalfilechangeblocker.cpp:57
      #15 0x00007feaae509a74 in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Core.so.5
      #16 0x00007feaaf663828 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_6
      4/lib/libQt5Widgets.so.5
      #17 0x00007feaaf66ac17 in QApplication::notify(QObject*, QEvent*) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Widgets.so.5
      #18 0x00007feaae509de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Core.so.5
      #19 0x00007feaaeaf76a5 in QGuiApplicationPrivate::setApplicationState(Qt::ApplicationState, bool) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Gui.so.5
      #20 0x00007feaaeafd9ac in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Gui.so.5
      #21 0x00007feaaeafdbbd in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Gui.so.5
      #22 0x00007feaaead85bb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Gui.so.5
      #23 0x00007feaa7f74f20 in  () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5XcbQpa.so.5
      #24 0x00007feaa9d5a387 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #25 0x00007feaa9d5a5c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #26 0x00007feaa9d5a64c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #27 0x00007feaae55c6af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Core.so.5
      #28 0x00007feaae5083da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Core.so.5
      #29 0x00007feaae510cb4 in QCoreApplication::exec() () at /home/nik/opt/qt-5.9.5/5.9.5/gcc_64/lib/libQt5Core.so.5
      #30 0x000055bf09ec656c in main(int, char**) (argc=5, argv=0x7ffe8ef294a8) at /d1/creator/master/source/src/app/main.cpp:625
              options = {settingsPath = {d = 0x55bf0ae6cc00}, installSettingsPath = {d = 0x7feaae5ed0a0 <QArrayData::shared_null>}, customPluginPaths = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7feaae5ef000 <QListData::shared_null>}, d = 0x7feaae5ef000 <QListData::shared_null>}}, <No data fields>}, appArguments = std::vector of length 3, capacity 4 = {0x7ffe8ef2b5b0 "/d1/creator/master/builds/gcc_qbs/qtc_Qt_5_9_5_Debug/install-root/bin/qtcreator", 0x7ffe8ef2b600 "-load", 0x7ffe8ef2b606 "ClangCodeModel"}, userLibraryPath = {<std::experimental::optional_base<QString>> = {init_ = false, storage_ = {dummy_ = 0 '\000', value_ = {d = 0x0}}}, <No data fields>}, hasTestOption = false}
              temporaryCleanSettingsDir = {d = 0x0}
              numberofArguments = 3
              app = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7feaafd15000 <QApplication::staticMetaObject>, stringdata = 0x55bf09ed3f20 <qt_meta_stringdata_SharedTools__QtSingleApplication>, data = 0x55bf09ed4020 <qt_meta_data_SharedTools__QtSingleApplication>, static_metacall = 0x55bf09ed1fb8 <SharedTools::QtSingleApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, firstPeer = 17064, instances = 0x55bf0b02c670, pidPeer = 0x55bf0af35d80, actWin = 0x0, appId = {d = 0x55bf0ae6f630}, block = false}
              pluginArguments = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x55bf0afc36b0}, d = 0x55bf0afc36b0}}, <No data fields>}
              settings = 0x55bf0b046c60
              globalSettings = 0x55bf0afc42f0
              threadCount = 8
              libexecPath = {d = 0x55bf0af56a00}
              setupCrashHandler = {<No data fields>}
              pluginManager = {<QObject> = {<No data fiel
      ds>}, static staticMetaObject = {d = {superdata = 0x7feaae9bd9c0 <QObject::staticMetaObject>, stringdata = 0x7feab0291d00 <qt_meta_stringdata_ExtensionSystem__PluginManager>, data = 0x7feab0291e60 <qt_meta_data_ExtensionSystem__PluginManager>, static_metacall = 0x7feab028cfd4 <ExtensionSystem::PluginManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
              translator = <incomplete type>
              qtTranslator = <incomplete type>
              uiLanguages = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x55bf0b009890}, d = 0x55bf0b009890}}, <No data fields>}
              overrideLanguage = {d = 0x7feaae5ed0a0 <QArrayData::shared_null>}
              creatorTrPath = @0x7ffe8ef291c8: {d = 0x55bf0af5df20}
              pluginPaths = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x55bf0ae6e2f0}, d = 0x55bf0ae6e2f0}}, <No data fields>}
              foundAppOptions = {d = 0x7feaae639400 <QMapDataBase::shared_null>}
              plugins = {<QListSpecialMethods<ExtensionSystem::PluginSpec*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x55bf0b49ebf0}, d = 0x55bf0b49ebf0}}
              coreplugin = 0x55bf0b0157f0
              pid = -1
              isBlock = false
       

      Attachments

        Activity

          People

            orgads Orgad Shaneh
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: