From kdevelop-bugs Mon Jul 21 19:58:54 2008 From: Tony Wolf Date: Mon, 21 Jul 2008 19:58:54 +0000 To: kdevelop-bugs Subject: [Bug 167173] New: crashed while comment out some c++-code Message-Id: <20080721215851.167173.wolf () os-forge ! net> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=121667042303254 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=167173 Summary: crashed while comment out some c++-code Product: kdevelop Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general AssignedTo: kdevelop-bugs kdevelop org ReportedBy: wolf os-forge net Version: (using Devel) Installed from: Compiled sources Compiler: gcc 4.3.0 (debian) - OS: Linux kdevelop crashes while I tried to comment out some c++-code with "/* */" I wasn't able to type the ending "*/" because kdevelop crashes before. I'm running the nearly current trunk-version (Last Changed Rev: 835467) Here is the backtrace: Application: KDevelop (kdevelop), signal SIGABRT [Thread debugging using libthread_db enabled] [New Thread 0x7f7870948780 (LWP 9449)] [New Thread 0x41230950 (LWP 31516)] [New Thread 0x42bb5950 (LWP 9507)] [New Thread 0x423b4950 (LWP 9493)] [New Thread 0x41bb3950 (LWP 9492)] [KCrash handler] #5 0x00007f7869601eb5 in raise () from /lib/libc.so.6 #6 0x00007f78696033d3 in abort () from /lib/libc.so.6 #7 0x00007f786dc99a70 in qt_message_output (msgType=QtFatalMsg, buf=0x42bb1f40 "ASSERT: \"declarationIndex >= 0 && declarationIndex < d_func()->m_usedDeclarationIdsSize()\" in file /home/kde4/development/kde4/kdevplatform/language/duchain/topducontext.cpp, line 1104") at global/qglobal.cpp:2058 #8 0x00007f786dc99b7f in qFatal ( msg=0x7f786de21898 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2260 #9 0x00007f786dc99fbd in qt_assert ( assertion=0x7f786917d7e0 "declarationIndex >= 0 && declarationIndex < d_func()->m_usedDeclarationIdsSize()", file=0x7f786917d3e0 "/home/kde4/development/kde4/kdevplatform/language/duchain/topducontext.cpp", line=1104) at global/qglobal.cpp:1828 #10 0x00007f786912e931 in KDevelop::TopDUContext::usedDeclarationForIndex ( this=0xa128fc0, declarationIndex=308) at /home/kde4/development/kde4/kdevplatform/language/duchain/topducontext.cpp:1104 #11 0x00007f785351b2e0 in CppHighlighting::highlightUses (this=0x24bd950, context=0x5e12580) at /home/kde4/development/kde4/kdevelop/languages/cpp/cpphighlighting.cpp:558 #12 0x00007f785351a337 in CppHighlighting::highlightDUChainSimple ( this=0x24bd950, context=0x5e12580) at /home/kde4/development/kde4/kdevelop/languages/cpp/cpphighlighting.cpp:326 #13 0x00007f785351a37d in CppHighlighting::highlightDUChainSimple ( this=0x24bd950, context=0xa128fc0) at /home/kde4/development/kde4/kdevelop/languages/cpp/cpphighlighting.cpp:329 #14 0x00007f785351a639 in CppHighlighting::highlightDUChain (this=0x24bd950, context=0xa128fc0) at /home/kde4/development/kde4/kdevelop/languages/cpp/cpphighlighting.cpp:299 #15 0x00007f785350f2c4 in CPPInternalParseJob::run (this=0xa2eeb70) at /home/kde4/development/kde4/kdevelop/languages/cpp/cppparsejob.cpp:505 #16 0x00007f786b43f1ab in ThreadWeaver::JobRunHelper::runTheJob ( this=0x42bb4f50, th=0x27a3390, job=0xa2eeb70) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/Job.cpp:106 #17 0x00007f786b43f3ab in ThreadWeaver::Job::execute (this=0xa2eeb70, th=0x27a3390) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/Job.cpp:135 #18 0x00007f786b4418f6 in ThreadWeaver::JobCollectionJobRunner::execute ( this=0x8b578e0, t=0x27a3390) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/JobCollection.cpp:82 #19 0x00007f786b43e714 in ThreadWeaver::ThreadRunHelper::run ( this=0x42bb5020, parent=0x2149560, th=0x27a3390) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:95 #20 0x00007f786b43e823 in ThreadWeaver::Thread::run (this=0x27a3390) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142 #21 0x00007f786dca583c in QThreadPrivate::start (arg=0x27a3390) at thread/qthread_unix.cpp:190 #22 0x00007f786da1afc7 in start_thread () from /lib/libpthread.so.0 #23 0x00007f786969f78d in clone () from /lib/libc.so.6 #24 0x0000000000000000 in ?? () Thread 2 (Thread 0x41230950 (LWP 31516)): #0 0x00007f786da1ed29 in pthread_cond_wait GLIBC_2 3 2 () from /lib/libpthread.so.0 #1 0x00007f786dca61f1 in QWaitConditionPrivate::wait (this=0x311ce10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 0x00007f786dca5d4e in QWaitCondition::wait (this=0x2d66958, mutex=0xbdcc200, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:265 #3 0x00007f786b43bcc1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2d66930, th=0x99f8f80) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f786b4402b7 in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x7a13aa0, th=0x99f8f80) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80 #5 0x00007f786b43b436 in ThreadWeaver::WeaverImpl::waitForAvailableJob ( this=0x2d66930, th=0x99f8f80) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356 #6 0x00007f786b4403af in ThreadWeaver::WorkingHardState::applyForWork ( this=0x7a13aa0, th=0x99f8f80) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71 #7 0x00007f786b43befd in ThreadWeaver::WeaverImpl::applyForWork ( this=0x2d66930, th=0x99f8f80, previous=0x2de92a0) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351 #8 0x00007f786b43e6c8 in ThreadWeaver::ThreadRunHelper::run ( this=0x41230020, parent=0x2d66930, th=0x99f8f80) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87 #9 0x00007f786b43e823 in ThreadWeaver::Thread::run (this=0x99f8f80) at /home/kde4/development/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142 #10 0x00007f786dca583c in QThreadPrivate::start (arg=0x99f8f80) at thread/qthread_unix.cpp:190 #11 0x00007f786da1afc7 in start_thread () from /lib/libpthread.so.0 #12 0x00007f786969f78d in clone () from /lib/libc.so.6 #13 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f7870948780 (LWP 9449)): #0 0x00007f786da1ed29 in pthread_cond_wait GLIBC_2 3 2 () from /lib/libpthread.so.0 #1 0x00007f786dca43a1 in QMutexPrivate::wait (this=0x9ec7070, timeout=-1) at thread/qmutex_unix.cpp:85 #2 0x00007f786dc9e222 in QMutex::lock (this=0x9eb0000) at thread/qmutex.cpp:164 #3 0x00007f78524f3a39 in QMutexLocker::relock (this=0x7fff78a8cb50) at /usr/local/Trolltech/Qt-4.4.0/include/QtCore/qmutex.h:122 #4 0x00007f78524f3aa9 in QMutexLocker (this=0x7fff78a8cb50, m=0x9eb0000) at /usr/local/Trolltech/Qt-4.4.0/include/QtCore/qmutex.h:104 #5 0x00007f785255fb6c in KateViewInternal::updateView (this=0x9ecda70, changed=true, viewLinesScrolled=0) at /home/kde4/development/kde4/kdelibs/kate/view/kateviewinternal.cpp:541 #6 0x00007f785256a656 in KateViewInternal::qt_metacall (this=0x9ecda70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xce28210) at /home/kde4/development/kde/buildkdelibs/kate/kateviewinternal.moc:120 #7 0x00007f786ddcdbf1 in QMetaCallEvent::placeMetaCall (this=0xcfe2130, object=0x9ecda70) at kernel/qobject.cpp:535 #8 0x00007f786ddd2de2 in QObject::event (this=0x9ecda70, e=0xcfe2130) at kernel/qobject.cpp:1131 #9 0x00007f786a3142d3 in QWidget::event (this=0x9ecda70, event=0xcfe2130) at kernel/qwidget.cpp:7310 #10 0x00007f786a2a8197 in QApplicationPrivate::notify_helper (this=0x1f97670, receiver=0x9ecda70, e=0xcfe2130) at kernel/qapplication.cpp:3772 #11 0x00007f786a2aa022 in QApplication::notify (this=0x7fff78a8dc00, receiver=0x9ecda70, e=0xcfe2130) at kernel/qapplication.cpp:3739 #12 0x00007f786efc9146 in KApplication::notify (this=0x7fff78a8dc00, receiver=0x9ecda70, event=0xcfe2130) at /home/kde4/development/kde4/kdelibs/kdeui/kernel/kapplication.cpp:306 #13 0x00007f786ddbbf44 in QCoreApplication::notifyInternal ( this=0x7fff78a8dc00, receiver=0x9ecda70, event=0xcfe2130) at kernel/qcoreapplication.cpp:587 #14 0x00007f786ddc0bf1 in QCoreApplication::sendEvent (receiver=0x9ecda70, event=0xcfe2130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #15 0x00007f786ddbc5a7 in QCoreApplicationPrivate::sendPostedEvents ( receiver=0x0, event_type=0, data=0x1f10880) at kernel/qcoreapplication.cpp:1198 #16 0x00007f786ddbc8b6 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091 #17 0x00007f786ddf48bf in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #18 0x00007f786ddf3ae1 in postEventSourceDispatch (s=0x1f9ab60) at kernel/qeventdispatcher_glib.cpp:211 #19 0x00007f7866c18102 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #20 0x00007f7866c1b3a6 in ?? () from /usr/lib/libglib-2.0.so.0 #21 0x00007f7866c1b83f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #22 0x00007f786ddf2bee in QEventDispatcherGlib::processEvents ( this=0x1f93bc0, flags={i = 2024331664}) at kernel/qeventdispatcher_glib.cpp:325 #23 0x00007f786a36839b in QGuiEventDispatcherGlib::processEvents ( this=0x1f93bc0, flags={i = 2024331760}) at kernel/qguieventdispatcher_glib.cpp:204 #24 0x00007f786ddb85d7 in QEventLoop::processEvents (this=0x7fff78a8dab0, flags={i = 2024331872}) at kernel/qeventloop.cpp:149 #25 0x00007f786ddb87d4 in QEventLoop::exec (this=0x7fff78a8dab0, flags= {i = 2024331968}) at kernel/qeventloop.cpp:200 #26 0x00007f786ddbc9c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #27 0x00007f786a2a7ef4 in QApplication::exec () at kernel/qapplication.cpp:3304 #28 0x0000000000406fe8 in main (argc=3, argv=0x7fff78a8eb68) at /home/kde4/development/kde4/kdevelop/src/main.cpp:209 #0 0x00007f786da1ed29 in pthread_cond_wait GLIBC_2 3 2 () from /lib/libpthread.so.0 PS.: I'm loving the upcoming kdevelop-version! Great work! _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs