Bug 453773 - KDevelop crashes while going on symbol information/go to definition
Summary: KDevelop crashes while going on symbol information/go to definition
Status: RESOLVED DUPLICATE of bug 447740
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-14 11:17 UTC by admin
Modified: 2022-12-01 06:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description admin 2022-05-14 11:17:06 UTC
Application: kdevelop (5.7.211203 (21.12.3))

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.17.0-pf3-xkmod x86_64
Windowing System: X11
Distribution: "Gentoo Base System release 2.7"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
KDevelop crashes while going on symbol information/go to definition, I can reproduce only sometimes but not in a stable, meaningful way, though it sometimes crashes after KDevelop has been opened for a while.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x0000774630ac536c in QAccessibleObject::object() const () at /usr/lib64/libQt5Gui.so.5
#5  0x000077463144e45a in QAccessibleWidget::isValid() const () at /usr/lib64/libQt5Widgets.so.5
#6  0x0000774630ac3234 in QAccessibleEvent::accessibleInterface() const () at /usr/lib64/libQt5Gui.so.5
#7  0x0000774630abe5ed in QAccessible::updateAccessibility(QAccessibleEvent*) () at /usr/lib64/libQt5Gui.so.5
#8  0x000077462e985ccd in KateViewInternal::cursorMoved() () at /usr/lib64/libKF5TextEditor.so.5
#9  0x000077462e98c24b in KateViewInternal::updateCursor(KTextEditor::Cursor, bool, bool, bool) () at /usr/lib64/libKF5TextEditor.so.5
#10 0x000077462e96b7b1 in KTextEditor::ViewPrivate::setCursorPositionInternal(KTextEditor::Cursor, unsigned int, bool) () at /usr/lib64/libKF5TextEditor.so.5
#11 0x0000774631e075db in KDevelop::selectAndReveal(KTextEditor::View*, KTextEditor::Range const&) () at /usr/lib64/libKDevPlatformShell.so.57
#12 0x0000774631e07d33 in KDevelop::TextDocument::setCursorPosition(KTextEditor::Cursor const&) () at /usr/lib64/libKDevPlatformShell.so.57
#13 0x0000774631e15cc4 in KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) () at /usr/lib64/libKDevPlatformShell.so.57
#14 0x0000774631e16e26 in KDevelop::DocumentControllerPrivate::openDocumentInternal(QUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) () at /usr/lib64/libKDevPlatformShell.so.57
#15 0x0000774631e13be3 in KDevelop::DocumentController::openDocument(QUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&, KDevelop::IDocument*) () at /usr/lib64/libKDevPlatformShell.so.57
#16 0x0000774631ccf05a in KDevelop::IDocumentController::openDocument(QUrl const&, KTextEditor::Cursor const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&) () at /usr/lib64/libKDevPlatformInterfaces.so.57
#17 0x0000774631cc9e50 in KDevelop::IDocumentController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libKDevPlatformInterfaces.so.57
#18 0x000077463060789e in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007746311fd63f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007746305dd0b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007746305e0575 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#22 0x000077463062d693 in  () at /usr/lib64/libQt5Core.so.5
#23 0x000077462ccfeb1b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#24 0x000077462ccfedc8 in  () at /usr/lib64/libglib-2.0.so.0
#25 0x000077462ccfee7f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#26 0x000077463062d146 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007746305dbb43 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007746305e3e60 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#29 0x00006259eb856547 in main ()
[Inferior 1 (process 23843) detached]

Possible duplicates by query: bug 453684, bug 451041, bug 449294, bug 448885, bug 446487.

Reported using DrKonqi
Comment 1 Igor Kushnir 2022-05-14 12:34:25 UTC
The backtrace is very similar to the one in Bug 453684 you have reported earlier. Two likely causes:
1. Something related to accessibility is broken on your system.
2. A KTextEditor bug, possibly regression, related to accessibility.
Comment 2 admin 2022-05-14 12:55:03 UTC
(In reply to Igor Kushnir from comment #1)
> The backtrace is very similar to the one in Bug 453684 you have reported
> earlier. Two likely causes:
> 1. Something related to accessibility is broken on your system.
> 2. A KTextEditor bug, possibly regression, related to accessibility.

Makes sense that Qt could be also the problem here, I could try to see if some issues/bugs is known related to accessibility in Qt, how ever I don't seem to crash with others applications that uses these classes. Though, I could try to see what's going on with more debugging and looking online, see if there's people having these accessibility issues.
Comment 3 Igor Kushnir 2022-05-14 12:56:14 UTC
This crash is common in KDevelop: https://bugs.kde.org/buglist.cgi?quicksearch=QAccessible%3A%3AupdateAccessibility&list_id=2061194. But Dolphin seems to be affected too.
Comment 4 Igor Kushnir 2022-12-01 06:59:05 UTC

*** This bug has been marked as a duplicate of bug 447740 ***