Bug 308270 - KDevelop crashes when editing
Summary: KDevelop crashes when editing
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.3.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-10-12 03:48 UTC by Minh Pham
Modified: 2018-10-27 02:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Minh Pham 2012-10-12 03:48:38 UTC
Application: kdevelop (4.3.1)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-31-generic i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was running a compiled application using make check (Makefile generated by Automake), while editing a source file (not used to generate the same application).
Then KDevelop crashes.

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

Thread 12 (Thread 0xb498db40 (LWP 8446)):
#0  0x004cedc8 in __pthread_mutex_lock (mutex=0x9901c70) at pthread_mutex_lock.c:92
#1  0x003dba74 in pthread_mutex_lock (mutex=0x9901c70) at forward.c:182
#2  0x015983d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x015581c9 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01558f58 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0155956b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x03e3c134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#7  0x0157c6b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x004ccd4c in start_thread (arg=0xb498db40) at pthread_create.c:308
#9  0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb3fffb40 (LWP 8447)):
#0  0x00fef416 in __kernel_vsyscall ()
#1  0x003bf800 in __GI___poll (fds=0xb3602398, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x01566a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x015590ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0155956b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x08f9c1ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x0157c6b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x004ccd4c in start_thread (arg=0xb3fffb40) at pthread_create.c:308
#8  0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xafd00b40 (LWP 8466)):
#0  0x00fef416 in __kernel_vsyscall ()
#1  0x004d0d13 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x003db8b4 in __pthread_cond_timedwait (cond=0x9d670a8, mutex=0x9d67090, abstime=0xafd00268) at forward.c:152
#3  0x00c512df in wait (time=1000, this=0x9d67090) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0x9d5147c, mutex=0x9d51480, time=1000) at thread/qwaitcondition_unix.cpp:158
#5  0x088369fa in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9d51470) at ../../language/duchain/duchain.cpp:282
#6  0x00c50de0 in QThreadPrivate::start (arg=0x9d51470) at thread/qthread_unix.cpp:298
#7  0x004ccd4c in start_thread (arg=0xafd00b40) at pthread_create.c:308
#8  0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xaecfdb40 (LWP 8468)):
#0  0x00fef416 in __kernel_vsyscall ()
#1  0x004d096b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x003db85c in __pthread_cond_wait (cond=0x486b890, mutex=0x486b878) at forward.c:139
#3  0x04767029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x0476706f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x004ccd4c in start_thread (arg=0xaecfdb40) at pthread_create.c:308
#6  0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xadf7fb40 (LWP 8469)):
#0  0x015278b7 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0a2be6a0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xac98bb40 (LWP 8706)):
#0  0x00fef416 in __kernel_vsyscall ()
#1  0x004d096b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x003db85c in __pthread_cond_wait (cond=0xb7717a30, mutex=0xb7717a18) at forward.c:139
#3  0xb6fe6263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb6fe637f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x004ccd4c in start_thread (arg=0xac98bb40) at pthread_create.c:308
#6  0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xad18cb40 (LWP 8716)):
#0  0x00fef416 in __kernel_vsyscall ()
#1  0x003bf800 in __GI___poll (fds=0xa723c10, nfds=1, timeout=1560) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x01566a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x015590ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01559201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00d988e7 in QEventDispatcherGlib::processEvents (this=0xa724558, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00d6450d in QEventLoop::processEvents (this=0xad18c270, flags=...) at kernel/qeventloop.cpp:149
#7  0x00d647a9 in QEventLoop::exec (this=0xad18c270, flags=...) at kernel/qeventloop.cpp:204
#8  0x00c4d94c in QThread::exec (this=0xa724878) at thread/qthread.cpp:501
#9  0x00c4da3b in QThread::run (this=0xa724878) at thread/qthread.cpp:568
#10 0x00c50de0 in QThreadPrivate::start (arg=0xa724878) at thread/qthread_unix.cpp:298
#11 0x004ccd4c in start_thread (arg=0xad18cb40) at pthread_create.c:308
#12 0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb35ffb40 (LWP 8756)):
#0  0x003dbab4 in pthread_mutex_unlock (mutex=0xae4eb30) at forward.c:184
#1  0x01598410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x01558865 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01558faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01559201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00d988e7 in QEventDispatcherGlib::processEvents (this=0xadbd6c8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00d6450d in QEventLoop::processEvents (this=0xb35ff260, flags=...) at kernel/qeventloop.cpp:149
#7  0x00d647a9 in QEventLoop::exec (this=0xb35ff260, flags=...) at kernel/qeventloop.cpp:204
#8  0x00c4d94c in QThread::exec (this=0xab00c60) at thread/qthread.cpp:501
#9  0x08939d16 in KDevelop::CompletionWorkerThread::run (this=0xab00c60) at ../../language/codecompletion/codecompletionmodel.cpp:84
#10 0x00c50de0 in QThreadPrivate::start (arg=0xab00c60) at thread/qthread_unix.cpp:298
#11 0x004ccd4c in start_thread (arg=0xb35ffb40) at pthread_create.c:308
#12 0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa1748b40 (LWP 8757)):
#0  0x004cedc8 in __pthread_mutex_lock (mutex=0xb3624f60) at pthread_mutex_lock.c:92
#1  0x003dba74 in pthread_mutex_lock (mutex=0xb3624f60) at forward.c:182
#2  0x015983d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01558958 in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0155900e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01559201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x00d988e7 in QEventDispatcherGlib::processEvents (this=0xb361c558, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00d6450d in QEventLoop::processEvents (this=0xa1748260, flags=...) at kernel/qeventloop.cpp:149
#8  0x00d647a9 in QEventLoop::exec (this=0xa1748260, flags=...) at kernel/qeventloop.cpp:204
#9  0x00c4d94c in QThread::exec (this=0xae58400) at thread/qthread.cpp:501
#10 0x08939d16 in KDevelop::CompletionWorkerThread::run (this=0xae58400) at ../../language/codecompletion/codecompletionmodel.cpp:84
#11 0x00c50de0 in QThreadPrivate::start (arg=0xae58400) at thread/qthread_unix.cpp:298
#12 0x004ccd4c in start_thread (arg=0xa1748b40) at pthread_create.c:308
#13 0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa021cb40 (LWP 8768)):
#0  0x00fef416 in __kernel_vsyscall ()
#1  0x004d096b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x003db85c in __pthread_cond_wait (cond=0x9c7dc38, mutex=0x9c7dc20) at forward.c:139
#3  0x00c51350 in wait (time=4294967295, this=0x9c7dc20) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9c7db98, mutex=0x9c3b530, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0149bacc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c7db80, th=0xaf3fda0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0149e95b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9bf7a00, th=0xaf3fda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0149b63a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c7db80, th=0xaf3fda0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0149ea5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bf7a00, th=0xaf3fda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x0149b533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c7db80, th=0xaf3fda0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0149ea78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bf7a00, th=0xaf3fda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x0149b533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c7db80, th=0xaf3fda0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x0149ea78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bf7a00, th=0xaf3fda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x0149b533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c7db80, th=0xaf3fda0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x0149ea78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bf7a00, th=0xaf3fda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x0149b533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c7db80, th=0xaf3fda0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x0149ea78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bf7a00, th=0xaf3fda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#17 0x0149b533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c7db80, th=0xaf3fda0, previous=0xa2231f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#18 0x0149d4e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa021c2a4, parent=0x9c7db80, th=0xaf3fda0) at ../../../threadweaver/Weaver/Thread.cpp:87
#19 0x0149d59a in ThreadWeaver::Thread::run (this=0xaf3fda0) at ../../../threadweaver/Weaver/Thread.cpp:142
#20 0x00c50de0 in QThreadPrivate::start (arg=0xaf3fda0) at thread/qthread_unix.cpp:298
#21 0x004ccd4c in start_thread (arg=0xa021cb40) at pthread_create.c:308
#22 0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0x9fa1bb40 (LWP 8769)):
#0  0x00fef416 in __kernel_vsyscall ()
#1  0x004d096b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x003db85c in __pthread_cond_wait (cond=0x9c7dc38, mutex=0x9c7dc20) at forward.c:139
#3  0x00c51350 in wait (time=4294967295, this=0x9c7dc20) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9c7db98, mutex=0x9c3b530, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0149bacc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c7db80, th=0xb400a108) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0149e95b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9bf7a00, th=0xb400a108) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0149b63a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c7db80, th=0xb400a108) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0149ea5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bf7a00, th=0xb400a108) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x0149b533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c7db80, th=0xb400a108, previous=0xb8aec58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0149d4e4 in ThreadWeaver::ThreadRunHelper::run (this=0x9fa1b2a4, parent=0x9c7db80, th=0xb400a108) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x0149d59a in ThreadWeaver::Thread::run (this=0xb400a108) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00c50de0 in QThreadPrivate::start (arg=0xb400a108) at thread/qthread_unix.cpp:298
#13 0x004ccd4c in start_thread (arg=0x9fa1bb40) at pthread_create.c:308
#14 0x003cdf4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5dbc740 (LWP 8443)):
[KCrash Handler]
#7  QObject::~QObject (this=0xb77e738, __in_chrg=<optimized out>) at kernel/qobject.cpp:918
#8  0x0076da3e in KDevelop::ProgressItem::~ProgressItem (this=0xb77e738, __in_chrg=<optimized out>) at ../../shell/progressmanager.cpp:43
#9  0x0076da82 in KDevelop::ProgressItem::~ProgressItem (this=0xb77e738, __in_chrg=<optimized out>) at ../../shell/progressmanager.cpp:45
#10 0x00d79d03 in qDeleteInEventHandler (o=0xb77e738) at kernel/qobject.cpp:4277
#11 0x00d80ca8 in QObject::event (this=0xb77e738, e=0xa2839a8) at kernel/qobject.cpp:1176
#12 0x03419ed4 in notify_helper (e=0xa2839a8, receiver=0xb77e738, this=0x98b52b8) at kernel/qapplication.cpp:4559
#13 QApplicationPrivate::notify_helper (this=0x98b52b8, receiver=0xb77e738, e=0xa2839a8) at kernel/qapplication.cpp:4531
#14 0x0341f30d in QApplication::notify (this=0xa2839a8, receiver=0xb77e738, e=0xa2839a8) at kernel/qapplication.cpp:4288
#15 0x011dce01 in KApplication::notify (this=0xbfaa6984, receiver=0xb77e738, event=0xa2839a8) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00d6597e in QCoreApplication::notifyInternal (this=0xbfaa6984, receiver=0xb77e738, event=0xa2839a8) at kernel/qcoreapplication.cpp:876
#17 0x00d69ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x988d370) at kernel/qcoreapplication.cpp:1500
#19 0x00d69e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#20 0x00d98494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#21 postEventSourceDispatch (s=0x98b3828) at kernel/qeventdispatcher_glib.cpp:279
#22 0x01558d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#23 0x01559125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0x01559201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0x00d98887 in QEventDispatcherGlib::processEvents (this=0x988def0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#26 0x034d2aaa in QGuiEventDispatcherGlib::processEvents (this=0x988def0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00d6450d in QEventLoop::processEvents (this=0xbfaa6794, flags=...) at kernel/qeventloop.cpp:149
#28 0x00d647a9 in QEventLoop::exec (this=0xbfaa6794, flags=...) at kernel/qeventloop.cpp:204
#29 0x00d69eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#30 0x03417a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#31 0x0805119f in ?? ()
#32 0x002f84d3 in __libc_start_main (main=0x804ba70, argc=1, ubp_av=0xbfaa71e4, init=0x80531c0 <__libc_csu_init>, fini=0x8053230 <__libc_csu_fini>, rtld_fini=0x58a270 <_dl_fini>, stack_end=0xbfaa71dc) at libc-start.c:226
#33 0x08051991 in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2012-10-12 08:54:16 UTC
if this is reproducible, please run it through valgrind:

valgrind --track-origins=yes --num-callers=25 kdevelop ...
Comment 2 Milian Wolff 2013-01-13 19:35:18 UTC
waiting for info - I cannot reproduce this
Comment 3 Andrew Crouthamel 2018-09-24 02:10:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:42:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!