Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 6.0.0-beta2
-
None
-
-
90972ad82272a28817c1238b48d2709a33f893e9 (qt-creator/qt-creator/6.0)
Description
Steps to reproduce:
1. Open some application that doesn't finish immediately (is calling e.g. app.exec())
2. Analyze | Valgrind Function Profiler
3. Close the Creator, when asked about running application choose "Force Quit".
4. Creator should crash.
The issue is that CallgrindToolPrivate::m_visualization is already deleted (by the DebuggerPluginPrivate::aboutToShutdown() -> DebuggerMainWindow::doShutdown()) before CallgrindToolPrivate::setParseData() is being called.
Call stack:
Thread 1 (Thread 0x7f57df4c8f40 (LWP 58890)): #0 0x00007f57ad0c5932 in Valgrind::Internal::Visualization::setFunction (this=0x0, function=0x0) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindvisualisation.cpp:303 #1 0x00007f57ad0b83f0 in Valgrind::Internal::CallgrindToolPrivate::setParseData (this=0x2b60e00, data=0x0) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindtool.cpp:691 #2 0x00007f57ad0b76fd in Valgrind::Internal::CallgrindToolPrivate::doClear (this=0x2b60e00, clearParseData=true) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindtool.cpp:526 #3 0x00007f57ad0b9d3a in Valgrind::Internal::CallgrindToolPrivate::takeParserData (this=0x2b60e00, data=0x3d7ad80) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindtool.cpp:916 #4 0x00007f57ad0b9cd0 in Valgrind::Internal::CallgrindToolPrivate::takeParserDataFromRunControl (this=0x2b60e00, rc=0x3dddb40) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindtool.cpp:904 #5 0x00007f57ad0c3305 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Valgrind::Internal::CallgrindToolRunner*>, void, void (Valgrind::Internal::CallgrindToolPrivate::*)(Valgrind::Internal::CallgrindToolRunner*)>::call (f=(void (Valgrind::Internal::CallgrindToolPrivate::*)(Valgrind::Internal::CallgrindToolPrivate * const, Valgrind::Internal::CallgrindToolRunner *)) 0x7f57ad0b9ca2 <Valgrind::Internal::CallgrindToolPrivate::takeParserDataFromRunControl(Valgrind::Internal::CallgrindToolRunner*)>, o=0x2b60e00, arg=0x7ffd23f5e9e0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152 #6 0x00007f57ad0c195a in QtPrivate::FunctionPointer<void (Valgrind::Internal::CallgrindToolPrivate::*)(Valgrind::Internal::CallgrindToolRunner*)>::call<QtPrivate::List<Valgrind::Internal::CallgrindToolRunner*>, void> (f=(void (Valgrind::Internal::CallgrindToolPrivate::*)(Valgrind::Internal::CallgrindToolPrivate * const, Valgrind::Internal::CallgrindToolRunner *)) 0x7f57ad0b9ca2 <Valgrind::Internal::CallgrindToolPrivate::takeParserDataFromRunControl(Valgrind::Internal::CallgrindToolRunner*)>, o=0x2b60e00, arg=0x7ffd23f5e9e0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185 #7 0x00007f57ad0c05c9 in QtPrivate::QSlotObject<void (Valgrind::Internal::CallgrindToolPrivate::*)(Valgrind::Internal::CallgrindToolRunner*), QtPrivate::List<Valgrind::Internal::CallgrindToolRunner*>, void>::impl (which=1, this_=0x2ba8630, r=0x2b60e00, a=0x7ffd23f5e9e0, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #8 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x2ba8630, r=0x2b60e00, a=0x7ffd23f5e9e0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #9 0x00007f57e39504d9 in doActivate<false> (sender=0x3dddb40, signal_index=5, argv=0x7ffd23f5e9e0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #10 0x00007f57e3948e3f in QMetaObject::activate (sender=0x3dddb40, m=0x7f57ad1f42e0 <Valgrind::Internal::CallgrindToolRunner::staticMetaObject>, local_signal_index=0, argv=0x7ffd23f5e9e0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #11 0x00007f57ad075055 in Valgrind::Internal::CallgrindToolRunner::parserDataReady (this=0x3dddb40, _t1=0x3dddb40) at src/plugins/valgrind/Valgrind_autogen/EWIEGA46WW/moc_callgrindengine.cpp:151 #12 0x00007f57ad0adc7d in Valgrind::Internal::CallgrindToolRunner::slotFinished (this=0x3dddb40) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindengine.cpp:173 #13 0x00007f57ad0af7c7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Valgrind::Internal::CallgrindToolRunner::*)()>::call(void (Valgrind::Internal::CallgrindToolRunner::*)(), Valgrind::Internal::CallgrindToolRunner*, void**) (f=(void (Valgrind::Internal::CallgrindToolRunner::*)(Valgrind::Internal::CallgrindToolRunner * const)) 0x7f57ad0adc5e <Valgrind::Internal::CallgrindToolRunner::slotFinished()>, o=0x3dddb40, arg=0x7ffd23f5eb98) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152 #14 0x00007f57ad0af506 in QtPrivate::FunctionPointer<void (Valgrind::Internal::CallgrindToolRunner::*)()>::call<QtPrivate::List<>, void>(void (Valgrind::Internal::CallgrindToolRunner::*)(), Valgrind::Internal::CallgrindToolRunner*, void**) (f=(void (Valgrind::Internal::CallgrindToolRunner::*)(Valgrind::Internal::CallgrindToolRunner * const)) 0x7f57ad0adc5e <Valgrind::Internal::CallgrindToolRunner::slotFinished()>, o=0x3dddb40, arg=0x7ffd23f5eb98) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185 #15 0x00007f57ad0aee2d in QtPrivate::QSlotObject<void (Valgrind::Internal::CallgrindToolRunner::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x43c5020, r=0x3dddb40, a=0x7ffd23f5eb98, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #16 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x43c5020, r=0x3dddb40, a=0x7ffd23f5eb98) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #17 0x00007f57e39504d9 in doActivate<false> (sender=0x3dde020, signal_index=3, argv=0x7ffd23f5eb98) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #18 0x00007f57e3948e3f in QMetaObject::activate (sender=0x3dde020, m=0x7f57ad1f4c00 <Valgrind::Callgrind::Parser::staticMetaObject>, local_signal_index=0, argv=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #19 0x00007f57ad0746b1 in Valgrind::Callgrind::Parser::parserDataReady (this=0x3dde020) at src/plugins/valgrind/Valgrind_autogen/RHIQGNV7OG/moc_callgrindparser.cpp:136 #20 0x00007f57ad0a1f58 in Valgrind::Callgrind::Parser::Private::parse (this=0x4514c30, filePath=...) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrind/callgrindparser.cpp:269 #21 0x00007f57ad0a3f03 in Valgrind::Callgrind::Parser::parse (this=0x3dde020, filePath=...) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrind/callgrindparser.cpp:645 #22 0x00007f57ad0add53 in Valgrind::Internal::CallgrindToolRunner::handleLocalParseData (this=0x3dddb40, outputFile=...) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindengine.cpp:190 #23 0x00007f57ad0af8ec in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Utils::FilePath const&>, void, void (Valgrind::Internal::CallgrindToolRunner::*)(Utils::FilePath const&)>::call (f=(void (Valgrind::Internal::CallgrindToolRunner::*)(Valgrind::Internal::CallgrindToolRunner * const, const Utils::FilePath &)) 0x7f57ad0adcc2 <Valgrind::Internal::CallgrindToolRunner::handleLocalParseData(Utils::FilePath const&)>, o=0x3dddb40, arg=0x7ffd23f5f1b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152 #24 0x00007f57ad0af590 in QtPrivate::FunctionPointer<void (Valgrind::Internal::CallgrindToolRunner::*)(Utils::FilePath const&)>::call<QtPrivate::List<Utils::FilePath const&>, void> (f=(void (Valgrind::Internal::CallgrindToolRunner::*)(Valgrind::Internal::CallgrindToolRunner * const, const Utils::FilePath &)) 0x7f57ad0adcc2 <Valgrind::Internal::CallgrindToolRunner::handleLocalParseData(Utils::FilePath const&)>, o=0x3dddb40, arg=0x7ffd23f5f1b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185 #25 0x00007f57ad0af009 in QtPrivate::QSlotObject<void (Valgrind::Internal::CallgrindToolRunner::*)(Utils::FilePath const&), QtPrivate::List<Utils::FilePath const&>, void>::impl (which=1, this_=0x1efa770, r=0x3dddb40, a=0x7ffd23f5f1b0, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #26 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x1efa770, r=0x3dddb40, a=0x7ffd23f5f1b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #27 0x00007f57e39504d9 in doActivate<false> (sender=0x3ddde80, signal_index=4, argv=0x7ffd23f5f1b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #28 0x00007f57e3948e3f in QMetaObject::activate (sender=0x3ddde80, m=0x7f57ad1f4b80 <Valgrind::Callgrind::CallgrindController::staticMetaObject>, local_signal_index=1, argv=0x7ffd23f5f1b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #29 0x00007f57ad074337 in Valgrind::Callgrind::CallgrindController::localParseDataAvailable (this=0x3ddde80, _t1=...) at src/plugins/valgrind/Valgrind_autogen/RHIQGNV7OG/moc_callgrindcontroller.cpp:202 #30 0x00007f57ad0825f9 in operator() (__closure=0x7ffd23f5f480, res=true) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrind/callgrindcontroller.cpp:228 #31 0x00007f57ad082cfa in std::__invoke_impl<void, Valgrind::Callgrind::CallgrindController::getLocalDataFile()::<lambda(bool)>&, bool>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11/bits/invoke.h:61 #32 0x00007f57ad082bca in std::__invoke_r<void, Valgrind::Callgrind::CallgrindController::getLocalDataFile()::<lambda(bool)>&, bool>(struct {...} &) (__fn=...) at /usr/include/c++/11/bits/invoke.h:111 #33 0x00007f57ad082aa1 in std::_Function_handler<void(bool), Valgrind::Callgrind::CallgrindController::getLocalDataFile()::<lambda(bool)> >::_M_invoke(const std::_Any_data &, bool &&) (__functor=..., __args#0=@0x7ffd23f5f284: true) at /usr/include/c++/11/bits/std_function.h:291 #34 0x00007f57e5c6b6fe in std::function<void (bool)>::operator()(bool) const (this=0x7ffd23f5f480, __args#0=true) at /usr/include/c++/11/bits/std_function.h:560 #35 0x00007f57e5c68513 in Utils::FilePath::asyncCopyFile(std::function<void (bool)> const&, Utils::FilePath const&) const (this=0x3dddf80, cont=..., target=...) at /home/jarek/dev/creator-6/src/libs/utils/filepath.cpp:1389 #36 0x00007f57ad082738 in Valgrind::Callgrind::CallgrindController::getLocalDataFile (this=0x3ddde80) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrind/callgrindcontroller.cpp:230 #37 0x00007f57ad0adcbe in Valgrind::Internal::CallgrindToolRunner::triggerParse (this=0x3dddb40) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindengine.cpp:183 #38 0x00007f57ad0acdf1 in operator() (__closure=0x3946410) at /home/jarek/dev/creator-6/src/plugins/valgrind/callgrindengine.cpp:71 #39 0x00007f57ad0adfa4 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Valgrind::Internal::CallgrindToolRunner::CallgrindToolRunner(ProjectExplorer::RunControl*)::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x7ffd23f5f668) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:146 #40 0x00007f57ad0adf85 in QtPrivate::Functor<Valgrind::Internal::CallgrindToolRunner::CallgrindToolRunner(ProjectExplorer::RunControl*)::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=..., arg=0x7ffd23f5f668) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:256 #41 0x00007f57ad0adf54 in QtPrivate::QFunctorSlotObject<Valgrind::Internal::CallgrindToolRunner::CallgrindToolRunner(ProjectExplorer::RunControl*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x3946400, r=0x3dddb40, a=0x7ffd23f5f668, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:420 #42 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x3946400, r=0x3dddb40, a=0x7ffd23f5f668) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #43 0x00007f57e39504d9 in doActivate<false> (sender=0x3ddde18, signal_index=9, argv=0x7ffd23f5f668) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #44 0x00007f57e3948e3f in QMetaObject::activate (sender=0x3ddde18, m=0x7f57ad1f4f80 <Valgrind::ValgrindRunner::staticMetaObject>, local_signal_index=6, argv=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #45 0x00007f57ad076609 in Valgrind::ValgrindRunner::extraProcessFinished (this=0x3ddde18) at src/plugins/valgrind/Valgrind_autogen/EWIEGA46WW/moc_valgrindrunner.cpp:249 #46 0x00007f57ad107e0d in Valgrind::ValgrindRunner::processFinished (this=0x3ddde18, ret=0, status=QProcess::NormalExit) at /home/jarek/dev/creator-6/src/plugins/valgrind/valgrindrunner.cpp:329 #47 0x00007f57ad1079cd in Valgrind::ValgrindRunner::Private::closed (this=0x4127640, success=true) at /home/jarek/dev/creator-6/src/plugins/valgrind/valgrindrunner.cpp:247 #48 0x00007f57ad109eb1 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<int>, void, void (Valgrind::ValgrindRunner::Private::*)(bool)>::call (f=(void (Valgrind::ValgrindRunner::Private::*)(Valgrind::ValgrindRunner::Private * const, bool)) 0x7f57ad1079a2 <Valgrind::ValgrindRunner::Private::closed(bool)>, o=0x4127640, arg=0x7ffd23f5fa90) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152 #49 0x00007f57ad109c8e in QtPrivate::FunctionPointer<void (Valgrind::ValgrindRunner::Private::*)(bool)>::call<QtPrivate::List<int>, void> (f=(void (Valgrind::ValgrindRunner::Private::*)(Valgrind::ValgrindRunner::Private * const, bool)) 0x7f57ad1079a2 <Valgrind::ValgrindRunner::Private::closed(bool)>, o=0x4127640, arg=0x7ffd23f5fa90) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185 #50 0x00007f57ad109665 in QtPrivate::QSlotObject<void (Valgrind::ValgrindRunner::Private::*)(bool), QtPrivate::List<int>, void>::impl (which=1, this_=0x454fae0, r=0x4127640, a=0x7ffd23f5fa90, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #51 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x454fae0, r=0x4127640, a=0x7ffd23f5fa90) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #52 0x00007f57e39504d9 in doActivate<false> (sender=0x4127728, signal_index=6, argv=0x7ffd23f5fa90) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #53 0x00007f57e3948e3f in QMetaObject::activate (sender=0x4127728, m=0x7f57bd1241e0 <ProjectExplorer::ApplicationLauncher::staticMetaObject>, local_signal_index=3, argv=0x7ffd23f5fa90) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #54 0x00007f57bc797d6d in ProjectExplorer::ApplicationLauncher::processExited (this=0x4127728, _t1=-1, _t2=QProcess::CrashExit) at src/plugins/projectexplorer/ProjectExplorer_autogen/EWIEGA46WW/moc_applicationlauncher.cpp:268 #55 0x00007f57bc808046 in ProjectExplorer::Internal::ApplicationLauncherPrivate::localGuiProcessError (this=0x3f082e0) at /home/jarek/dev/creator-6/src/plugins/projectexplorer/applicationlauncher.cpp:298 #56 0x00007f57bc80b208 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectExplorer::Internal::ApplicationLauncherPrivate::*)()>::call(void (ProjectExplorer::Internal::ApplicationLauncherPrivate::*)(), ProjectExplorer::Internal::ApplicationLauncherPrivate*, void**) (f=(void (ProjectExplorer::Internal::ApplicationLauncherPrivate::*)(ProjectExplorer::Internal::ApplicationLauncherPrivate * const)) 0x7f57bc807efc <ProjectExplorer::Internal::ApplicationLauncherPrivate::localGuiProcessError()>, o=0x3f082e0, arg=0x7ffd23f5fde0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152 #57 0x00007f57bc80b01c in QtPrivate::FunctionPointer<void (ProjectExplorer::Internal::ApplicationLauncherPrivate::*)()>::call<QtPrivate::List<>, void>(void (ProjectExplorer::Internal::ApplicationLauncherPrivate::*)(), ProjectExplorer::Internal::ApplicationLauncherPrivate*, void**) (f=(void (ProjectExplorer::Internal::ApplicationLauncherPrivate::*)(ProjectExplorer::Internal::ApplicationLauncherPrivate * const)) 0x7f57bc807efc <ProjectExplorer::Internal::ApplicationLauncherPrivate::localGuiProcessError()>, o=0x3f082e0, arg=0x7ffd23f5fde0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185 #58 0x00007f57bc80aacd in QtPrivate::QSlotObject<void (ProjectExplorer::Internal::ApplicationLauncherPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x22203c0, r=0x3f082e0, a=0x7ffd23f5fde0, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #59 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x22203c0, r=0x3f082e0, a=0x7ffd23f5fde0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #60 0x00007f57e39504d9 in doActivate<false> (sender=0x3f08300, signal_index=5, argv=0x7ffd23f5fde0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #61 0x00007f57e3948e3f in QMetaObject::activate (sender=0x3f08300, m=0x7f57e5fc3260 <Utils::QtcProcess::staticMetaObject>, local_signal_index=2, argv=0x7ffd23f5fde0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #62 0x00007f57e5b65aae in Utils::QtcProcess::errorOccurred (this=0x3f08300, _t1=QProcess::Crashed) at src/libs/utils/Utils_autogen/EWIEGA46WW/moc_qtcprocess.cpp:196 #63 0x00007f57e5d8923c in Utils::Internal::QtcProcessPrivate::handleError (this=0x26c2990, error=QProcess::Crashed, startFailure=Utils::Internal::QtcProcessPrivate::OtherFailure) at /home/jarek/dev/creator-6/src/libs/utils/qtcprocess.cpp:1544 #64 0x00007f57e5d8c69e in Utils::Internal::QtcProcessPrivate::QtcProcessPrivate(Utils::QtcProcess*, Utils::QtcProcess::ProcessImpl, Utils::ProcessMode)::{lambda(QProcess::ProcessError)#1}::operator()(QProcess::ProcessError) const (__closure=0x27f6a40, error=QProcess::Crashed) at /home/jarek/dev/creator-6/src/libs/utils/qtcprocess.cpp:497 #65 0x00007f57e5d9092e in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QProcess::ProcessError>, void, Utils::Internal::QtcProcessPrivate::QtcProcessPrivate(Utils::QtcProcess*, Utils::QtcProcess::ProcessImpl, Utils::ProcessMode)::{lambda(QProcess::ProcessError)#1}>::call(Utils::Internal::QtcProcessPrivate::QtcProcessPrivate(Utils::QtcProcess*, Utils::QtcProcess::ProcessImpl, Utils::ProcessMode)::{lambda(QProcess::ProcessError)#1}&, void**) (f=..., arg=0x7ffd23f60100) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:146 #66 0x00007f57e5d9039a in QtPrivate::Functor<Utils::Internal::QtcProcessPrivate::QtcProcessPrivate(Utils::QtcProcess*, Utils::QtcProcess::ProcessImpl, Utils::ProcessMode)::{lambda(QProcess::ProcessError)#1}, 1>::call<QtPrivate::List<QProcess::ProcessError>, void>(Utils::Internal::QtcProcessPrivate::QtcProcessPrivate(Utils::QtcProcess*, Utils::QtcProcess::ProcessImpl, Utils::ProcessMode)::{lambda(QProcess::ProcessError)#1}&, void*, void**) (f=..., arg=0x7ffd23f60100) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:256 #67 0x00007f57e5d8fd46 in QtPrivate::QFunctorSlotObject<Utils::Internal::QtcProcessPrivate::QtcProcessPrivate(Utils::QtcProcess*, Utils::QtcProcess::ProcessImpl, Utils::ProcessMode)::{lambda(QProcess::ProcessError)#1}, 1, QtPrivate::List<QProcess::ProcessError>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x27f6a30, r=0x26c2990, a=0x7ffd23f60100, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:420 #68 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x27f6a30, r=0x26c2990, a=0x7ffd23f60100) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #69 0x00007f57e39504d9 in doActivate<false> (sender=0x3d742b0, signal_index=5, argv=0x7ffd23f60100) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #70 0x00007f57e3948e3f in QMetaObject::activate (sender=0x3d742b0, m=0x7f57e5fd1c20 <Utils::Internal::ProcessInterface::staticMetaObject>, local_signal_index=2, argv=0x7ffd23f60100) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #71 0x00007f57e5d89776 in Utils::Internal::ProcessInterface::errorOccurred (this=0x3d742b0, _t1=QProcess::Crashed) at src/libs/utils/Utils_autogen/include/qtcprocess.moc:200 #72 0x00007f57e5d90710 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QProcess::ProcessError>, void, void (Utils::Internal::ProcessInterface::*)(QProcess::ProcessError)>::call (f=(void (Utils::Internal::ProcessInterface::*)(Utils::Internal::ProcessInterface * const, QProcess::ProcessError)) 0x7f57e5d89728 <Utils::Internal::ProcessInterface::errorOccurred(QProcess::ProcessError)>, o=0x3d742b0, arg=0x7ffd23f603b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152 #73 0x00007f57e5d90262 in QtPrivate::FunctionPointer<void (Utils::Internal::ProcessInterface::*)(QProcess::ProcessError)>::call<QtPrivate::List<QProcess::ProcessError>, void> (f=(void (Utils::Internal::ProcessInterface::*)(Utils::Internal::ProcessInterface * const, QProcess::ProcessError)) 0x7f57e5d89728 <Utils::Internal::ProcessInterface::errorOccurred(QProcess::ProcessError)>, o=0x3d742b0, arg=0x7ffd23f603b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185 #74 0x00007f57e5d8f943 in QtPrivate::QSlotObject<void (Utils::Internal::ProcessInterface::*)(QProcess::ProcessError), QtPrivate::List<QProcess::ProcessError>, void>::impl (which=1, this_=0x3baef50, r=0x3d742b0, a=0x7ffd23f603b0, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #75 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x3baef50, r=0x3d742b0, a=0x7ffd23f603b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #76 0x00007f57e39504d9 in doActivate<false> (sender=0x7f57cc00acd0, signal_index=3, argv=0x7ffd23f603b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #77 0x00007f57e3948e3f in QMetaObject::activate (sender=0x7f57cc00acd0, m=0x7f57e5fc2d20 <Utils::Internal::CallerHandle::staticMetaObject>, local_signal_index=0, argv=0x7ffd23f603b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #78 0x00007f57e5b61a2e in Utils::Internal::CallerHandle::errorOccurred (this=0x7f57cc00acd0, _t1=QProcess::Crashed) at src/libs/utils/Utils_autogen/EWIEGA46WW/moc_launchersocket.cpp:206 #79 0x00007f57e5ce8ea2 in Utils::Internal::CallerHandle::handleError (this=0x7f57cc00acd0, launcherSignal=0x3b18810) at /home/jarek/dev/creator-6/src/libs/utils/launchersocket.cpp:221 #80 0x00007f57e5ce8b8d in Utils::Internal::CallerHandle::flushFor (this=0x7f57cc00acd0, signalType=Utils::Internal::CallerHandle::SignalType::NoSignal) at /home/jarek/dev/creator-6/src/libs/utils/launchersocket.cpp:178 #81 0x00007f57e5ce867c in Utils::Internal::CallerHandle::flush (this=0x7f57cc00acd0) at /home/jarek/dev/creator-6/src/libs/utils/launchersocket.cpp:132 #82 0x00007f57e5cf48d8 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, QList<Utils::Internal::CallerHandle::SignalType>, QList<Utils::Internal::CallerHandle::SignalType> (Utils::Internal::CallerHandle::*)()>::call(QList<Utils::Internal::CallerHandle::SignalType> (Utils::Internal::CallerHandle::*)(), Utils::Internal::CallerHandle*, void**) (f=(QList<Utils::Internal::CallerHandle::SignalType> (Utils::Internal::CallerHandle::*)(Utils::Internal::CallerHandle * const)) 0x7f57e5ce8654 <Utils::Internal::CallerHandle::flush()>, o=0x7f57cc00acd0, arg=0x3466008) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152 #83 0x00007f57e5cf3969 in QtPrivate::FunctionPointer<QList<Utils::Internal::CallerHandle::SignalType> (Utils::Internal::CallerHandle::*)()>::call<QtPrivate::List<>, QList<Utils::Internal::CallerHandle::SignalType> >(QList<Utils::Internal::CallerHandle::SignalType> (Utils::Internal::CallerHandle::*)(), Utils::Internal::CallerHandle*, void**) (f=(QList<Utils::Internal::CallerHandle::SignalType> (Utils::Internal::CallerHandle::*)(Utils::Internal::CallerHandle * const)) 0x7f57e5ce8654 <Utils::Internal::CallerHandle::flush()>, o=0x7f57cc00acd0, arg=0x3466008) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185 #84 0x00007f57e5cf23f1 in QtPrivate::QSlotObject<QList<Utils::Internal::CallerHandle::SignalType> (Utils::Internal::CallerHandle::*)(), QtPrivate::List<>, QList<Utils::Internal::CallerHandle::SignalType> >::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x35f6950, r=0x7f57cc00acd0, a=0x3466008, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #85 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x35f6950, r=0x7f57cc00acd0, a=0x3466008) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #86 0x00007f57e3940a11 in QMetaCallEvent::placeMetaCall (this=0x3465fc0, object=0x7f57cc00acd0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:631 #87 0x00007f57e3941a68 in QObject::event (this=0x7f57cc00acd0, e=0x3465fc0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:1369 #88 0x00007f57e4feb388 in QApplicationPrivate::notify_helper (this=0x18108b0, receiver=0x7f57cc00acd0, e=0x3465fc0) at /home/jarek/dev/qt-62-small/qtbase/src/widgets/kernel/qapplication.cpp:3401 #89 0x00007f57e4fe8935 in QApplication::notify (this=0x7ffd23f61ac0, receiver=0x7f57cc00acd0, e=0x3465fc0) at /home/jarek/dev/qt-62-small/qtbase/src/widgets/kernel/qapplication.cpp:2760 #90 0x00007f57e38ccc38 in QCoreApplication::notifyInternal2 (receiver=0x7f57cc00acd0, event=0x3465fc0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1063 #91 0x00007f57e38cd610 in QCoreApplication::sendEvent (receiver=0x7f57cc00acd0, event=0x3465fc0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1471 #92 0x00007f57e38ce32b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x17fa7f0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1830 #93 0x00007f57e38cdc96 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1689 #94 0x00007f57e3c36d54 in postEventSourceDispatch (s=0x1861770) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:279 #95 0x00007f57e059e4cf in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #96 0x00007f57e05f24f8 in g_main_context_iterate.constprop () from /usr/lib64/libglib-2.0.so.0 #97 0x00007f57e059bc03 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #98 0x00007f57e3c375b6 in QEventDispatcherGlib::processEvents (this=0x1859dc0, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:429 #99 0x00007f57d1edc6ec in QXcbGlibEventDispatcher::processEvents (this=0x1859dc0, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:132 #100 0x00007f57e38df323 in QEventLoop::processEvents (this=0x2c69430, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventloop.cpp:139 #101 0x00007f57e38df653 in QEventLoop::exec (this=0x2c69430, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventloop.cpp:230 #102 0x00007f57e601eb7a in ExtensionSystem::Internal::PluginManagerPrivate::shutdown (this=0x1aff760) at /home/jarek/dev/creator-6/src/libs/extensionsystem/pluginmanager.cpp:1397 #103 0x00007f57e6018297 in ExtensionSystem::PluginManager::shutdown () at /home/jarek/dev/creator-6/src/libs/extensionsystem/pluginmanager.cpp:409 #104 0x000000000041ad8e in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (*)()>::call(void (*&)(), void**) (f=@0x7ffd23f61458: 0x7f57e6018284 <ExtensionSystem::PluginManager::shutdown()>, arg=0x7ffd23f61690) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:146 #105 0x0000000000419647 in QtPrivate::FunctionPointer<void (*)()>::call<QtPrivate::List<>, void>(void (*)(), void*, void**) (f=0x7f57e6018284 <ExtensionSystem::PluginManager::shutdown()>, arg=0x7ffd23f61690) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:209 #106 0x0000000000417e44 in QtPrivate::QStaticSlotObject<void (*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x357b370, r=0x7ffd23f61a60, a=0x7ffd23f61690, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject_impl.h:90 #107 0x00007f57e38eaca1 in QtPrivate::QSlotObjectBase::call (this=0x357b370, r=0x7ffd23f61a60, a=0x7ffd23f61690) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375 #108 0x00007f57e39504d9 in doActivate<false> (sender=0x7ffd23f61ac0, signal_index=3, argv=0x7ffd23f61690) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908 #109 0x00007f57e3948e3f in QMetaObject::activate (sender=0x7ffd23f61ac0, m=0x7f57e3f6d000 <QCoreApplication::staticMetaObject>, local_signal_index=0, argv=0x7ffd23f61690) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968 #110 0x00007f57e38d17c1 in QCoreApplication::aboutToQuit (this=0x7ffd23f61ac0, _t1=...) at qtbase/src/corelib/Core_autogen/include/moc_qcoreapplication.cpp:252 #111 0x00007f57e38cd50e in QCoreApplicationPrivate::execCleanup (this=0x18108b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1398 #112 0x00007f57e38cd486 in QCoreApplication::exec () at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1382 #113 0x00007f57e44d2e3a in QGuiApplication::exec () at /home/jarek/dev/qt-62-small/qtbase/src/gui/kernel/qguiapplication.cpp:1860 #114 0x00007f57e4fe830f in QApplication::exec () at /home/jarek/dev/qt-62-small/qtbase/src/widgets/kernel/qapplication.cpp:2610 #115 0x000000000040e0d0 in main (argc=1, argv=0x7ffd23f62cf8) at /home/jarek/dev/creator-6/src/app/main.cpp:771
Attachments
Issue Links
- is required for
-
QTCREATORBUG-25709 Reduce crashes on exit / session switch
- Closed
For Gerrit Dashboard: QTCREATORBUG-26563 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
381219,2 | Fix a crash on shutdown inside CallgrindTool | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |