From kdevelop-bugs Thu Mar 31 21:37:40 2011 From: Tomasz Narloch Date: Thu, 31 Mar 2011 21:37:40 +0000 To: kdevelop-bugs Subject: [Bug 269851] New: Kdevelop crash n edit python source after collapse Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=130160779303026 https://bugs.kde.org/show_bug.cgi?id=269851 Summary: Kdevelop crash n edit python source after collapse Ctrl + Shift + - Product: kdevelop Version: 4.2.0 Platform: Ubuntu Packages OS/Version: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: tomas.h@wp.pl Application: kdevelop (4.2.0) KDE Platform Version: 4.6.1 (4.6.1) Qt Version: 4.7.0 Operating System: Linux 2.6.35-28-generic x86_64 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: 1) Open python file with lots of small python class pylons_app/model/form.py 2) Collapse to Top level (Ctrl + Shift + -) 3) scroll down to some class 4) expand one specified class and remove two or three or more comments (remove # from #some code) 5) crash (not immediately, sometimes take 0-4 seconds when I do nothing) Note: Kate has the same effect -> crash, the same file kde4.6 Kubuntu 10.10 64bit The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0x7f38ab0e4760 (LWP 26082))] Thread 9 (Thread 0x7f3893468700 (LWP 26095)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212 #1 0x00007f38a9564da2 in wait (this=, mutex=0x1aa53c0, time=1000) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=, mutex=0x1aa53c0, time=1000) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f38a5b2a01b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1aa53a0) at ../../language/duchain/duchain.cpp:286 #4 0x00007f38a956427e in QThreadPrivate::start (arg=0x1aa53a0) at thread/qthread_unix.cpp:266 #5 0x00007f38a75ee971 in start_thread (arg=) at pthread_create.c:304 #6 0x00007f38a826492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f38899c3700 (LWP 26096)): #0 0x00007f38a75f1c9d in __pthread_mutex_unlock_usercnt (mutex=0x841618) at pthread_mutex_unlock.c:52 #1 __pthread_mutex_unlock (mutex=0x841618) at pthread_mutex_unlock.c:290 #2 0x00007f38a363cb51 in g_main_context_prepare () from /lib/libglib-2.0.so.0 #3 0x00007f38a363ce78 in ?? () from /lib/libglib-2.0.so.0 #4 0x00007f38a363d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x00007f38a96841e6 in QEventDispatcherGlib::processEvents (this=0x23de300, flags=) at kernel/qeventdispatcher_glib.cpp:417 #6 0x00007f38a9656a02 in QEventLoop::processEvents (this=, flags=) at kernel/qeventloop.cpp:149 #7 0x00007f38a9656dec in QEventLoop::exec (this=0x7f38899c2df0, flags=) at kernel/qeventloop.cpp:201 #8 0x00007f38a95612fd in QThread::exec (this=) at thread/qthread.cpp:490 #9 0x00007f38a956427e in QThreadPrivate::start (arg=0x240b9b0) at thread/qthread_unix.cpp:266 #10 0x00007f38a75ee971 in start_thread (arg=) at pthread_create.c:304 #11 0x00007f38a826492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f3887b1b700 (LWP 26097)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f3893a33334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f3893d3e160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007f3893a33369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f3893d4c234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007f38a75ee971 in start_thread (arg=) at pthread_create.c:304 #4 0x00007f38a826492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f3886cfc700 (LWP 26110)): #0 0xffffffffff60017b in ?? () #1 0x00007f3886cfba90 in ?? () #2 0x00007fff7f745852 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 5 (Thread 0x7f38864eb700 (LWP 26111)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f38a0bbd20e in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f38a0bbd329 in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f38a75ee971 in start_thread (arg=) at pthread_create.c:304 #4 0x00007f38a826492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f388242a700 (LWP 26129)): #0 0x00007f38a8258203 in __poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f38a363d009 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f38a363d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f38a96841e6 in QEventDispatcherGlib::processEvents (this=0x2529b30, flags=) at kernel/qeventdispatcher_glib.cpp:417 #4 0x00007f38a9656a02 in QEventLoop::processEvents (this=, flags=) at kernel/qeventloop.cpp:149 #5 0x00007f38a9656dec in QEventLoop::exec (this=0x7f3882429db0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007f38a95612fd in QThread::exec (this=) at thread/qthread.cpp:490 #7 0x00007f38a96365f8 in QInotifyFileSystemWatcherEngine::run (this=0x2d38850) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f38a956427e in QThreadPrivate::start (arg=0x2d38850) at thread/qthread_unix.cpp:266 #9 0x00007f38a75ee971 in start_thread (arg=) at pthread_create.c:304 #10 0x00007f38a826492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3881bcc700 (LWP 26131)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f38a9564e3b in wait (this=, mutex=0xb07000, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=, mutex=0xb07000, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f38a1393d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbace40, th=0x2b5dd70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f38a1396f6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x93ad50, th=0x2b5dd70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f38a13954df in ThreadWeaver::ThreadRunHelper::run (this=0x7f3881bcbe00, parent=0xbace40, th=0x2b5dd70) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007f38a1395a38 in ThreadWeaver::Thread::run (this=0x2b5dd70) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007f38a956427e in QThreadPrivate::start (arg=0x2b5dd70) at thread/qthread_unix.cpp:266 #8 0x00007f38a75ee971 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f38a826492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f3881236700 (LWP 26193)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f38a9564e3b in wait (this=, mutex=0xb07000, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=, mutex=0xb07000, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f38a1393d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbace40, th=0x36c5c80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f38a1396f6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x93ad50, th=0x36c5c80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f38a13954df in ThreadWeaver::ThreadRunHelper::run (this=0x7f3881235e00, parent=0xbace40, th=0x36c5c80) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007f38a1395a38 in ThreadWeaver::Thread::run (this=0x36c5c80) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007f38a956427e in QThreadPrivate::start (arg=0x36c5c80) at thread/qthread_unix.cpp:266 #8 0x00007f38a75ee971 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f38a826492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f38ab0e4760 (LWP 26082)): [KCrash Handler] #6 size (this=0x28b0a50, node=0x2906880, line=688) at /usr/include/qt4/QtCore/qvector.h:124 #7 findChild (this=0x28b0a50, node=0x2906880, line=688) at ../../kate/syntax/katecodefolding.h:87 #8 KateCodeFoldingTree::removeOpening (this=0x28b0a50, node=0x2906880, line=688) at ../../kate/syntax/katecodefolding.cpp:559 #9 0x00007f3893eb65c6 in KateCodeFoldingTree::cleanupUnneededNodes (this=0x28b0a50, line=688) at ../../kate/syntax/katecodefolding.cpp:1329 #10 0x00007f3893eb6c82 in KateCodeFoldingTree::updateLine (this=0x28b0a50, line=, regionChanges=0x7fff7f6916f0, updated=, changed=, colsChanged=) at ../../kate/syntax/katecodefolding.cpp:533 #11 0x00007f3893e51c54 in KateBuffer::doHighlight (this=0x28b0980, startLine=, endLine=, invalidate=) at ../../kate/document/katebuffer.cpp:684 #12 0x00007f3893e534f4 in KateBuffer::ensureHighlighted (this=0x28b0980, line=) at ../../kate/document/katebuffer.cpp:245 #13 0x00007f3893eb4e02 in KateCodeFoldingTree::toggleRegionVisibility (this=0x28b0a50, line=610) at ../../kate/syntax/katecodefolding.cpp:1383 #14 0x00007f3893eb6477 in KateCodeFoldingTree::removeOpening (this=0x28b0a50, node=0x2a55ec0, line=610) at ../../kate/syntax/katecodefolding.cpp:553 #15 0x00007f3893eb65c6 in KateCodeFoldingTree::cleanupUnneededNodes (this=0x28b0a50, line=610) at ../../kate/syntax/katecodefolding.cpp:1329 #16 0x00007f3893eb6c82 in KateCodeFoldingTree::updateLine (this=0x28b0a50, line=, regionChanges=0x7fff7f691aa0, updated=, changed=, colsChanged=) at ../../kate/syntax/katecodefolding.cpp:533 #17 0x00007f3893e51c54 in KateBuffer::doHighlight (this=0x28b0980, startLine=, endLine=, invalidate=) at ../../kate/document/katebuffer.cpp:684 #18 0x00007f3893e534f4 in KateBuffer::ensureHighlighted (this=0x28b0980, line=) at ../../kate/document/katebuffer.cpp:245 #19 0x00007f3893e29e9a in KateDocument::kateTextLine (this=0x28ad180, i=12481024) at ../../kate/document/katedocument.cpp:4720 #20 0x00007f3893e3a552 in KateDocument::editRemoveText (this=0x28ad180, line=566, col=4, len=1) at ../../kate/document/katedocument.cpp:1058 #21 0x00007f3893e3e48b in KateDocument::removeText (this=0x28ad180, _range=, block=) at ../../kate/document/katedocument.cpp:689 #22 0x00007f3893e35002 in KateDocument::del (this=0x28ad180, view=, c=...) at ../../kate/document/katedocument.cpp:2817 #23 0x00007f3893ed0f01 in KateViewInternal::doDelete (this=0x2918600) at ../../kate/view/kateviewinternal.cpp:787 #24 0x00007f3893ec2d7d in KateView::qt_metacall (this=0x2917d60, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fff7f691ed0) at ./kateview.moc:375 #25 0x00007f38a966fb27 in QMetaObject::activate (sender=0x29a5450, m=, local_signal_index=, argv=0x7f38a998a120) at kernel/qobject.cpp:3280 #26 0x00007f38a89b7852 in QAction::triggered (this=0x907f20, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #27 0x00007f38a89b8f5b in QAction::activate (this=0x29a5450, event=) at kernel/qaction.cpp:1256 #28 0x00007f38a89bb257 in QAction::event (this=0x907f20, e=) at kernel/qaction.cpp:1182 #29 0x00007f38a9d62c7d in KAction::event (this=0x907f20, event=0x7fff7f692580) at ../../kdeui/actions/kaction.cpp:131 #30 0x00007f38a89befdc in QApplicationPrivate::notify_helper (this=0x782120, receiver=0x29a5450, e=0x7fff7f692580) at kernel/qapplication.cpp:4396 #31 0x00007f38a89c4aed in QApplication::notify (this=0x7fff7f693d80, receiver=0x29a5450, e=0x7fff7f692580) at kernel/qapplication.cpp:4277 #32 0x00007f38a9e662c6 in KApplication::notify (this=0x7fff7f693d80, receiver=0x29a5450, event=0x7fff7f692580) at ../../kdeui/kernel/kapplication.cpp:311 #33 0x0000000000404c89 in _start () Reported using DrKonqi -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs