https://bugs.kde.org/show_bug.cgi?id=455533

            Bug ID: 455533
           Summary: Kdevelop crashes upon exit
           Product: kdevelop
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: sigbjorn.hel...@gmail.com
  Target Milestone: ---

Application: kdevelop (5.8.220402 (22.04.2))

Qt Version: 5.15.4
Frameworks Version: 5.95.0
Operating System: Linux 5.18.5-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.25.0 [KCrashBackend]

-- Information about the crash:
Unfortunately not a simple repeatable case.
I have tried plain simple projects, and it works perfectly.
I have also tried clearing out the cache to have a clean start (no effect).
The case that triggers the error require to open a mid-size project, open
source, 
available at gitlab.com/shyft/shyft-os.

Usual workflow
(1) start kdevelop on a midsize cmake project (gitlab.com/shyft-os/shyft)
(2) Switch language to c++17 mode, use gcc for compiler includes.
(3) let kdevelop parse and finish doing that (will take a while).
(4) When all processes are finished, try to just exit kdevelop.

Expected outcome: a nice close of the app.
My outcome: crash.

Other info:
Working with the project works nice, excellent tool for advanced c++ 
programming, with high precision on symbol lookups and usage.
The crash occurs at the exit of the application , every time.

I have also experienced similar crash when fetching/changing cmake files from
git repo? 
The backtrace shows cmake project handler, so that might be a clue?
I am also working on fedora 35, and fedora 36, getting same issues there.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f8180000001 in  ()
#5  0x00007f81bb18e2d4 in  () at
/usr/lib/qt/plugins/kdevplatform/36/kdevcmakemanager.so
#6  0x00007f81bb17caad in  () at
/usr/lib/qt/plugins/kdevplatform/36/kdevcmakemanager.so
#7  0x00007f81fc4be251 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f81fdf35867 in
KDevelop::IProjectController::projectClosing(KDevelop::IProject*) () at
/usr/lib/libKDevPlatformInterfaces.so.58
#9  0x00007f81fe043ada in
KDevelop::ProjectController::takeProject(KDevelop::IProject*) () at
/usr/lib/libKDevPlatformShell.so.58
#10 0x00007f81fe045686 in KDevelop::ProjectController::closeAllProjects() () at
/usr/lib/libKDevPlatformShell.so.58
#11 0x00007f81fe035c18 in KDevelop::Core::cleanup() () at
/usr/lib/libKDevPlatformShell.so.58
#12 0x00007f81fe03650d in KDevelop::Core::shutdown() () at
/usr/lib/libKDevPlatformShell.so.58
#13 0x00007f81fe016e5a in KDevelop::MainWindow::~MainWindow() () at
/usr/lib/libKDevPlatformShell.so.58
#14 0x00007f81fe016ebe in KDevelop::MainWindow::~MainWindow() () at
/usr/lib/libKDevPlatformShell.so.58
#15 0x00007f81fc4b125a in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#16 0x00007f81fc10316e in KXmlGuiWindow::event(QEvent*) () at
/usr/lib/libKF5XmlGui.so.5
#17 0x00007f81fd178a7c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#18 0x00007f81fc48db28 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#19 0x00007f81fc48e623 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f81fc4d4448 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f81f8e6fc6b in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#22 0x00007f81f8ec6001 in  () at /usr/lib/libglib-2.0.so.0
#23 0x00007f81f8e6d392 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#24 0x00007f81fc4d827c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#25 0x00007f81fc4862ec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#26 0x00007f81fc490dd9 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#27 0x000055b929434cc8 in  ()
#28 0x00007f81fba29290 in  () at /usr/lib/libc.so.6
#29 0x00007f81fba2934a in __libc_start_main () at /usr/lib/libc.so.6
#30 0x000055b929435895 in  ()
[Inferior 1 (process 2610) detached]

The reporter indicates this bug may be a duplicate of or related to bug 204624,
bug 218094, bug 219583, bug 236501, bug 252656, bug 269809, bug 396347, bug
427378, bug 441893.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to