Bug 457365 - KDevelop crashes when it invokes files that are owned by the superuser.
Summary: KDevelop crashes when it invokes files that are owned by the superuser.
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.7.211202
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-01 09:44 UTC by Roke Julian Lockhart Beedell
Modified: 2024-04-19 19:35 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (2.25 KB, text/plain)
2022-08-01 09:47 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-08-01 09:44:57 UTC
Application: kdevelop (5.7.211202 (21.12.2))

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.13-200.fc36.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora release 36 (Thirty Six)"
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
kdevelop crashes when it invokes files that are owned by the superuser.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f886daf9229 in Kasten::ByteArrayView::init() () from /lib64/libKasten4Okteta2Gui.so.0
#5  0x00007f886dafd137 in Kasten::ByteArrayView::ByteArrayView(Kasten::ByteArrayDocument*, Kasten::ByteArrayViewProfileSynchronizer*) () from /lib64/libKasten4Okteta2Gui.so.0
#6  0x00007f886df7f1b5 in KDevelop::OktetaDocument::newView(Sublime::Document*) () from /usr/lib64/qt5/plugins/kdevplatform/35/kdevokteta.so
#7  0x00007f88edc9a91d in Sublime::Document::createView() () from /lib64/libKDevPlatformSublime.so.57
#8  0x00007f88f100d75a in KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) () from /lib64/libKDevPlatformShell.so.57
#9  0x00007f88f1009115 in KDevelop::DocumentControllerPrivate::openDocumentInternal(QUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) () from /lib64/libKDevPlatformShell.so.57
#10 0x00007f88f10107ae in QtPrivate::QFunctorSlotObject<KDevelop::DocumentController::setupActions()::{lambda()#3}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /lib64/libKDevPlatformShell.so.57
#11 0x00007f88ef71e8c6 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007f88f039c2e6 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#13 0x00007f88f039efc3 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#14 0x00007f88f0528fb2 in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#15 0x00007f88f0530e8c in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#16 0x00007f88f03e5828 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f88f03a2d22 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f88f03ab392 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f88ef6eb228 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f88f03a9492 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#21 0x00007f88f03fefe5 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007f88f0401f50 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007f88f03a2d22 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f88ef6eb228 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#25 0x00007f88efc2adf5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#26 0x00007f88efc09fbc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#27 0x00007f88d7581e4e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#28 0x00007f88ebcc1faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x00007f88ebd172c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#30 0x00007f88ebcbf940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x00007f88ef73bf5a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007f88ef6e9c7a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#33 0x00007f88ef6f1d42 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#34 0x0000557620c873d5 in main ()
[Inferior 1 (process 253727) detached]

Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2022-08-01 09:47:26 UTC
Created attachment 151045 [details]
New crash information added by DrKonqi

kdevelop (5.7.211202 (21.12.2)) using Qt 5.15.5

This time, I attempted to invoke kdevelop via dolphin rather than via its file-picker. The backtrace was slightly different, so I thought it worth uploading.

-- Backtrace (Reduced):
#4  0x00007fc98762d229 in Kasten::ByteArrayView::init() () from /lib64/libKasten4Okteta2Gui.so.0
#5  0x00007fc987631137 in Kasten::ByteArrayView::ByteArrayView(Kasten::ByteArrayDocument*, Kasten::ByteArrayViewProfileSynchronizer*) () from /lib64/libKasten4Okteta2Gui.so.0
#6  0x00007fc99c2bf1b5 in KDevelop::OktetaDocument::newView(Sublime::Document*) () from /usr/lib64/qt5/plugins/kdevplatform/35/kdevokteta.so
#7  0x00007fca0b7de91d in Sublime::Document::createView() () from /lib64/libKDevPlatformSublime.so.57
#8  0x00007fca0eb5175a in KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) () from /lib64/libKDevPlatformShell.so.57