Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.5.0
-
None
-
ubuntu 17.10
Qt Creator 4.5.0
Based on Qt 5.10.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Built on Dec 4 2017 04:11:21
From revision fcea6ceba6
Copyright 2008-2017 The Qt Company Ltd. All rights reserved.
The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.ubuntu 17.10 Qt Creator 4.5.0 Based on Qt 5.10.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit) Built on Dec 4 2017 04:11:21 From revision fcea6ceba6 Copyright 2008-2017 The Qt Company Ltd. All rights reserved. The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Description
I have a qt project created on machine A (ubuntu 17.10), and when I open it on another ubuntu 17.10,
qt creator would crash, gdb captured the following call stack:
Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
0x00007fb12126e00e in ProjectExplorer::Kit::value(Core::Id, QVariant const&) const () from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
(gdb) bt
#0 0x00007fb12126e00e in ProjectExplorer::Kit::value(Core::Id, QVariant const&) const () from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
#1 0x00007fb121279f30 in ProjectExplorer::EnvironmentKitInformation::addToEnvironment(ProjectExplorer::Kit const*, Utils::Environment&) const ()
from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
#2 0x00007fb12126dd2f in ProjectExplorer::Kit::addToEnvironment(Utils::Environment&) const () from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
#3 0x00007fb116a34bab in QmakeProjectManager::QmakeProject::createProFileReader(QmakeProjectManager::QmakeProFile const*) ()
from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libQmakeProjectManager.so
#4 0x00007fb116a123e0 in QmakeProjectManager::QmakeProFile::setupReader() () from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libQmakeProjectManager.so
#5 0x00007fb116a1556e in QmakeProjectManager::QmakeProFile::asyncUpdate() () from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libQmakeProjectManager.so
#6 0x00007fb116a3bc7e in QmakeProjectManager::QmakeProject::asyncUpdate() () from /home/shiy/Qt/Tools/QtCreator/lib/qtcreator/plugins/libQmakeProjectManager.so
#7 0x00007fb1512baef6 in QMetaObject::activate(QObject*, int, int, void**) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#8 0x00007fb1512c73e7 in QTimer::timeout(QTimer::QPrivateSignal) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#9 0x00007fb1512c76b8 in QTimer::timerEvent(QTimerEvent*) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#10 0x00007fb1512bbadb in QObject::event(QEvent*) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#11 0x00007fb15263b54c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
#12 0x00007fb152642897 in QApplication::notify(QObject*, QEvent*) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
#13 0x00007fb15128f9f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#14 0x00007fb1512e308e in QTimerInfoList::activateTimers() () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#15 0x00007fb1512e3871 in ?? () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#16 0x00007fb14cd5ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fb14cd601f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fb14cd6027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fb1512e3baf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#20 0x00007fb1491b79a1 in ?? () from /home/shiy/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#21 0x00007fb15128e26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#22 0x00007fb151296da4 in QCoreApplication::exec() () from /home/shiy/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
#23 0x000000000040a4ca in ?? ()
#24 0x00007fb14fece1c1 in __libc_start_main (main=0x407080, argc=1, argv=0x7ffd5897a1f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd5897a1e8)
at ../csu/libc-start.c:308
#25 0x000000000040a731 in ?? ()
(gdb)
to reproduce, git clone https://github.com/shi-yan/LoggingManager.git
then try to use qtcreator to open LoggingManager/Example/Example.pro