Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QT-Creator crashes
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Rocky007
n00b
n00b


Joined: 22 Dec 2014
Posts: 66

PostPosted: Fri Aug 19, 2016 8:29 am    Post subject: QT-Creator crashes Reply with quote

Hello,

i just emerged qt-creator an everything is fine.
But if i want to edit Extras->Settings it crashes with no error.

gdb tells me the following: Segmentation Fault

Code:
#0  0x00007ffff73f1fc4 in QLabel::setText(QString const&) () from /usr/lib64/libQt5Widgets.so.5                                                                                                                   
No symbol table info available.                                                                                                                                                                                   
#1  0x00007fffe041b8e2 in ?? () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#2  0x00007fffe041b976 in ?? () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#3  0x00007ffff75112c0 in QAbstractItemView::setSelectionModel(QItemSelectionModel*) () from /usr/lib64/libQt5Widgets.so.5                                                                                       
No symbol table info available.                                                                                                                                                                                   
#4  0x00007ffff755a9a7 in QTreeView::setSelectionModel(QItemSelectionModel*) () from /usr/lib64/libQt5Widgets.so.5                                                                                               
No symbol table info available.                                                                                                                                                                                   
#5  0x00007ffff750bfa5 in QAbstractItemView::setModel(QAbstractItemModel*) () from /usr/lib64/libQt5Widgets.so.5                                                                                                 
No symbol table info available.                                                                                                                                                                                   
#6  0x00007ffff755a754 in QTreeView::setModel(QAbstractItemModel*) () from /usr/lib64/libQt5Widgets.so.5                                                                                                         
No symbol table info available.                                                                                                                                                                                   
#7  0x00007fffe041afaa in ?? () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#8  0x00007fffe041b342 in Core::VariableChooser::VariableChooser(QWidget*) () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                       
No symbol table info available.                                                                                                                                                                                   
#9  0x00007fffe040e724 in ?? () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#10 0x00007fffe0415457 in ?? () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#11 0x00007fffe03a7dcd in ?? () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#12 0x00007fffe03a8f55 in ?? () from /usr/lib64/qtcreator/plugins/libCore.so                                                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#13 0x00007ffff6f4cf72 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5                                                                                                   
No symbol table info available.                                                                                                                                                                                   
#14 0x00007ffff6ee0fda in QItemSelectionModel::currentRowChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQt5Core.so.5                                                                       
No symbol table info available.                                                                                                                                                                                   
#15 0x00007ffff6ee172a in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQt5Core.so.5                                                 
No symbol table info available.                                                                                                                                                                                   
#16 0x00007ffff751af42 in QAbstractItemView::focusInEvent(QFocusEvent*) () from /usr/lib64/libQt5Widgets.so.5                                                                                                     
No symbol table info available.                                                                                                                                                                                   
#17 0x00007ffff730765f in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#18 0x00007ffff73ed87e in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#19 0x00007ffff7479713 in QAbstractScrollArea::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#20 0x00007ffff751a4fb in QAbstractItemView::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#21 0x00007ffff72c157c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#22 0x00007ffff72c5c90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#23 0x00007ffff6f25410 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#24 0x00007ffff74af6d5 in QDialog::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#25 0x00007ffff74aefd1 in QDialog::exec() () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#26 0x00007fffe03a750e in ?? () from /usr/lib64/qtcreator/plugins/libCore.so
No symbol table info available.
#27 0x00007fffe04a6c91 in ?? () from /usr/lib64/qtcreator/plugins/libCore.so
No symbol table info available.
#28 0x00007ffff6f4c90c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#29 0x00007ffff72b7072 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#30 0x00007ffff6f4cf72 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Sat Nov 05, 2016 6:11 pm    Post subject: Reply with quote

Here is the output of an emerge --pretend for qt-creator
Code:
[ebuild  N     ] dev-libs/botan-1.10.12  USE="bzip2 ssl threads zlib -bindist -doc -gmp -python -static-libs" PYTHON_TARGETS="python2_7 python3_4"
[ebuild  N     ] sys-devel/gdb-7.10.1  USE="client nls python server -expat -lzma -multitarget {-test} -vanilla" PYTHON_SINGLE_TARGET="python2_7 -python3_4 (-python3_5)" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)"
[ebuild  N     ] dev-qt/qtconcurrent-5.6.1  USE="-debug {-test}"
[ebuild  N     ] dev-qt/qthelp-5.6.1  USE="-debug {-test}"
[ebuild  N     ] dev-qt/qtquickcontrols-5.6.1  USE="widgets -debug {-test}"
[ebuild  N     ] dev-qt/designer-5.6.1  USE="-debug -declarative {-test} -webkit"
[ebuild  N     ] dev-qt/qt-creator-3.6.1  USE="systemd -android -autotools -baremetal -bazaar -clang -clearcase -cmake -cvs -doc -git -ios -mercurial -perforce -python -qbs -qnx -subversion {-test} -valgrind -webkit -winrt" LINGUAS="-cs -de -fr -ja -pl -ru -sl -uk -zh_CN -zh_TW"

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-qt/qt-creator-3.6.1::gentoo
# required by qt-creator (argument)
>=dev-libs/botan-1.10.12 threads


I notice qtquickcontrols has a widgets USE flag, and there seems to be a reference to Qt5 widgets in your seg fault.
1. Is qtquickcontrols built with the widgets USE flag?
2. Does building it without said USE flag resolve the problem? {Although I appreciate you might lose some functionality if you do that}
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum