http://bugzilla.opensuse.org/show_bug.cgi?id=1072025 http://bugzilla.opensuse.org/show_bug.cgi?id=1072025#c10 Joachim Mairböck <j.mairboeck@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j.mairboeck@gmail.com --- Comment #10 from Joachim Mairböck <j.mairboeck@gmail.com> --- When I start Yast as root (i.e. as normal via kdesu), I also get this crash, but not when I start it as normal user. The workaround with --gtk works because the fallback to Qt uses the built-in menu, not y2controlcenter (but that's a different bug ...). When running y2controlcenter directly (as root) under gdb, I get the following backtrace: #0 0x000000000042f8dc in QString::QString (other=..., this=0x7fffffffd2f0) at /usr/include/qt5/QtCore/qstring.h:890 #1 0x000000000042f8dc in YQDesktopFilesModel::propertyValue(QModelIndex const&, QString const&) const (this=this@entry=0x765c30, index=..., key=...) at /usr/src/debug/yast2-control-center-3.1.6/src/yqdesktopfilesmodel.cpp:227 #2 0x0000000000430b94 in YQDesktopFilesModel::data(QModelIndex const&, int) const (this=this@entry=0x765c30, index=..., role=<optimized out>) at /usr/src/debug/yast2-control-center-3.1.6/src/yqdesktopfilesmodel.cpp:337 #3 0x000000000043b607 in YQModuleGroupsModel::data(QModelIndex const&, int) const (this=0x765c30, index=..., role=<optimized out>) at /usr/src/debug/yast2-control-center-3.1.6/src/yqmodulegroupsmodel.cpp:170 #4 0x0000000000443faa in YQModulesModel::data(QModelIndex const&, int) const (this=0x735c00, index=..., role=<optimized out>) at /usr/src/debug/yast2-control-center-3.1.6/src/yqmodulesmodel.cpp:186 #5 0x000000000042a96d in KCategorizedSortFilterProxyModel::compareCategories(QModelIndex const&, QModelIndex const&) const (this=0x7b98d0, left=..., right=...) at /usr/src/debug/yast2-control-center-3.1.6/src/kcategorizedsortfilterproxymodel.cpp:252 #6 0x000000000042a0b9 in KCategorizedSortFilterProxyModel::lessThan(QModelIndex const&, QModelIndex const&) const (this=0x7b98d0, left=..., right=...) at /usr/src/debug/yast2-control-center-3.1.6/src/kcategorizedsortfilterproxymodel.cpp:224 #7 0x00007ffff69a0734 in QSortFilterProxyModelLessThan::operator()(int, int) const (r2=10, r1=<optimized out>, this=0x7fffffffd760) at itemmodels/qsortfilterproxymodel.cpp:74 #8 0x00007ffff69a0734 in std::__insertion_sort<int*, QSortFilterProxyModelLessThan>(int*, int*, QSortFilterProxyModelLessThan) (__first=__first@entry=0x7dc084, __last=__last@entry=0x7dc0a0, __comp=...) at /usr/include/c++/4.8/bits/stl_algo.h:2159 #9 0x00007ffff69a14e8 in std::__chunk_insertion_sort<int*, long, QSortFilterProxyModelLessThan> (__comp=..., __chunk_size=7, __last=0x7dc10c, __first=0x7dc084) at /usr/include/c++/4.8/bits/stl_algo.h:3369 #10 0x00007ffff69a14e8 in std::__merge_sort_with_buffer<int*, int*, QSortFilterProxyModelLessThan>(int*, int*, int*, QSortFilterProxyModelLessThan) (__first=__first@entry=0x7dc068, __last=__last@entry=0x7dc10c, __buffer=__buffer@entry=0x7dc9b0, __comp=...) at /usr/include/c++/4.8/bits/stl_algo.h:3414 #11 0x00007ffff69a5be2 in std::__stable_sort_adaptive<int*, int*, long, QSortFilterProxyModelLessThan>(int*, int*, int*, long, QSortFilterProxyModelLessThan) (__first=__first@entry=0x7dc068, __last=__last@entry=0x7dc1b0, __buffer=__buffer@entry=0x7dc9b0, __buffer_size=__buffer_size@entry=82, __comp=...) at /usr/include/c++/4.8/bits/stl_algo.h:3473 #12 0x00007ffff6998db5 in std::stable_sort<int*, QSortFilterProxyModelLessThan> (__comp=..., __last=0x7dc1b0, __first=0x7dc068) at /usr/include/c++/4.8/bits/stl_algo.h:5712 #13 0x00007ffff6998db5 in QSortFilterProxyModelPrivate::sort_source_rows(QVector<int>&, QModelIndex const&) const (this=this@entry=0x7d92f0, source_rows=..., source_parent=...) at itemmodels/qsortfilterproxymodel.cpp:486 #14 0x00007ffff699af25 in QSortFilterProxyModelPrivate::sort() (this=0x7d92f0) at itemmodels/qsortfilterproxymodel.cpp:440 #15 0x000000000041a9bb in MainWindow::MainWindow(QFlags<Qt::WindowType>) (this=0x7fffffffdc30, wflags=...) at /usr/src/debug/yast2-control-center-3.1.6/src/main_window.cpp:138 #16 0x0000000000417d88 in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/yast2-control-center-3.1.6/src/main.cpp:82 The crash occurs in QString's copy constructor, called from YQDesktopFilesModel::propertyValue. -- You are receiving this mail because: You are on the CC list for the bug.