[rkward] [Bug 507923] RKWard crashed when using a context menu to paste a command in the console
Matt Fagnani
bugzilla_noreply at kde.org
Wed Aug 6 23:27:55 BST 2025
https://bugs.kde.org/show_bug.cgi?id=507923
--- Comment #2 from Matt Fagnani <matt.fagnani at bell.net> ---
Created attachment 183839
--> https://bugs.kde.org/attachment.cgi?id=183839&action=edit
Valgrind log for RKWard crash
I ran RKWard under valgrind and reproduced the crash. There were many uses of
uninitialized variables and "Mismatched new/delete size value: 1" involving
qtwebengine. The valgrind log at the time of the crash showed an invalid read
at the address 0x10.
==5582== Thread 1:
==5582== Invalid read of size 8
==5582== at 0x1122323E: UnknownInlinedFun (unique_ptr.h:193)
==5582== by 0x1122323E: UnknownInlinedFun (unique_ptr.h:473)
==5582== by 0x1122323E: UnknownInlinedFun (unique_ptr.h:466)
==5582== by 0x1122323E: KXMLGUIFactory::container(QString const&,
KXMLGUIClient*, bool) (kxmlguifactory.cpp:450)
==5582== by 0x41AED7F: TwinTable::contextMenu(int, int, QPoint const&)
(twintable.cpp:325)
==5582== by 0x13A437B9: call (qobjectdefs_impl.h:461)
==5582== by 0x13A437B9: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4146)
==5582== by 0x41AE835: UnknownInlinedFun (qobjectdefs.h:306)
==5582== by 0x41AE835: UnknownInlinedFun (moc_twintablemember.cpp:162)
==5582== by 0x41AE835: TwinTableMember::handleContextMenuRequest(QPoint
const&) (twintablemember.cpp:160)
==5582== by 0x13A437B9: call (qobjectdefs_impl.h:461)
==5582== by 0x13A437B9: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4146)
==5582== by 0x117CF631: activate<void, QPoint> (qobjectdefs.h:306)
==5582== by 0x117CF631: QWidget::customContextMenuRequested(QPoint const&)
(moc_qwidget.cpp:603)
==5582== by 0x117F39C1: QWidget::event(QEvent*) (qwidget.cpp:9174)
==5582== by 0x1184D0F5: QFrame::event(QEvent*) (qframe.cpp:521)
==5582== by 0x139D7CA9:
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
(qcoreapplication.cpp:1243)
==5582== by 0x1178996E: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3297)
==5582== by 0x117954CA: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:2921)
==5582== by 0x139D7F37: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1106)
==5582== Address 0x10 is not stack'd, malloc'd or (recently) free'd
==5582==
==5582==
==5582== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==5582== at 0x1437709C: __pthread_kill_implementation (pthread_kill.c:44)
==5582== by 0x1431DA7D: raise (raise.c:26)
==5582== by 0x110FF532: KCrash::defaultCrashHandler(int) (in
/usr/lib64/libKF6Crash.so.6.16.0)
==5582== by 0x1431DBAF: ??? (in /usr/lib64/libc.so.6)
==5582== by 0x1122323D: KXMLGUIFactory::container(QString const&,
KXMLGUIClient*, bool) (kxmlguifactory.cpp:449)
==5582== by 0x41AED7F: TwinTable::contextMenu(int, int, QPoint const&)
(twintable.cpp:325)
==5582== by 0x13A437B9: call (qobjectdefs_impl.h:461)
==5582== by 0x13A437B9: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4146)
==5582== by 0x41AE835: UnknownInlinedFun (qobjectdefs.h:306)
==5582== by 0x41AE835: UnknownInlinedFun (moc_twintablemember.cpp:162)
==5582== by 0x41AE835: TwinTableMember::handleContextMenuRequest(QPoint
const&) (twintablemember.cpp:160)
==5582== by 0x13A437B9: call (qobjectdefs_impl.h:461)
==5582== by 0x13A437B9: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4146)
==5582== by 0x117CF631: activate<void, QPoint> (qobjectdefs.h:306)
==5582== by 0x117CF631: QWidget::customContextMenuRequested(QPoint const&)
(moc_qwidget.cpp:603)
==5582== by 0x117F39C1: QWidget::event(QEvent*) (qwidget.cpp:9174)
==5582== by 0x1184D0F5: QFrame::event(QEvent*) (qframe.cpp:521)
==5582==
In another normal RKWard run, I created a new data.frame as above, wrote the
letter a in the R console, selected the a, right-clicked on it, then selected
Copy selection literally in the context menu. RKWard crashed with the same type
of trace. So the problem can happen with copying and pasting.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the rkward-devel
mailing list