Summary: | Crash when pressing particular sequence of function keys | ||
---|---|---|---|
Product: | [Applications] khelpcenter | Reporter: | David Korth <gerbilsoft> |
Component: | general | Assignee: | Documentation Editorial Team <kde-doc-english> |
Status: | CONFIRMED --- | ||
Severity: | crash | CC: | aacid, enricobe, ostroffjh, resin |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
David Korth
2022-11-05 18:49:33 UTC
Nice! :) I can reproduce this bug Operating System: KDE neon 5.26 KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 Kernel Version: 5.15.0-52-generic (64-bit) Graphics Platform: Wayland I get the same crash just typing F7 twice. Artix Linux, kernel 6.0.7 khelpcenter 22.08.2 KDE Frameworks 5.99.0 KDE Plasma 5.26.2 Qt 5.15.7 Xorg Server 21.1.4 Application: Help Center (khelpcenter), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 setCaretInvisibleIfNeeded (part=0x55d9148a1830) at /usr/src/debug/khtml/khtml-5.99.0/src/misc/shared.h:98 #7 0x00007f9ea8ebe1c0 in doActivate<false> (sender=0x55d914abd580, signal_index=4, argv=0x7ffec1e52d10) at kernel/qobject.cpp:3931 #8 0x00007f9ea9b6bec7 in QAction::triggered (this=this@entry=0x55d914abd580, _t1=<optimized out>) at .moc/moc_qaction.cpp:376 #9 0x00007f9ea9b718c7 in QAction::activate (this=0x55d914abd580, event=<optimized out>) at kernel/qaction.cpp:1161 #10 0x00007f9ea9b7198e in QAction::event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1086 #11 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1075 #12 0x00007f9ea9b78b1c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d914abd580, e=0x7ffec1e52ea0) at kernel/qapplication.cpp:3637 #13 0x00007f9ea8e8d578 in QCoreApplication::notifyInternal2 (receiver=0x55d914abd580, event=0x7ffec1e52ea0) at kernel/qcoreapplication.cpp:1064 #14 0x00007f9ea93742cd in QShortcutMap::dispatchEvent (this=<optimized out>, e=<optimized out>) at kernel/qshortcutmap.cpp:675 #15 0x00007f9ea936ab27 in QShortcutMap::tryShortcut (this=0x55d9145252c8, e=0x7ffec1e52f60) at kernel/qshortcutmap.cpp:343 #16 0x00007f9ea932a168 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, timestamp=33169991, keyCode=16777270, modifiers=..., nativeScanCode=73, nativeVirtualKey=65476, nativeModifiers=0, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477 #17 0x00007f9ea933fb22 in QGuiApplicationPrivate::processKeyEvent (e=0x55d914ff5820) at kernel/qguiapplication.cpp:2398 #18 0x00007f9ea93289b5 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #19 0x00007f9ea35d6630 in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105 #20 0x00007f9ea6f0f87b in g_main_dispatch (context=0x7f9e9c005010) at ../glib/glib/gmain.c:3444 #21 g_main_context_dispatch (context=0x7f9e9c005010) at ../glib/glib/gmain.c:4162 #22 0x00007f9ea6f66279 in g_main_context_iterate.constprop.0 (context=0x7f9e9c005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4238 #23 0x00007f9ea6f0e132 in g_main_context_iteration (context=0x7f9e9c005010, may_block=1) at ../glib/glib/gmain.c:4303 #24 0x00007f9ea8ed820c in QEventDispatcherGlib::processEvents (this=0x55d9145f5260, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #25 0x00007f9ea8e85d2c in QEventLoop::exec (this=0x7ffec1e53310, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #26 0x00007f9ea8e90849 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #27 0x00007f9ea933a112 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870 #28 0x00007f9ea9b76f2a in QApplication::exec () at kernel/qapplication.cpp:2829 #29 0x000055d912a41a0f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/khelpcenter/khelpcenter-22.08.2/application.cpp:145 [Inferior 1 (process 18699) detached] Settings/Configure Keyboard Shortcuts says F7 is "Toggle caret mode." I can't find any mention about khelpcenter having caret mode. Even searching the source files, the only mention I see of F7 is for Ctl-F7 "Present Windows of current application only" in the section on "Moving Around." I wonder if the system is getting confused because that key combination (just F7) doesn't actually map to anything in khelpcenter. That's a KHTML shortcut, may have to do with the khelpcenter<->khtml or khtml itself is broken Created attachment 174547 [details]
New crash information added by DrKonqi
khelpcenter (5.8.22123) using Qt 5.15.8
Opened Help Center.
Tried to get the search in focus by,
Typing Ctrl + l , then trying /
Help center crashed and the crash handler popped up.
-- Backtrace (Reduced):
#5 0x00007f10cc247ee8 in KHTMLPart::slotFindAheadText() () from /lib/x86_64-linux-gnu/libKF5KHtml.so.5
[...]
#7 0x00007f10caf5c782 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f10caf5f3ab in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f10caf5ff7d in QAction::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f10caf62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Interestingly, I can't seem to reproduce this anymore with the KF6-based KHelpCenter, so something during the Qt6 transition must have fixed it. Using KHelpCenter 24.08.1. |