Bug 491616 - Crash when opening Configure toolbars
Summary: Crash when opening Configure toolbars
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-08-12 11:44 UTC by Joachim Mairböck
Modified: 2024-08-26 10:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Mairböck 2024-08-12 11:44:09 UTC
Application: konqueror (23.08.5)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.4.0-150600.23.17-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.6"
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
I noticed that the gear icon in the toolbar was suddenly placed left of the search bar in Konqueror instead of to the right of it, so I wanted to check the configuration and maybe correct it, but Konqueror crashed instead. After the restart, the toolbars were again in the correct order. I don't know exactly what caused the wrong order of the toolbar items before.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd1002acb87 in KDEPrivate::KEditToolBarWidgetPrivate::initFromFactory(KXMLGUIFactory*, QString const&) (this=0x5642d4f33d30, factory=<optimized out>, defaultToolBar=...) at /usr/src/debug/kxmlgui-5.115.0-150600.1.5.x86_64/src/kedittoolbar.cpp:862
#5  0x00007fd1002acdf0 in KDEPrivate::KEditToolBarWidgetPrivate::initFromFactory(KXMLGUIFactory*, QString const&) (defaultToolBar=<optimized out>, factory=<optimized out>, this=<optimized out>) at /usr/src/debug/kxmlgui-5.115.0-150600.1.5.x86_64/src/kedittoolbar.cpp:1734
#6  KDEPrivate::KEditToolBarWidget::load(KXMLGUIFactory*, QString const&) (defaultToolBar=<optimized out>, factory=<optimized out>, this=<optimized out>) at /usr/src/debug/kxmlgui-5.115.0-150600.1.5.x86_64/src/kedittoolbar.cpp:805
#7  KEditToolBar::showEvent(QShowEvent*) (this=0x7ffef754bb90, event=0x7ffef754b980) at /usr/src/debug/kxmlgui-5.115.0-150600.1.5.x86_64/src/kedittoolbar.cpp:1731
#8  0x00007fd0ff5e00d8 in QWidget::event(QEvent*) (this=0x7ffef754bb90, event=0x7ffef754b980) at kernel/qwidget.cpp:9045
#9  0x00007fd0ff59f87c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5642c7f43df0, receiver=receiver@entry=0x7ffef754bb90, e=e@entry=0x7ffef754b980) at kernel/qapplication.cpp:3640
#10 0x00007fd0ff5a663f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x7ffef754bb90, e=0x7ffef754b980) at kernel/qapplication.cpp:3164
#11 0x00007fd0fe8d7d53 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7ffef754bb90, event=0x7ffef754b980) at kernel/qcoreapplication.cpp:1064
#12 0x00007fd0fe8d7f2e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x7ffef754bb90, event=event@entry=0x7ffef754b980) at kernel/qcoreapplication.cpp:1462
#13 0x00007fd0ff5dcb43 in QWidgetPrivate::show_helper() (this=this@entry=0x56430097c9c0) at kernel/qwidget.cpp:7839
#14 0x00007fd0ff5dfc53 in QWidgetPrivate::setVisible(bool) (this=0x56430097c9c0, visible=<optimized out>) at kernel/qwidget.cpp:8137
#15 0x00007fd0ff5dff02 in QWidget::setVisible(bool) (this=this@entry=0x7ffef754bb90, visible=visible@entry=true) at kernel/qwidget.cpp:8069
#16 0x00007fd0ff79f495 in QDialog::setVisible(bool) (this=0x7ffef754bb90, visible=<optimized out>) at dialogs/qdialog.cpp:787
#17 0x00007fd0ff79eaf3 in QDialog::exec() (this=this@entry=0x7ffef754bb90) at dialogs/qdialog.cpp:593
#18 0x00007fd100d416a7 in KonqMainWindow::slotConfigureToolbars() (this=0x5642c8e307a0) at /usr/src/debug/konqueror-23.08.5-bp156.1.2.x86_64/src/konqmainwindow.cpp:1772
#19 0x00007fd100cd7701 in KonqMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x5642c8e307a0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/konqueror-23.08.5-bp156.1.2.x86_64/build/src/kdeinit_konqueror_autogen/EWIEGA46WW/moc_konqmainwindow.cpp:640
#20 0x00007fd0fe90bc0b in QObject::event(QEvent*) (this=this@entry=0x5642c8e307a0, e=e@entry=0x5642faaf41b0) at kernel/qobject.cpp:1347
#21 0x00007fd0ff5e031b in QWidget::event(QEvent*) (this=this@entry=0x5642c8e307a0, event=event@entry=0x5642faaf41b0) at kernel/qwidget.cpp:9106
#22 0x00007fd0ff6f20d0 in QMainWindow::event(QEvent*) (this=this@entry=0x5642c8e307a0, event=event@entry=0x5642faaf41b0) at widgets/qmainwindow.cpp:1341
#23 0x00007fd1002bb594 in KMainWindow::event(QEvent*) (this=this@entry=0x5642c8e307a0, ev=ev@entry=0x5642faaf41b0) at /usr/src/debug/kxmlgui-5.115.0-150600.1.5.x86_64/src/kmainwindow.cpp:961
#24 0x00007fd100304f07 in KXmlGuiWindow::event(QEvent*) (this=0x5642c8e307a0, ev=0x5642faaf41b0) at /usr/src/debug/kxmlgui-5.115.0-150600.1.5.x86_64/src/kxmlguiwindow.cpp:220
#25 0x00007fd100d2b8f8 in KonqMainWindow::event(QEvent*) (this=0x5642c8e307a0, e=0x5642faaf41b0) at /usr/src/debug/konqueror-23.08.5-bp156.1.2.x86_64/src/konqmainwindow.cpp:5415
#26 0x00007fd0ff59f87c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5642c7f43df0, receiver=receiver@entry=0x5642c8e307a0, e=e@entry=0x5642faaf41b0) at kernel/qapplication.cpp:3640
#27 0x00007fd0ff5a663f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5642c8e307a0, e=0x5642faaf41b0) at kernel/qapplication.cpp:3164
#28 0x00007fd0fe8d7d53 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5642c8e307a0, event=0x5642faaf41b0) at kernel/qcoreapplication.cpp:1064
#29 0x00007fd0fe8d7f2e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x5642c8e307a0, event=event@entry=0x5642faaf41b0) at kernel/qcoreapplication.cpp:1462
#30 0x00007fd0fe8da771 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5642c7f22060) at kernel/qcoreapplication.cpp:1821
#31 0x00007fd0fe8dacf8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#32 0x00007fd0fe93aad3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5642c8011b10) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007fd0fb715fac in g_main_dispatch (context=0x7fd0ec000ec0) at ../glib/gmain.c:3476
#34 g_main_context_dispatch_unlocked (context=context@entry=0x7fd0ec000ec0) at ../glib/gmain.c:4284
#35 0x00007fd0fb717bd0 in g_main_context_iterate_unlocked (context=context@entry=0x7fd0ec000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#36 0x00007fd0fb7181cc in g_main_context_iteration (context=0x7fd0ec000ec0, may_block=may_block@entry=1) at ../glib/gmain.c:4414
#37 0x00007fd0fe93a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5642c8016aa0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007fd0fe8d65ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffef754c410, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235
#39 0x00007fd0fe8dfdf7 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1375
#40 0x00007fd100ce0fa9 in KonquerorApplication::startFirstInstance() (this=this@entry=0x7ffef754c570) at /usr/src/debug/konqueror-23.08.5-bp156.1.2.x86_64/src/konqapplication.cpp:236
#41 0x00007fd100ce13e8 in KonquerorApplication::start() (this=this@entry=0x7ffef754c570) at /usr/src/debug/konqueror-23.08.5-bp156.1.2.x86_64/src/konqapplication.cpp:298
#42 0x00007fd100d72359 in kdemain(int, char**) (argc=<optimized out>, argv=0x7ffef754c6d8) at /usr/src/debug/konqueror-23.08.5-bp156.1.2.x86_64/src/konqmain.cpp:40
#43 0x00007fd100a40eec in __libc_start_call_main () at /lib64/libc.so.6
#44 0x00007fd100a40fb5 in __libc_start_main_impl () at /lib64/libc.so.6
#45 0x00005642c75a7731 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 23812) detached]

Reported using DrKonqi
Comment 1 Stefano Crocco 2024-08-15 06:54:05 UTC
Unfortunately, Konqueror 23.08 is not developed anymore, as it uses the old version (5) of the KDE Frameworks, so I'm unable to test it. However, I tried opening the toolbar configuration dialog in the current version of Konqueror and it worked without problems. Did the crash happen immediately when you chose the "configure toolbar" menu entry or after you did something in the dialog?
Comment 2 Joachim Mairböck 2024-08-26 10:17:28 UTC
(In reply to Stefano Crocco from comment #1)
> Unfortunately, Konqueror 23.08 is not developed anymore, as it uses the old
> version (5) of the KDE Frameworks, so I'm unable to test it. However, I
> tried opening the toolbar configuration dialog in the current version of
> Konqueror and it worked without problems. Did the crash happen immediately
> when you chose the "configure toolbar" menu entry or after you did something
> in the dialog?

The dialog didn't appear.

I didn't notice the problem since, and I don't know how exactly to reproduce it, so feel free to close this as not reproducible.