Bug 319829 - KDevelop freezes after after some time analyzing projects
Summary: KDevelop freezes after after some time analyzing projects
Status: RESOLVED DUPLICATE of bug 355100
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 14:06 UTC by Leandro Santiago da Silva
Modified: 2015-11-14 17:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace from gdb (327.43 KB, text/plain)
2013-05-14 14:07 UTC, Leandro Santiago da Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro Santiago da Silva 2013-05-14 14:06:26 UTC
After I had got kdev* today (2013-05-14) from master branch, kdevelop started freezing when I open a cpp project I've been editing in kdevelop.

The whole interface freezes but it doesn't crash.

I also got a gdb backtrace from all the threads.

The packages and git commits I have installed:

kdevelop 7eb0b8156b78ea8e2f3960768701b325f48a4723
kdevelop-pg-qt 97e140477e7247ec8c823cdc54500b5691d9a896
kdev-php 60faa70b89dd5b11e8f5fb8da984c173a762a9ee
kdev-php-docs 32ee13c6c44931845f29e209f828d0daa90fcd80
kdevplatform c883b79e2a3654866f0c6ae4b75fe96402136533
kdev-qmljs 8a50e68b524b0c5924bbdb26ccce960282bede97

Reproducible: Always

Steps to Reproduce:
1. open kdevelop with some existing cpp project
2. wait it freezes. Here, in a medium size project (almost 40000 loc) it freezes at 39%
Actual Results:  
the interface freezes

Expected Results:  
A non-frozen interface
Comment 1 Leandro Santiago da Silva 2013-05-14 14:07:11 UTC
Created attachment 79884 [details]
backtrace from gdb
Comment 2 Leandro Santiago da Silva 2013-05-15 11:29:20 UTC
I really don't know if it matters, but now I tried to open kdevelop again and the output in terminal, with the ide being frozen, is:

$ kdevelop
WARNING: deleting stale lockfile /home/devstar22/.kde/share/apps/kdevelop/sessions/{0bfd4617-be84-451d-bde0-30e8300acf4c}/lock
WARNING: deleting stale lockfile /home/devstar22/.cache/kdevduchain/{0bfd4617-be84-451d-bde0-30e8300acf4c}/0/lock
kdevelop(10802)/kdevplatform (language) KDevelop::ItemRepositoryRegistry::open: version-hint not found, seems to be an old version 
kdevelop(10802)/kdevplatform (language) KDevelop::ItemRepositoryRegistry::open: "The data-repository at /home/devstar22/.cache/kdevduchain/{0bfd4617-be84-451d-bde0-30e8300acf4c}/0 has to be cleared." 
QObject::connect: Cannot connect (null)::dataChanged(QModelIndex,QModelIndex) to KDevelop::FramestackWidget::checkFetchMoreFrames()
QObject::connect: Cannot connect (null)::dataChanged(QModelIndex,QModelIndex) to KDevelop::FramestackWidget::checkFetchMoreFrames()
qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source"
kdevelop(10802)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from  "/home/devstar22/.kde/share/apps/kdevelop/sessions/{0bfd4617-be84-451d-bde0-30e8300acf4c}/recovery/current" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x4200013
kdevelop(10802)/kdevplatform (shell) KDevelop::RunController::registerJob: non-killable job KDevelop::ImportProjectJob(0x14ef6d0, name = "Project Import: captura") registered - this might lead to crashes on shutdown. 
kdevelop(10802)/konsole Konsole::Session::run: Attempted to re-run an already running session. 
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu 
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu 
kdevelop(10802)/kdevelop (cpp duchain) ContextBuilder::buildContexts: "/libraries-shared/include/boost/move/utility.hpp" Previous parameter declaration context didn't get used??
Comment 3 Leandro Santiago da Silva 2013-05-15 12:22:31 UTC
I've deleted my session info (~/.kde/share/apps/kdevelop/sessions) and restarted kdevelop and now it seems to be working fine.
Comment 4 Milian Wolff 2015-11-14 17:36:07 UTC

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