From kdevelop-bugs Fri Apr 29 19:58:20 2011 From: Valentin RUSU Date: Fri, 29 Apr 2011 19:58:20 +0000 To: kdevelop-bugs Subject: [Bug 272009] New: Crash when clicking "update signature" tooltip Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=130410784318475 https://bugs.kde.org/show_bug.cgi?id=272009 Summary: Crash when clicking "update signature" tooltip Product: kdevelop Version: 4.2.0 Platform: openSUSE RPMs OS/Version: Linux Status: NEW Severity: crash Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: kde@rusu.info Application: kdevelop (4.2.0) KDE Platform Version: 4.6.00 (4.6.0) "release 6" Qt Version: 4.7.1 Operating System: Linux 2.6.38.4-23-default i686 Distribution: "openSUSE 11.4 (i586)" -- Information about the crash: - What I was doing when the application crashed: I just clicked on the "update signature" tooltip after changing a class constructor's parameter type. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0xb32c7710 (LWP 8429))] Thread 10 (Thread 0xae430b70 (LWP 8430)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb600d432 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179 #2 0xb6100b44 in __pthread_cond_timedwait (cond=0x83d2f30, mutex=0x83d2f18, abstime=0xae4302c0) at forward.c:152 #3 0xb6d95a3c in wait (this=0x83d2dc4, mutex=0x83d2dc8, time=1000) at thread/qwaitcondition_unix.cpp:86 #4 QWaitCondition::wait (this=0x83d2dc4, mutex=0x83d2dc8, time=1000) at thread/qwaitcondition_unix.cpp:160 #5 0xb5866a4b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x83d2db8) at /usr/src/debug/kdevplatform-1.2.0/language/duchain/duchain.cpp:286 #6 0xb6d953aa in QThreadPrivate::start (arg=0x83d2db8) at thread/qthread_unix.cpp:285 #7 0xb6008b05 in start_thread (arg=0xae430b70) at pthread_create.c:297 #8 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 9 (Thread 0xada2eb70 (LWP 8433)): #0 0xb5ded22b in clock_gettime (clock_id=1, tp=0xada2e020) at ../sysdeps/unix/clock_gettime.c:100 #1 0xb6deeae5 in do_gettime () at tools/qelapsedtimer_unix.cpp:123 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #3 0xb6ec1726 in updateCurrentTime (this=0xadb066c4, tm=...) at kernel/qeventdispatcher_unix.cpp:339 #4 QTimerInfoList::timerWait (this=0xadb066c4, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0xb6ebff6b in timerSourcePrepareHelper (src=, timeout=0xada2e11c) at kernel/qeventdispatcher_glib.cpp:136 #6 0xb6ec000d in timerSourcePrepare (source=0xadb06690, timeout=) at kernel/qeventdispatcher_glib.cpp:169 #7 0xb5331a70 in g_main_context_prepare (context=0x84722d0, priority=0xada2e18c) at gmain.c:2761 #8 0xb53328e2 in g_main_context_iterate (context=0x84722d0, block=1, dispatch=1, self=0xadb00c80) at gmain.c:3071 #9 0xb5332fce in g_main_context_iteration (context=0x84722d0, may_block=1) at gmain.c:3154 #10 0xb6ec07b7 in QEventDispatcherGlib::processEvents (this=0x813db58, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #11 0xb6e912bd in QEventLoop::processEvents (this=0xada2e2b0, flags=...) at kernel/qeventloop.cpp:149 #12 0xb6e914e9 in QEventLoop::exec (this=0xada2e2b0, flags=...) at kernel/qeventloop.cpp:201 #13 0xb6d927b9 in QThread::exec (this=0x8464220) at thread/qthread.cpp:490 #14 0xb6e7123d in QInotifyFileSystemWatcherEngine::run (this=0x8464220) at io/qfilesystemwatcher_inotify.cpp:248 #15 0xb6d953aa in QThreadPrivate::start (arg=0x8464220) at thread/qthread_unix.cpp:285 #16 0xb6008b05 in start_thread (arg=0xada2eb70) at pthread_create.c:297 #17 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 8 (Thread 0xa9a26b70 (LWP 8617)): #0 0xb5ded22b in clock_gettime (clock_id=1, tp=0xa9a26020) at ../sysdeps/unix/clock_gettime.c:100 #1 0xb6deeae5 in do_gettime () at tools/qelapsedtimer_unix.cpp:123 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #3 0xb6ec1726 in updateCurrentTime (this=0x86fe2fc, tm=...) at kernel/qeventdispatcher_unix.cpp:339 #4 QTimerInfoList::timerWait (this=0x86fe2fc, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0xb6ebff6b in timerSourcePrepareHelper (src=, timeout=0xa9a2611c) at kernel/qeventdispatcher_glib.cpp:136 #6 0xb6ec000d in timerSourcePrepare (source=0x86fe2c8, timeout=) at kernel/qeventdispatcher_glib.cpp:169 #7 0xb5331a70 in g_main_context_prepare (context=0x870b718, priority=0xa9a2618c) at gmain.c:2761 #8 0xb53328e2 in g_main_context_iterate (context=0x870b718, block=1, dispatch=1, self=0x8701f48) at gmain.c:3071 #9 0xb5332fce in g_main_context_iteration (context=0x870b718, may_block=1) at gmain.c:3154 #10 0xb6ec07b7 in QEventDispatcherGlib::processEvents (this=0x870b008, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #11 0xb6e912bd in QEventLoop::processEvents (this=0xa9a262b0, flags=...) at kernel/qeventloop.cpp:149 #12 0xb6e914e9 in QEventLoop::exec (this=0xa9a262b0, flags=...) at kernel/qeventloop.cpp:201 #13 0xb6d927b9 in QThread::exec (this=0x86fe7e8) at thread/qthread.cpp:490 #14 0xb6e7123d in QInotifyFileSystemWatcherEngine::run (this=0x86fe7e8) at io/qfilesystemwatcher_inotify.cpp:248 #15 0xb6d953aa in QThreadPrivate::start (arg=0x86fe7e8) at thread/qthread_unix.cpp:285 #16 0xb6008b05 in start_thread (arg=0xa9a26b70) at pthread_create.c:297 #17 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 7 (Thread 0xa7affb70 (LWP 8685)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb600d105 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122 #2 0xb6100aec in __pthread_cond_wait (cond=0xb4e66430, mutex=0xb4e66418) at forward.c:139 #3 0xb488cc87 in ?? () from /usr/lib/libQtWebKit.so.4 #4 0xb6008b05 in start_thread (arg=0xa7affb70) at pthread_create.c:297 #5 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 6 (Thread 0xa6c51b70 (LWP 8692)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb60e803e in __poll (fds=0x8b1e158, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb53430bb in g_poll (fds=0x8b1e158, nfds=1, timeout=-1) at gpoll.c:132 #3 0xb5332c46 in g_main_context_poll (context=0x8bb1480, block=1, dispatch=1, self=0x8ba43e0) at gmain.c:3404 #4 g_main_context_iterate (context=0x8bb1480, block=1, dispatch=1, self=0x8ba43e0) at gmain.c:3086 #5 0xb5332fce in g_main_context_iteration (context=0x8bb1480, may_block=1) at gmain.c:3154 #6 0xb6ec07b7 in QEventDispatcherGlib::processEvents (this=0x8b1df88, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #7 0xb6e912bd in QEventLoop::processEvents (this=0xa6c512d0, flags=...) at kernel/qeventloop.cpp:149 #8 0xb6e914e9 in QEventLoop::exec (this=0xa6c512d0, flags=...) at kernel/qeventloop.cpp:201 #9 0xb6d927b9 in QThread::exec (this=0x8ba2598) at thread/qthread.cpp:490 #10 0xb5977046 in KDevelop::CompletionWorkerThread::run (this=0x8ba2598) at /usr/src/debug/kdevplatform-1.2.0/language/codecompletion/codecompletionmodel.cpp:80 #11 0xb6d953aa in QThreadPrivate::start (arg=0x8ba2598) at thread/qthread_unix.cpp:285 #12 0xb6008b05 in start_thread (arg=0xa6c51b70) at pthread_create.c:297 #13 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 5 (Thread 0xa6450b70 (LWP 8693)): #0 0xb5ded22b in clock_gettime (clock_id=1, tp=0xa6450040) at ../sysdeps/unix/clock_gettime.c:100 #1 0xb6deeae5 in do_gettime () at tools/qelapsedtimer_unix.cpp:123 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #3 0xb6ec1726 in updateCurrentTime (this=0xa7e339e4, tm=...) at kernel/qeventdispatcher_unix.cpp:339 #4 QTimerInfoList::timerWait (this=0xa7e339e4, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0xb6ebff6b in timerSourcePrepareHelper (src=, timeout=0xa645013c) at kernel/qeventdispatcher_glib.cpp:136 #6 0xb6ec000d in timerSourcePrepare (source=0xa7e339b0, timeout=) at kernel/qeventdispatcher_glib.cpp:169 #7 0xb5331a70 in g_main_context_prepare (context=0x8bb3cf0, priority=0xa64501ac) at gmain.c:2761 #8 0xb53328e2 in g_main_context_iterate (context=0x8bb3cf0, block=1, dispatch=1, self=0xa7df0100) at gmain.c:3071 #9 0xb5332fce in g_main_context_iteration (context=0x8bb3cf0, may_block=1) at gmain.c:3154 #10 0xb6ec07b7 in QEventDispatcherGlib::processEvents (this=0x8b1e330, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #11 0xb6e912bd in QEventLoop::processEvents (this=0xa64502d0, flags=...) at kernel/qeventloop.cpp:149 #12 0xb6e914e9 in QEventLoop::exec (this=0xa64502d0, flags=...) at kernel/qeventloop.cpp:201 #13 0xb6d927b9 in QThread::exec (this=0xa7df24a0) at thread/qthread.cpp:490 #14 0xb5977046 in KDevelop::CompletionWorkerThread::run (this=0xa7df24a0) at /usr/src/debug/kdevplatform-1.2.0/language/codecompletion/codecompletionmodel.cpp:80 #15 0xb6d953aa in QThreadPrivate::start (arg=0xa7df24a0) at thread/qthread_unix.cpp:285 #16 0xb6008b05 in start_thread (arg=0xa6450b70) at pthread_create.c:297 #17 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 4 (Thread 0xa4b65b70 (LWP 8698)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb600d105 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122 #2 0xb6100aec in __pthread_cond_wait (cond=0x82e0c08, mutex=0x82e0bf0) at forward.c:139 #3 0xb6d95ab0 in wait (this=0x82dfd10, mutex=0x81b41d0, time=4294967295) at thread/qwaitcondition_unix.cpp:88 #4 QWaitCondition::wait (this=0x82dfd10, mutex=0x81b41d0, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #5 0xb4e7a056 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x82dfcf8, th=0x8608188) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:365 #6 0xb4e7d7a7 in waitForAvailableJob (this=0x81d4d08, th=0x8608188) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:356 #7 ThreadWeaver::WorkingHardState::applyForWork (this=0x81d4d08, th=0x8608188) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0xb4e79a03 in ThreadWeaver::WeaverImpl::applyForWork (this=0x82dfcf8, th=0x8608188, previous=0x0) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0xb4e7d7c3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81d4d08, th=0x8608188) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WorkingHardState.cpp:74 #10 0xb4e79a03 in ThreadWeaver::WeaverImpl::applyForWork (this=0x82dfcf8, th=0x8608188, previous=0x9980d30) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:351 #11 0xb4e7a564 in ThreadWeaver::ThreadRunHelper::run (this=0xa4b65314, parent=0x82dfcf8, th=0x8608188) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/Thread.cpp:87 #12 0xb4e7a61a in ThreadWeaver::Thread::run (this=0x8608188) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/Thread.cpp:142 #13 0xb6d953aa in QThreadPrivate::start (arg=0x8608188) at thread/qthread_unix.cpp:285 #14 0xb6008b05 in start_thread (arg=0xa4b65b70) at pthread_create.c:297 #15 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xa4364b70 (LWP 8699)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb600d105 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122 #2 0xb6100aec in __pthread_cond_wait (cond=0x82e0c08, mutex=0x82e0bf0) at forward.c:139 #3 0xb6d95ab0 in wait (this=0x82dfd10, mutex=0x81b41d0, time=4294967295) at thread/qwaitcondition_unix.cpp:88 #4 QWaitCondition::wait (this=0x82dfd10, mutex=0x81b41d0, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #5 0xb4e7a056 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x82dfcf8, th=0x87da298) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:365 #6 0xb4e7d7a7 in waitForAvailableJob (this=0x81d4d08, th=0x87da298) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:356 #7 ThreadWeaver::WorkingHardState::applyForWork (this=0x81d4d08, th=0x87da298) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0xb4e79a03 in ThreadWeaver::WeaverImpl::applyForWork (this=0x82dfcf8, th=0x87da298, previous=0x9494b70) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0xb4e7a564 in ThreadWeaver::ThreadRunHelper::run (this=0xa4364314, parent=0x82dfcf8, th=0x87da298) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/Thread.cpp:87 #10 0xb4e7a61a in ThreadWeaver::Thread::run (this=0x87da298) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/Thread.cpp:142 #11 0xb6d953aa in QThreadPrivate::start (arg=0x87da298) at thread/qthread_unix.cpp:285 #12 0xb6008b05 in start_thread (arg=0xa4364b70) at pthread_create.c:297 #13 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xab208b70 (LWP 8731)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb600d105 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122 #2 0xb6100aec in __pthread_cond_wait (cond=0xb093a290, mutex=0xb093a278) at forward.c:139 #3 0xb081ee17 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb09351a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #4 0xb081ee5f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb09351a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #5 0xb6008b05 in start_thread (arg=0xab208b70) at pthread_create.c:297 #6 0xb60f2d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb32c7710 (LWP 8429)): [KCrash Handler] #7 0xb594256a in KDevelop::ItemRepository::initializeBucket (this=0xa8efcf58, bucketNumber=41856) at /usr/src/debug/kdevplatform-1.2.0/language/duchain/repositories/itemrepository.h:2514 #8 0xb5941a00 in itemFromIndex (index=2743137424) at /usr/src/debug/kdevplatform-1.2.0/language/duchain/repositories/itemrepository.h:1860 #9 KDevelop::TypeRepository::typeForIndex (index=2743137424) at /usr/src/debug/kdevplatform-1.2.0/language/duchain/repositories/typerepository.cpp:123 #10 0xb5933120 in KDevelop::IndexedType::abstractType (this=0xa7b55b78) at /usr/src/debug/kdevplatform-1.2.0/language/duchain/types/indexedtype.cpp:58 #11 0xa6e5d096 in makeSignatureString (signature=..., visibilityFrom=0x88ce710) at /usr/src/debug/kdevelop-4.2.0/languages/cpp/codegen/signatureassistant.cpp:159 #12 0xa6e6091a in AdaptSignatureAction::execute (this=0xa125cf18) at /usr/src/debug/kdevelop-4.2.0/languages/cpp/codegen/signatureassistant.cpp:245 #13 0xb75ad266 in KDevelop::IAssistantAction::qt_metacall (this=0xa125cf18, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x937bbc8) at /usr/src/debug/kdevplatform-1.2.0/build/interfaces/iassistant.moc:74 #14 0xb6e988cd in QMetaObject::metacall (object=0xa125cf18, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0x937bbc8) at kernel/qmetaobject.cpp:237 #15 0xb6ea33a5 in QMetaCallEvent::placeMetaCall (this=0x8e85320, object=0xa125cf18) at kernel/qobject.cpp:534 #16 0xb6ea75af in QObject::event (this=0xa125cf18, e=0x8e85320) at kernel/qobject.cpp:1211 #17 0xb63ba414 in QApplicationPrivate::notify_helper (this=0x8086cd0, receiver=0xa125cf18, e=0x8e85320) at kernel/qapplication.cpp:4445 #18 0xb63c30c7 in QApplication::notify (this=0xbfdd10b8, receiver=0xa125cf18, e=0x8e85320) at kernel/qapplication.cpp:3845 #19 0xb71831f1 in KApplication::notify (this=0xbfdd10b8, receiver=0xa125cf18, event=0x8e85320) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311 #20 0x0804c00d in KDevelopApplication::notify (this=0xbfdd10b8, receiver=0xa125cf18, event=0x8e85320) at /usr/src/debug/kdevelop-4.2.0/app/main.cpp:90 #21 0xb6e91fde in QCoreApplication::notifyInternal (this=0xbfdd10b8, receiver=0xa125cf18, event=0x8e85320) at kernel/qcoreapplication.cpp:732 #22 0xb6e95d6c in sendEvent (receiver=0x0, event_type=0, data=0x805e230) at kernel/qcoreapplication.h:215 #23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x805e230) at kernel/qcoreapplication.cpp:1373 #24 0xb6e95ebc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266 #25 0xb6ec05e4 in sendPostedEvents (s=0x80954a8) at kernel/qcoreapplication.h:220 #26 postEventSourceDispatch (s=0x80954a8) at kernel/qeventdispatcher_glib.cpp:277 #27 0xb5332509 in g_main_dispatch (context=0x8094a70) at gmain.c:2440 #28 g_main_context_dispatch (context=0x8094a70) at gmain.c:3013 #29 0xb5332d10 in g_main_context_iterate (context=0x8094a70, block=1, dispatch=1, self=0x8086ed0) at gmain.c:3091 #30 0xb5332fce in g_main_context_iteration (context=0x8094a70, may_block=1) at gmain.c:3154 #31 0xb6ec076b in QEventDispatcherGlib::processEvents (this=0x8061c18, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #32 0xb647055a in QGuiEventDispatcherGlib::processEvents (this=0x8061c18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #33 0xb6e912bd in QEventLoop::processEvents (this=0xbfdd0e44, flags=...) at kernel/qeventloop.cpp:149 #34 0xb6e914e9 in QEventLoop::exec (this=0xbfdd0e44, flags=...) at kernel/qeventloop.cpp:201 #35 0xb6e95f90 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #36 0xb63b8104 in QApplication::exec () at kernel/qapplication.cpp:3719 #37 0x08053503 in main (argc=, argv=0x0) at /usr/src/debug/kdevelop-4.2.0/app/main.cpp:468 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