Bug 294859 - KDevelop crashes at the startup
Summary: KDevelop crashes at the startup
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 296081 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-26 12:04 UTC by Alexey Stukalov
Modified: 2012-07-06 16:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.14 KB, text/plain)
2012-02-26 12:18 UTC, Alexey Stukalov
Details
New crash information added by DrKonqi (6.14 KB, text/plain)
2012-02-26 12:18 UTC, Alexey Stukalov
Details
New crash information added by DrKonqi (6.14 KB, text/plain)
2012-02-26 12:18 UTC, Alexey Stukalov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Stukalov 2012-02-26 12:04:05 UTC
Application: kdevelop (4.2.90)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.7-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
just started Kdevelop after an upgrade from 4.2.82 to 4.2.90,
it crashes every time.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb2af740780 (LWP 5754))]

Thread 5 (Thread 0x7fb294492700 (LWP 5759)):
#0  0x00007fb2ac5d6d81 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb2adbcb1af in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb2aa117fbb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1d52980) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/language/duchain/duchain.cpp:282
#3  0x00007fb2adbcad3b in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb2ac5d2daa in start_thread () from /lib/libpthread.so.0
#5  0x00007fb2ac8c955d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb282f54700 (LWP 5762)):
#0  0x00007fb2ac5d4ce4 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007fb2a7326e2c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fb2a7327289 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fb2adcf7126 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fb2adcc6e52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb2adcc70a7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb2adbc7d17 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb2adbcad3b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb2ac5d2daa in start_thread () from /lib/libpthread.so.0
#9  0x00007fb2ac8c955d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb282753700 (LWP 5763)):
#0  0x00007fb2ac8c1643 in poll () from /lib/libc.so.6
#1  0x00007fb2a7326dc8 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fb2a7327289 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fb2adcf7126 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fb2adcc6e52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb2adcc70a7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb2adbc7d17 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb2adbcad3b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb2ac5d2daa in start_thread () from /lib/libpthread.so.0
#9  0x00007fb2ac8c955d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb27bfff700 (LWP 5768)):
#0  0x00007fb2ac5d6a14 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb296b3b212 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007fb296b3b249 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007fb2ac5d2daa in start_thread () from /lib/libpthread.so.0
#4  0x00007fb2ac8c955d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb2af740780 (LWP 5754)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fb2aebc03a1 in KDevelop::WorkingSet::loadToArea (this=<optimized out>, area=0xb065b0, areaIndex=0xb060f0, setGroup=<incomplete type>, areaGroup=<incomplete type>, recycle=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:267
#8  0x00007fb2aebc105b in KDevelop::WorkingSet::loadToArea (this=0x1d4cf50, area=0xb065b0, areaIndex=0xb060f0) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:196
#9  0x00007fb2aebbb76d in KDevelop::WorkingSetController::changedWorkingSet (this=0xabcf40, area=0xb065b0, from=..., to=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsetcontroller.cpp:302
#10 0x00007fb2adcdbf11 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007fb2a9e3994c in Sublime::Area::changedWorkingSet (this=<optimized out>, _t1=0xb065b0, _t2=..., _t3=...) at /home/astukalov/build/kdevplatform/src/build/sublime/area.moc:185
#12 0x00007fb2a9e39a79 in Sublime::Area::setWorkingSet (this=0xb065b0, name=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/sublime/area.cpp:417
#13 0x00007fb2a9e3c983 in Sublime::Area::load (this=0xb065b0, group=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/sublime/area.cpp:349
#14 0x00007fb2aebdeed4 in KDevelop::UiController::loadArea (this=<optimized out>, area=0xb065b0, group=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/uicontroller.cpp:427
#15 0x00007fb2aebe0fae in KDevelop::UiController::loadAllAreas (this=0xabd360, config=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/uicontroller.cpp:519
#16 0x00007fb2aebdcca6 in KDevelop::CorePrivate::initialize (this=0xa35250, mode=<optimized out>, session=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/core.cpp:239
#17 0x00007fb2aebddff6 in KDevelop::Core::initialize (splash=0xaa87c0, mode=KDevelop::Core::Default, session=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/core.cpp:290
#18 0x0000000000409181 in main (argc=<optimized out>, argv=<optimized out>) at /home/astukalov/build/kdevelop/src/kdevelop-4.2.90/app/main.cpp:358

Possible duplicates by query: bug 286281, bug 256602, bug 255956.

Reported using DrKonqi
Comment 1 Alexey Stukalov 2012-02-26 12:14:35 UTC
This crash also happens after I press 'OK' to 'KDevelop crashed twice, do you want to clear the cache?' dialog box.
Comment 2 Alexey Stukalov 2012-02-26 12:18:15 UTC
Created attachment 69102 [details]
New crash information added by DrKonqi

kdevelop (4.2.90) on KDE Platform 4.8.00 (4.8.0 using Qt 4.8.0

This crash also happens after I press 'OK' to 'KDevelop crashed twice, do you want to clear the cache?' dialog box.

-- Backtrace (Reduced):
#6  0x00007f93ecf5739b in KDevelop::WorkingSet::loadToArea (this=<optimized out>, area=0x1be80a0, areaIndex=0x1be17c0, setGroup=<incomplete type>, areaGroup=<incomplete type>, recycle=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:267
#7  0x00007f93ecf5805b in KDevelop::WorkingSet::loadToArea (this=0x2e239d0, area=0x1be80a0, areaIndex=0x1be17c0) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:196
#8  0x00007f93ecf5276d in KDevelop::WorkingSetController::changedWorkingSet (this=0x1b9d1e0, area=0x1be80a0, from=..., to=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsetcontroller.cpp:302
[...]
#10 0x00007f93e81d094c in Sublime::Area::changedWorkingSet (this=<optimized out>, _t1=0x1be80a0, _t2=..., _t3=...) at /home/astukalov/build/kdevplatform/src/build/sublime/area.moc:185
#11 0x00007f93e81d0a79 in Sublime::Area::setWorkingSet (this=0x1be80a0, name=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/sublime/area.cpp:417
Comment 3 Alexey Stukalov 2012-02-26 12:18:17 UTC
Created attachment 69103 [details]
New crash information added by DrKonqi

kdevelop (4.2.90) on KDE Platform 4.8.00 (4.8.0 using Qt 4.8.0

This crash also happens after I press 'OK' to 'KDevelop crashed twice, do you want to clear the cache?' dialog box.

-- Backtrace (Reduced):
#6  0x00007f93ecf5739b in KDevelop::WorkingSet::loadToArea (this=<optimized out>, area=0x1be80a0, areaIndex=0x1be17c0, setGroup=<incomplete type>, areaGroup=<incomplete type>, recycle=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:267
#7  0x00007f93ecf5805b in KDevelop::WorkingSet::loadToArea (this=0x2e239d0, area=0x1be80a0, areaIndex=0x1be17c0) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:196
#8  0x00007f93ecf5276d in KDevelop::WorkingSetController::changedWorkingSet (this=0x1b9d1e0, area=0x1be80a0, from=..., to=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsetcontroller.cpp:302
[...]
#10 0x00007f93e81d094c in Sublime::Area::changedWorkingSet (this=<optimized out>, _t1=0x1be80a0, _t2=..., _t3=...) at /home/astukalov/build/kdevplatform/src/build/sublime/area.moc:185
#11 0x00007f93e81d0a79 in Sublime::Area::setWorkingSet (this=0x1be80a0, name=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/sublime/area.cpp:417
Comment 4 Alexey Stukalov 2012-02-26 12:18:18 UTC
Created attachment 69104 [details]
New crash information added by DrKonqi

kdevelop (4.2.90) on KDE Platform 4.8.00 (4.8.0 using Qt 4.8.0

This crash also happens after I press 'OK' to 'KDevelop crashed twice, do you want to clear the cache?' dialog box.

-- Backtrace (Reduced):
#6  0x00007f93ecf5739b in KDevelop::WorkingSet::loadToArea (this=<optimized out>, area=0x1be80a0, areaIndex=0x1be17c0, setGroup=<incomplete type>, areaGroup=<incomplete type>, recycle=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:267
#7  0x00007f93ecf5805b in KDevelop::WorkingSet::loadToArea (this=0x2e239d0, area=0x1be80a0, areaIndex=0x1be17c0) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsets/workingset.cpp:196
#8  0x00007f93ecf5276d in KDevelop::WorkingSetController::changedWorkingSet (this=0x1b9d1e0, area=0x1be80a0, from=..., to=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/shell/workingsetcontroller.cpp:302
[...]
#10 0x00007f93e81d094c in Sublime::Area::changedWorkingSet (this=<optimized out>, _t1=0x1be80a0, _t2=..., _t3=...) at /home/astukalov/build/kdevplatform/src/build/sublime/area.moc:185
#11 0x00007f93e81d0a79 in Sublime::Area::setWorkingSet (this=0x1be80a0, name=...) at /home/astukalov/build/kdevplatform/src/kdevplatform-1.2.90/sublime/area.cpp:417
Comment 5 Alexey Stukalov 2012-02-26 12:22:30 UTC
sorry for spamming with crash reports, that's because DrKonqi was reporting 'error connecting to bugs.kde.org'
Comment 6 Alexey Stukalov 2012-02-26 12:38:20 UTC
This seems to be related with the 4.2.82 session I had. When I start the new session Kdevelop starts ok. When I switch to the old one in the initialized Kdevelop, it crashes.
Comment 7 Milian Wolff 2012-02-26 20:28:32 UTC
should be fixed in 1.3 / for final - could you try to compile the code there, or include this patch locally:

commits.kde.org/kdevplatform/4d223ea27efd8ffdd2ea958964b652a38ce0a646
Comment 8 Alexey Stukalov 2012-03-08 21:59:09 UTC
tried the tip of 1.3/4.3 -- I can confirm it no longer crashes. Thank you
Comment 9 Jekyll Wu 2012-07-06 16:00:25 UTC
*** Bug 296081 has been marked as a duplicate of this bug. ***