https://bugs.kde.org/show_bug.cgi?id=466743
Bug ID: 466743 Summary: Crash when using KCommandBar Classification: Applications Product: kaddressbook Version: unspecified Platform: Compiled Sources OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kdepim-b...@kde.org Reporter: nicolas.fe...@gmx.de CC: to...@kde.org Target Milestone: --- Application: kaddressbook (5.22.40 alpha (23.03.40)) (Compiled from sources) Qt Version: 6.4.2 Frameworks Version: 5.240.0 Operating System: Linux 6.1.14-200.fc37.x86_64 x86_64 Windowing System: Wayland Distribution: Fedora Linux 37 (KDE Plasma) DrKonqi: 5.27.80 [KCrashBackend] -- Information about the crash: Press Ctrl+Alt+I, type something The crash can be reproduced every time. -- Backtrace: Application: KAddressBook (kaddressbook), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #5 0x00007f4d15fe663c in QAction::text() const () at /lib64/libQt6Gui.so.6 #6 0x00007f4d1790a9f7 in KCommandBarModel::Item::displayName() const (this=this@entry=0x248b178) at /home/nico/kde6/src/kconfigwidgets/src/kcommandbarmodel_p.cpp:19 #7 0x00007f4d1790ada8 in KCommandBarModel::data(QModelIndex const&, int) const (this=<optimized out>, index=<optimized out>, role=<optimized out>) at /home/nico/kde6/src/kconfigwidgets/src/kcommandbarmodel_p.cpp:126 #8 0x00007f4d17906a34 in QModelIndex::data(int) const (arole=0, this=0x7ffe1e088550) at /usr/include/qt6/QtCore/qabstractitemmodel.h:493 #9 CommandBarFilterModel::filterAcceptsRow(int, QModelIndex const&) const (this=0x2630438, sourceRow=<optimized out>, sourceParent=...) at /home/nico/kde6/src/kconfigwidgets/src/kcommandbar.cpp:82 #10 0x00007f4d155f07d2 in QSortFilterProxyModelPrivate::filterAcceptsRowInternal(int, QModelIndex const&) const () at /lib64/libQt6Core.so.6 #11 0x00007f4d155f7ed7 in QSortFilterProxyModelPrivate::create_mapping(QModelIndex const&) const () at /lib64/libQt6Core.so.6 #12 0x00007f4d155fbe13 in QSortFilterProxyModel::columnCount(QModelIndex const&) const () at /lib64/libQt6Core.so.6 #13 0x00007f4d168a9e75 in QHeaderView::initializeSections() () at /lib64/libQt6Widgets.so.6 #14 0x00007f4d168afcce in QHeaderView::reset() () at /lib64/libQt6Widgets.so.6 #15 0x00007f4d153c7f8f in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #16 0x00007f4d155ae611 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) () at /lib64/libQt6Core.so.6 #17 0x00007f4d153c7d30 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #18 0x00007f4d16746676 in QLineEdit::textChanged(QString const&) () at /lib64/libQt6Widgets.so.6 #19 0x00007f4d153c7f8f in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #20 0x00007f4d16750ff9 in QWidgetLineControl::textChanged(QString const&) () at /lib64/libQt6Widgets.so.6 #21 0x00007f4d167541a8 in QWidgetLineControl::finishChange(int, bool, bool) () at /lib64/libQt6Widgets.so.6 #22 0x00007f4d16756e9d in QWidgetLineControl::processKeyEvent(QKeyEvent*) () at /lib64/libQt6Widgets.so.6 #23 0x00007f4d167465ed in QLineEdit::keyPressEvent(QKeyEvent*) () at /lib64/libQt6Widgets.so.6 #24 0x00007f4d16615e7f in QWidget::event(QEvent*) () at /lib64/libQt6Widgets.so.6 #25 0x00007f4d165baa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #26 0x00007f4d165c4ac5 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #27 0x00007f4d15368068 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6 #28 0x00007f4d1662a098 in QWidgetWindow::event(QEvent*) () at /lib64/libQt6Widgets.so.6 #29 0x00007f4d165baa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #30 0x00007f4d15368068 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6 #31 0x00007f4d15bfb83b in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /lib64/libQt6Gui.so.6 #32 0x00007f4d15c551cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Gui.so.6 #33 0x00007f4d16108824 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Gui.so.6 #34 0x00007f4d13834c7f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #35 0x00007f4d1388b118 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0 #36 0x00007f4d13831f00 in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #37 0x00007f4d15623220 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #38 0x00007f4d1537465b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #39 0x00007f4d16791673 in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) () at /lib64/libQt6Widgets.so.6 #40 0x00007f4d16791793 in QMenu::exec(QPoint const&, QAction*) () at /lib64/libQt6Widgets.so.6 #41 0x00007f4d16791802 in QMenu::exec() () at /lib64/libQt6Widgets.so.6 #42 0x00007f4d175c6840 in operator() (__closure=<optimized out>) at /home/nico/kde6/src/kxmlgui/src/kxmlguiwindow.cpp:187 #43 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KXmlGuiWindow::KXmlGuiWindow(QWidget*, Qt::WindowFlags)::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:127 #44 QtPrivate::Functor<KXmlGuiWindow::KXmlGuiWindow(QWidget*, Qt::WindowFlags)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:241 #45 QtPrivate::QFunctorSlotObject<KXmlGuiWindow::KXmlGuiWindow(QWidget*, Qt::WindowFlags)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:408 #46 0x00007f4d153c7d30 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #47 0x00007f4d15fe5c96 in QAction::triggered(bool) () at /lib64/libQt6Gui.so.6 #48 0x00007f4d15fe8c8d in QAction::activate(QAction::ActionEvent) () at /lib64/libQt6Gui.so.6 #49 0x00007f4d15fe9cf8 in QAction::event(QEvent*) () at /lib64/libQt6Gui.so.6 #50 0x00007f4d165baa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #51 0x00007f4d15368068 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6 #52 0x00007f4d15ffb554 in QShortcutMap::dispatchEvent(QKeyEvent*) () at /lib64/libQt6Gui.so.6 #53 0x00007f4d15ffbfdb in QShortcutMap::tryShortcut(QKeyEvent*) () at /lib64/libQt6Gui.so.6 #54 0x00007f4d15c59288 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /lib64/libQt6Gui.so.6 #55 0x00007f4d15bfb81a in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /lib64/libQt6Gui.so.6 #56 0x00007f4d15c551cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Gui.so.6 #57 0x00007f4d16108824 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Gui.so.6 #58 0x00007f4d13834c7f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #59 0x00007f4d1388b118 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0 #60 0x00007f4d13831f00 in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #61 0x00007f4d15623220 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #62 0x00007f4d1537465b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #63 0x00007f4d15370528 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6 #64 0x0000000000408b30 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nico/kde6/src/kaddressbook/src/main.cpp:91 [Inferior 1 (process 363317) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.