Bug 261267

Summary: Immediate crash when editing
Product: [Applications] kdevelop Reporter: Dancie Reeves <danny_reeves>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: investigated, triaged
Priority: NOR    
Version First Reported In: 4.1.0   
Target Milestone: 4.2.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dancie Reeves 2010-12-26 02:33:05 UTC
Application: kdevelop (4.1.0)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.1
Operating System: Linux 2.6.36.2 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
The first time I try to edit a file the program crashes. I have had this problem
before but only a few times a week. But now it crashes always. I have just done a large update in Fedora14.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7750780 (LWP 3137))]

Thread 11 (Thread 0xb734fb70 (LWP 3138)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x005dab06 in poll () from /lib/libc.so.6
#2  0x00782dac in g_poll (fds=0xb6a029c0, nfds=1, timeout=-1) at gpoll.c:132
#3  0x007728b7 in g_main_context_poll (context=0xa025540, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#4  g_main_context_iterate (context=0xa025540, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#5  0x0077304b in g_main_loop_run (loop=0xa0255c0) at gmain.c:2988
#6  0xb7454ed5 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:277
#7  0x0079bbd0 in g_thread_create_proxy (data=0xa0255d0) at gthread.c:1897
#8  0x006d7f19 in start_thread () from /lib/libpthread.so.0
#9  0x005e5c4e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb26eeb70 (LWP 3152)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x006dcd33 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0027f4e0 in wait (this=0xa33be14, mutex=0xa33be18, time=200000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0xa33be14, mutex=0xa33be18, time=200000) at thread/qwaitcondition_unix.cpp:160
#4  0x0748d1ed in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib/libkdevplatformlanguage.so.2
#5  0x0027ee6a in QThreadPrivate::start (arg=0xa33be08) at thread/qthread_unix.cpp:285
#6  0x006d7f19 in start_thread () from /lib/libpthread.so.0
#7  0x005e5c4e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb1edcb70 (LWP 3154)):
#0  0x0072a146 in clock_gettime () from /lib/librt.so.1
#1  0x002d64b9 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x003a5003 in updateCurrentTime (this=0xb6a03234, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb6a03234, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x003a3802 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1edc05c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x003a389d in timerSourcePrepare (source=0xb6a03200, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x007716b6 in g_main_context_prepare (context=<value optimized out>, priority=0xb1edc0cc) at gmain.c:2469
#8  0x0077255b in g_main_context_iterate (context=0xb6a03328, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#9  0x00772c35 in g_main_context_iteration (context=0xb6a03328, may_block=1) at gmain.c:2843
#10 0x003a4067 in QEventDispatcherGlib::processEvents (this=0xb6a02970, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x003754ca in QEventLoop::processEvents (this=0xb1edc220, flags=...) at kernel/qeventloop.cpp:149
#12 0x0037577a in QEventLoop::exec (this=0xb1edc220, flags=...) at kernel/qeventloop.cpp:201
#13 0x0027c36b in QThread::exec (this=0xa240eb8) at thread/qthread.cpp:490
#14 0x00356b4c in QInotifyFileSystemWatcherEngine::run (this=0xa240eb8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0027ee6a in QThreadPrivate::start (arg=0xa240eb8) at thread/qthread_unix.cpp:285
#16 0x006d7f19 in start_thread () from /lib/libpthread.so.0
#17 0x005e5c4e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb112ab70 (LWP 3156)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x006dc98b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0027f567 in wait (this=0xa240e00, mutex=0xa39f1b8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xa240e00, mutex=0xa39f1b8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x001f1fb1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa240de8, th=0xa39f1f0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x001f4cdd in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa39ed40, th=0xa39f1f0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x001f1bec in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa240de8, th=0xa39f1f0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x001f4dd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa39ed40, th=0xa39f1f0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x001f1b34 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa240de8, th=0xa39f1f0, previous=0xa2417f8) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x001f37b6 in ThreadWeaver::ThreadRunHelper::run (this=0xb112a284, parent=0xa240de8, th=0xa39f1f0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#10 0x001f387c in ThreadWeaver::Thread::run (this=0xa39f1f0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#11 0x0027ee6a in QThreadPrivate::start (arg=0xa39f1f0) at thread/qthread_unix.cpp:285
#12 0x006d7f19 in start_thread () from /lib/libpthread.so.0
#13 0x005e5c4e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xaf67ab70 (LWP 3195)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x005dab06 in poll () from /lib/libc.so.6
#2  0x00782dac in g_poll (fds=0xae5fffe8, nfds=1, timeout=-1) at gpoll.c:132
#3  0x007728b7 in g_main_context_poll (context=0xb6a1cb28, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#4  g_main_context_iterate (context=0xb6a1cb28, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#5  0x00772c35 in g_main_context_iteration (context=0xb6a1cb28, may_block=1) at gmain.c:2843
#6  0x003a4067 in QEventDispatcherGlib::processEvents (this=0xae41fd78, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x003754ca in QEventLoop::processEvents (this=0xaf67a250, flags=...) at kernel/qeventloop.cpp:149
#8  0x0037577a in QEventLoop::exec (this=0xaf67a250, flags=...) at kernel/qeventloop.cpp:201
#9  0x0027c36b in QThread::exec (this=0xa8a1130) at thread/qthread.cpp:490
#10 0x0759b9c9 in KDevelop::CompletionWorkerThread::run (this=0xa8a1130) at /usr/src/debug/kdevplatform-1.1.0/language/codecompletion/codecompletionmodel.cpp:81
#11 0x0027ee6a in QThreadPrivate::start (arg=0xa8a1130) at thread/qthread_unix.cpp:285
#12 0x006d7f19 in start_thread () from /lib/libpthread.so.0
#13 0x005e5c4e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xaee79b70 (LWP 3196)):
#0  0x007727bc in g_main_context_iterate (context=0xa891a08, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2758
#1  0x00772c35 in g_main_context_iteration (context=0xa891a08, may_block=1) at gmain.c:2843
#2  0x003a4067 in QEventDispatcherGlib::processEvents (this=0xa62e690, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#3  0x003754ca in QEventLoop::processEvents (this=0xaee79250, flags=...) at kernel/qeventloop.cpp:149
#4  0x0037577a in QEventLoop::exec (this=0xaee79250, flags=...) at kernel/qeventloop.cpp:201
#5  0x0027c36b in QThread::exec (this=0xa89cef0) at thread/qthread.cpp:490
#6  0x0759b9c9 in KDevelop::CompletionWorkerThread::run (this=0xa89cef0) at /usr/src/debug/kdevplatform-1.1.0/language/codecompletion/codecompletionmodel.cpp:81
#7  0x0027ee6a in QThreadPrivate::start (arg=0xa89cef0) at thread/qthread_unix.cpp:285
#8  0x006d7f19 in start_thread () from /lib/libpthread.so.0
#9  0x005e5c4e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xad1dab70 (LWP 3197)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x006dcd33 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0027ebdf in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:435
#3  0x0027ed34 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:461
#4  0xadb7938d in UIBlockTester::UIBlockTesterThread::run (this=0xa8b53d8) at /usr/src/debug/kdevelop-4.1.0/languages/cpp/cpplanguagesupport.cpp:678
#5  0x0027ee6a in QThreadPrivate::start (arg=0xa8b53d8) at thread/qthread_unix.cpp:285
#6  0x006d7f19 in start_thread () from /lib/libpthread.so.0
#7  0x005e5c4e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa395fb70 (LWP 3201)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x006dc98b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0027f567 in wait (this=0xa2c6dd0, mutex=0xa2b1078, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xa2c6dd0, mutex=0xa2b1078, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x001f1fb1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2c6db8, th=0xa8fb148) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x001f4cdd in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa2b0d08, th=0xa8fb148) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x001f1bec in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2c6db8, th=0xa8fb148) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x001f4dd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa2b0d08, th=0xa8fb148) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x001f1b34 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2c6db8, th=0xa8fb148, previous=0xa9088e8) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x001f37b6 in ThreadWeaver::ThreadRunHelper::run (this=0xa395f284, parent=0xa2c6db8, th=0xa8fb148) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#10 0x001f387c in ThreadWeaver::Thread::run (this=0xa8fb148) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#11 0x0027ee6a in QThreadPrivate::start (arg=0xa8fb148) at thread/qthread_unix.cpp:285
#12 0x006d7f19 in start_thread () from /lib/libpthread.so.0
#13 0x005e5c4e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa315eb70 (LWP 3202)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x006dc98b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0027f567 in wait (this=0xa2c6dd0, mutex=0xa2b1078, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xa2c6dd0, mutex=0xa2b1078, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x001f1fb1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2c6db8, th=0xb6a052a0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x001f4cdd in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa2b0d08, th=0xb6a052a0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x001f1bec in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2c6db8, th=0xb6a052a0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x001f4dd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa2b0d08, th=0xb6a052a0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x001f1b34 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2c6db8, th=0xb6a052a0, previous=0x0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x001f37b6 in ThreadWeaver::ThreadRunHelper::run (this=0xa315e284, parent=0xa2c6db8, th=0xb6a052a0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#10 0x001f387c in ThreadWeaver::Thread::run (this=0xb6a052a0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#11 0x0027ee6a in QThreadPrivate::start (arg=0xb6a052a0) at thread/qthread_unix.cpp:285
#12 0x006d7f19 in start_thread () from /lib/libpthread.so.0
#13 0x005e5c4e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa05ffb70 (LWP 3208)):
#0  0xb7791424 in __kernel_vsyscall ()
#1  0x006dc98b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x07ebf927 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd3f60) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0x07ebf972 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd3f60) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0x006d7f19 in start_thread () from /lib/libpthread.so.0
#5  0x005e5c4e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7750780 (LWP 3137)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x06155774 in KDevelop::ITextAssistant::~ITextAssistant (this=0xac051f8, __in_chrg=<value optimized out>) at /usr/src/debug/kdevplatform-1.1.0/interfaces/iassistant.cpp:105
#9  0xadbf52df in ~AdaptDefinitionSignatureAssistant (this=0xac051f8, __in_chrg=<value optimized out>) at /usr/src/debug/kdevelop-4.1.0/languages/cpp/codegen/signatureassistant.h:42
#10 Cpp::AdaptDefinitionSignatureAssistant::~AdaptDefinitionSignatureAssistant (this=0xac051f8, __in_chrg=<value optimized out>) at /usr/src/debug/kdevelop-4.1.0/languages/cpp/codegen/signatureassistant.h:42
#11 0x003892d6 in qDeleteInEventHandler (o=0xac051f8) at kernel/qobject.cpp:3980
#12 0x0038bb80 in QObject::event (this=0xac051f8, e=0xabb6728) at kernel/qobject.cpp:1194
#13 0x0644026c in QApplicationPrivate::notify_helper (this=0x9ff0d90, receiver=0xac051f8, e=0xabb6728) at kernel/qapplication.cpp:4445
#14 0x06444ed2 in QApplication::notify (this=0xbfe29778, receiver=0xac051f8, e=0xabb6728) at kernel/qapplication.cpp:3845
#15 0x05513f7b in KApplication::notify (this=0xbfe29778, receiver=0xac051f8, event=0xabb6728) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#16 0x00376333 in QCoreApplication::notifyInternal (this=0xbfe29778, receiver=0xac051f8, event=0xabb6728) at kernel/qcoreapplication.cpp:732
#17 0x0037a085 in sendEvent (receiver=0x0, event_type=0, data=0x9fd5fe8) at kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fd5fe8) at kernel/qcoreapplication.cpp:1373
#19 0x0037a25e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#20 0x003a3eb5 in sendPostedEvents (s=0x9ff3110) at kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=0x9ff3110) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00772192 in g_main_dispatch (context=0x9ff3090) at gmain.c:2149
#23 g_main_context_dispatch (context=0x9ff3090) at gmain.c:2702
#24 0x00772978 in g_main_context_iterate (context=0x9ff3090, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#25 0x00772c35 in g_main_context_iteration (context=0x9ff3090, may_block=1) at gmain.c:2843
#26 0x003a402d in QEventDispatcherGlib::processEvents (this=0x9fd5ad8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#27 0x064f3406 in QGuiEventDispatcherGlib::processEvents (this=0x9fd5ad8, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#28 0x003754ca in QEventLoop::processEvents (this=0xbfe295b4, flags=...) at kernel/qeventloop.cpp:149
#29 0x0037577a in QEventLoop::exec (this=0xbfe295b4, flags=...) at kernel/qeventloop.cpp:201
#30 0x0037a327 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#31 0x0643e078 in QApplication::exec () at kernel/qapplication.cpp:3719
#32 0x08050c38 in main (argc=<value optimized out>, argv=) at /usr/src/debug/kdevelop-4.1.0/app/main.cpp:380

Reported using DrKonqi
Comment 1 Milian Wolff 2010-12-26 15:02:36 UTC
I'd say you should double-check no BIC changes occurred triggering this really strange crash. ~ITextAssistant is empty for me.

Anyhow, if rebuilding kdev* does not hep, run it through valgrind and show us the log:

valgrind --track-origins=yes --num-callers=25 kdevelop

bye
Comment 2 Milian Wolff 2011-01-23 20:01:58 UTC
still waiting for invalid, probably invalid anyways
Comment 3 Andrew Crouthamel 2018-09-22 02:06:31 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 04:10:40 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!