Bug 235168 - past line to cmake - crash
Summary: past line to cmake - crash
Status: RESOLVED DUPLICATE of bug 226600
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: language (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-23 13:55 UTC by Maxim Prohorenko
Modified: 2010-11-30 18:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Prohorenko 2010-04-23 13:55:34 UTC
Application: kdevelop (3.10.2 (using KDevPlatform 0.10.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.11-99.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
past line with nontrivial text while cmake parser worked in background
huge progect - parser load model more than 20 sec and i can't wait and start edit my project

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f99cc956840 (LWP 4285))]

Thread 9 (Thread 0x7f99c1908710 (LWP 4287)):
#0  0x0000003da6ea4d1d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003da6ed7c34 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007f99cd31a7de in KDevelop::DUChainLock::lockForWrite (this=0x18ff8f8, timeout=0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchainlock.cpp:201
#3  0x00007f99cd31a894 in KDevelop::DUChainWriteLocker::lock (this=0x7f99c1907cb0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchainlock.cpp:299
#4  0x00007f99cd2da934 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x18ff8e0, retries=<value optimized out>, needLockRepository=<value optimized out>)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchain.cpp:705
#5  0x00007f99cd2dc0f4 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1903d20) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchain.cpp:294
#6  0x0000003c2ac709a5 in QThreadPrivate::start (arg=0x1903d20) at thread/qthread_unix.cpp:248
#7  0x0000003da7a06a3a in start_thread (arg=0x7f99c1908710) at pthread_create.c:297
#8  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f99b8646710 (LWP 4288)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003c2ac7189b in wait (this=<value optimized out>, mutex=0x21a0c10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21a0c10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003c36609f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21b9010, th=0x167cf70) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c3660c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x21864d0, th=0x167cf70) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c3660ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f99b8645d50, parent=0x21b9010, th=0x167cf70) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003c3660b358 in ThreadWeaver::Thread::run (this=0x167cf70) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003c2ac709a5 in QThreadPrivate::start (arg=0x167cf70) at thread/qthread_unix.cpp:248
#8  0x0000003da7a06a3a in start_thread (arg=0x7f99b8646710) at pthread_create.c:297
#9  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f99a75fe710 (LWP 4426)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003c32b274f6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3c32e00b20) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x0000003c32b27539 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3c32e0ebec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x0000003da7a06a3a in start_thread (arg=0x7f99a75fe710) at pthread_create.c:297
#4  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f99a7fff710 (LWP 4465)):
#0  0x0000003da6ed51c3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003da923ca0c in g_main_context_poll (context=0x7f99980009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f99980009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x0000003da923cd4a in IA__g_main_context_iteration (context=0x7f99980009b0, may_block=1) at gmain.c:2654
#4  0x0000003c2ad7d0b6 in QEventDispatcherGlib::processEvents (this=0x7f99980008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x0000003c2ad56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003c2ad5645c in QEventLoop::exec (this=0x7f99a7ffed40, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003c2ac6e8d9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x0000003c2ac709a5 in QThreadPrivate::start (arg=0x2ca19e0) at thread/qthread_unix.cpp:248
#9  0x0000003da7a06a3a in start_thread (arg=0x7f99a7fff710) at pthread_create.c:297
#10 0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f99a4c9d710 (LWP 4466)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f99a4c9ca30 in ?? ()
#2  0x00007fff3b58f882 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f999ffff710 (LWP 4467)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x0000003c2ac70315 in thread_sleep (ti=0x7f999fffed00) at thread/qthread_unix.cpp:398
#2  0x0000003c2ac70480 in QThread::msleep (msecs=267941000) at thread/qthread_unix.cpp:424
#3  0x00007f99a54586f1 in UIBlockTester::UIBlockTesterThread::run (this=0x2ca9800) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x0000003c2ac709a5 in QThreadPrivate::start (arg=0x2ca9800) at thread/qthread_unix.cpp:248
#5  0x0000003da7a06a3a in start_thread (arg=0x7f999ffff710) at pthread_create.c:297
#6  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f999eb71710 (LWP 4492)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003c2ac7189b in wait (this=<value optimized out>, mutex=0x17cc810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17cc810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003c36609f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17d1a30, th=0x4c870e0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c3660c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17d0610, th=0x4c870e0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c3660c4c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17d0610, th=0x4c870e0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003c3660ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f999eb70d50, parent=0x17d1a30, th=0x4c870e0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003c3660b358 in ThreadWeaver::Thread::run (this=0x4c870e0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003c2ac709a5 in QThreadPrivate::start (arg=0x4c870e0) at thread/qthread_unix.cpp:248
#9  0x0000003da7a06a3a in start_thread (arg=0x7f999eb71710) at pthread_create.c:297
#10 0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f999e170710 (LWP 4493)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003c2ac7189b in wait (this=<value optimized out>, mutex=0x17cc810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17cc810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003c36609f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17d1a30, th=0x6abc9c0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c3660c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17d0610, th=0x6abc9c0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c3660ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f999e16fd50, parent=0x17d1a30, th=0x6abc9c0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003c3660b358 in ThreadWeaver::Thread::run (this=0x6abc9c0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003c2ac709a5 in QThreadPrivate::start (arg=0x6abc9c0) at thread/qthread_unix.cpp:248
#8  0x0000003da7a06a3a in start_thread (arg=0x7f999e170710) at pthread_create.c:297
#9  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f99cc956840 (LWP 4285)):
[KCrash Handler]
#5  KTextEditor::Range::start (this=0x40) at /usr/src/debug/kdelibs-4.4.2/interfaces/ktexteditor/range.cpp:301
#6  0x00007f99cd2e6d0f in SimpleRange (this=0x7f99a8c3d590) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/../editor/simplerange.h:42
#7  KDevelop::DUContext::synchronizeUsesFromSmart (this=0x7f99a8c3d590) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/ducontext.cpp:230
#8  0x00007f99cd2e700a in KDevelop::DUContext::uses (this=0x7f99a8c3d590) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/ducontext.cpp:1455
#9  0x00007f99cd33c570 in KDevelop::DUChainUtils::itemUnderCursor (url=<value optimized out>, c=...) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchainutils.cpp:292
#10 0x00007f99a5b11527 in ContextBrowserPlugin::findDeclaration (this=<value optimized out>, view=0x40, position=..., mouseHighlight=<value optimized out>)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:556
#11 0x00007f99a5b19832 in ContextBrowserPlugin::updateBrowserWidgetFor (this=0x2318e00, view=0x6c18c20)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:695
#12 0x00007f99a5b19c9c in ContextBrowserPlugin::updateViews (this=0x2318e00) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:725
#13 0x00007f99a5b1c094 in ContextBrowserPlugin::qt_metacall (this=0x2318e00, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3b4dd8b0)
    at /home/maxim/src/KDE4/all-for-kdevelop/build.rel/kdevplatform/plugins/contextbrowser/contextbrowser.moc:124
#14 0x0000003c2ad6a2af in QMetaObject::activate (sender=0x2312000, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#15 0x0000003c2ad6663e in QObject::event (this=0x2312000, e=0x7fff3b4de000) at kernel/qobject.cpp:1212
#16 0x0000003c2b3aa9dc in QApplicationPrivate::notify_helper (this=0x105ed10, receiver=0x2312000, e=0x7fff3b4de000) at kernel/qapplication.cpp:4300
#17 0x0000003c2b3b0aab in QApplication::notify (this=<value optimized out>, receiver=0x2312000, e=0x7fff3b4de000) at kernel/qapplication.cpp:4183
#18 0x00000033dec06856 in KApplication::notify (this=0x7fff3b4de470, receiver=0x2312000, event=0x7fff3b4de000) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#19 0x0000003c2ad5774c in QCoreApplication::notifyInternal (this=0x7fff3b4de470, receiver=0x2312000, event=0x7fff3b4de000) at kernel/qcoreapplication.cpp:704
#20 0x0000003c2ad7fe02 in sendEvent (this=0x10629a0) at kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x10629a0) at kernel/qeventdispatcher_unix.cpp:603
#22 0x0000003c2ad7d374 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#23 0x0000003da923923e in g_main_dispatch (context=0x1061920) at gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x1061920) at gmain.c:2513
#25 0x0000003da923cc28 in g_main_context_iterate (context=0x1061920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#26 0x0000003da923cd4a in IA__g_main_context_iteration (context=0x1061920, may_block=1) at gmain.c:2654
#27 0x0000003c2ad7d063 in QEventDispatcherGlib::processEvents (this=0xc05850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x0000003c2b449a4e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x0000003c2ad56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x0000003c2ad5645c in QEventLoop::exec (this=0x7fff3b4de2a0, flags=...) at kernel/qeventloop.cpp:201
#31 0x0000003c2ad58749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#32 0x00000000004084bf in main (argc=<value optimized out>, argv=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/app/main_internal.cpp:232

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-06 15:14:47 UTC
is this still reproducible with KDevelop 4.0.2 or even KDevelop 4.1 beta 1? If so, please be more precise in what steps are required. Maybe even attach your project.
Comment 2 Maxim Prohorenko 2010-09-06 16:04:53 UTC
I can not reproduce this bug in git master now. Thanks.
Comment 3 Milian Wolff 2010-11-30 18:12:56 UTC

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