Application: kdevelop (4.0.1 (using KDevPlatform 1.0.1)) KDE Platform Version: 4.5.00 (KDE 4.5.0) Qt Version: 4.6.3 Operating System: Linux 2.6.34-12-desktop x86_64 Distribution: "openSUSE 11.3 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: start kdevelop4 -> open some remote php files.. close the last tab.. kdevelop crashs The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Segmentation fault [Current thread is 1 (Thread 0x7f77bc8ec760 (LWP 9269))] Thread 5 (Thread 0x7f77a5ff8710 (LWP 9271)): #0 0x00007f77b9b89709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f77bb0ed222 in wait (this=<value optimized out>, mutex=0x86c560, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x86c560, time=200000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f77b6c9f77e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x86c540) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchain.cpp:286 #4 0x00007f77bb0ecbf5 in QThreadPrivate::start (arg=0x86c540) at thread/qthread_unix.cpp:248 #5 0x00007f77b9b84a4f in start_thread () from /lib64/libpthread.so.0 #6 0x00007f77b9e6b82d in clone () from /lib64/libc.so.6 #7 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f779b8b6710 (LWP 9275)): #0 0xffffffffff600177 in ?? () #1 0x00007fff5b7ff7a1 in ?? () #2 0x00007f77b469e2a3 in clock_gettime () from /lib64/librt.so.1 #3 0x00007f77bb1f95ff in qt_gettime () at kernel/qcore_unix.cpp:111 #4 0x00007f77bb1fcf4d in QTimerInfoList::updateCurrentTime (this=0xc4ce60) at kernel/qeventdispatcher_unix.cpp:340 #5 0x00007f77bb1fd2d5 in QTimerInfoList::timerWait (this=0xc4ce60, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #6 0x00007f77bb1fbf0c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f779b8b5c8c) at kernel/qeventdispatcher_glib.cpp:136 #7 0x00007f77bb1fbfb5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169 #8 0x00007f77b43f5f7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #9 0x00007f77b43f6e69 in ?? () from /usr/lib64/libglib-2.0.so.0 #10 0x00007f77b43f7510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #11 0x00007f77bb1fc6d6 in QEventDispatcherGlib::processEvents (this=0xba5ec0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #12 0x00007f77bb1d3292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #13 0x00007f77bb1d3495 in QEventLoop::exec (this=0x7f779b8b5e20, flags=...) at kernel/qeventloop.cpp:201 #14 0x00007f77bb0ea2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #15 0x00007f77bb0ecbf5 in QThreadPrivate::start (arg=0xc30800) at thread/qthread_unix.cpp:248 #16 0x00007f77b9b84a4f in start_thread () from /lib64/libpthread.so.0 #17 0x00007f77b9e6b82d in clone () from /lib64/libc.so.6 #18 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f7796010710 (LWP 9299)): #0 0x00007f77b9b8939c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f77bb0ed2bb in wait (this=<value optimized out>, mutex=0x78cb20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x78cb20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f77b13753f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa40160, th=0x1864170) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f77b1377e35 in waitForAvailableJob (this=0x9a0120, th=0x1864170) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:356 #5 ThreadWeaver::WorkingHardState::applyForWork (this=0x9a0120, th=0x1864170) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:71 #6 0x00007f77b13757ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f779600fe30, parent=0xa40160, th=0x1864170) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:87 #7 0x00007f77b1375878 in ThreadWeaver::Thread::run (this=0x1864170) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:142 #8 0x00007f77bb0ecbf5 in QThreadPrivate::start (arg=0x1864170) at thread/qthread_unix.cpp:248 #9 0x00007f77b9b84a4f in start_thread () from /lib64/libpthread.so.0 #10 0x00007f77b9e6b82d in clone () from /lib64/libc.so.6 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f7795453710 (LWP 9301)): #0 0x00007f77b9b8939c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f77bb0ed2bb in wait (this=<value optimized out>, mutex=0x78cb20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x78cb20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f77b13753f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa40160, th=0x1865280) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f77b1377e35 in waitForAvailableJob (this=0x9a0120, th=0x1865280) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:356 #5 ThreadWeaver::WorkingHardState::applyForWork (this=0x9a0120, th=0x1865280) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:71 #6 0x00007f77b1377e4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a0120, th=0x1865280) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:74 #7 0x00007f77b13757ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f7795452e30, parent=0xa40160, th=0x1865280) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:87 #8 0x00007f77b1375878 in ThreadWeaver::Thread::run (this=0x1865280) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:142 #9 0x00007f77bb0ecbf5 in QThreadPrivate::start (arg=0x1865280) at thread/qthread_unix.cpp:248 #10 0x00007f77b9b84a4f in start_thread () from /lib64/libpthread.so.0 #11 0x00007f77b9e6b82d in clone () from /lib64/libc.so.6 #12 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f77bc8ec760 (LWP 9269)): [KCrash Handler] #6 0x00007f77bb0e858e in fetchAndAddOrdered (this=0x19c0810, timeout=<value optimized out>) at ../../src/corelib/arch/qatomic_x86_64.h:164 #7 fetchAndAddAcquire (this=0x19c0810, timeout=<value optimized out>) at ../../src/corelib/arch/qatomic_x86_64.h:297 #8 QMutex::tryLock (this=0x19c0810, timeout=<value optimized out>) at thread/qmutex.cpp:324 #9 0x00007f77b6c60b33 in OptionalMutexLocker (this=0x233d5e0) at /usr/src/debug/kdevplatform-1.0.1/language/editor/documentrangeobject.cpp:67 #10 KDevelop::DocumentRangeObject::syncFromSmart (this=0x233d5e0) at /usr/src/debug/kdevplatform-1.0.1/language/editor/documentrangeobject.cpp:83 #11 0x00007f77b6c61139 in KDevelop::DocumentRangeObject::range (this=<value optimized out>) at /usr/src/debug/kdevplatform-1.0.1/language/editor/documentrangeobject.cpp:217 #12 0x00007f77b6d0f7ab in declarationUnderCursor (c=..., ctx=0x12790a0) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchainutils.cpp:261 #13 0x00007f77b6d0f9f8 in KDevelop::DUChainUtils::itemUnderCursor (url=<value optimized out>, c=...) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchainutils.cpp:286 #14 0x00007f779727d057 in ContextBrowserPlugin::findDeclaration (this=0xf44150, view=<value optimized out>, position=..., mouseHighlight=<value optimized out>) at /usr/src/debug/kdevplatform-1.0.1/plugins/contextbrowser/contextbrowser.cpp:557 #15 0x00007f7797282f32 in ContextBrowserPlugin::updateBrowserWidgetFor (this=0xf44150, view=0x1866bd0) at /usr/src/debug/kdevplatform-1.0.1/plugins/contextbrowser/contextbrowser.cpp:696 #16 0x00007f779728336c in ContextBrowserPlugin::updateViews (this=0xf44150) at /usr/src/debug/kdevplatform-1.0.1/plugins/contextbrowser/contextbrowser.cpp:726 #17 0x00007f7797284b24 in ContextBrowserPlugin::qt_metacall (this=0xf44150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5b7125a0) at /usr/src/debug/kdevplatform-1.0.1/build/plugins/contextbrowser/contextbrowser.moc:127 #18 0x00007f77bb1e7a1f in QMetaObject::activate (sender=0xf4c1b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295 #19 0x00007f77bb1e522e in QObject::event (this=0xf4c1b0, e=0x7fff5b712d40) at kernel/qobject.cpp:1212 #20 0x00007f77ba5c54d4 in QApplicationPrivate::notify_helper (this=0x673870, receiver=0xf4c1b0, e=0x7fff5b712d40) at kernel/qapplication.cpp:4302 #21 0x00007f77ba5cdaca in QApplication::notify (this=<value optimized out>, receiver=0xf4c1b0, e=0x7fff5b712d40) at kernel/qapplication.cpp:4185 #22 0x00007f77bb6690b6 in KApplication::notify (this=0x7fff5b713320, receiver=0xf4c1b0, event=0x7fff5b712d40) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310 #23 0x00007f77bb1d3e4c in QCoreApplication::notifyInternal (this=0x7fff5b713320, receiver=0xf4c1b0, event=0x7fff5b712d40) at kernel/qcoreapplication.cpp:726 #24 0x00007f77bb1ff0c9 in sendEvent (this=0x677650) at kernel/qcoreapplication.h:215 #25 QTimerInfoList::activateTimers (this=0x677650) at kernel/qeventdispatcher_unix.cpp:618 #26 0x00007f77bb1fbfd4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #27 0x00007f77b43f6a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #28 0x00007f77b43f7270 in ?? () from /usr/lib64/libglib-2.0.so.0 #29 0x00007f77b43f7510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f77bb1fc67f in QEventDispatcherGlib::processEvents (this=0x619d10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #31 0x00007f77ba66614e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #32 0x00007f77bb1d3292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #33 0x00007f77bb1d3495 in QEventLoop::exec (this=0x7fff5b7130d0, flags=...) at kernel/qeventloop.cpp:201 #34 0x00007f77bb1d788b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #35 0x00000000004088d8 in _start () Reported using DrKonqi
*** Bug 247729 has been marked as a duplicate of this bug. ***
*** Bug 226210 has been marked as a duplicate of this bug. ***
anyone an idea on this? looks like quite different places show up a crash in syncFromSmart. All of them some invalid ptr adress... @reporters: if it's reproducible, please run kdevelop through valgrind and send us the log.
*** Bug 247828 has been marked as a duplicate of this bug. ***
*** Bug 247884 has been marked as a duplicate of this bug. ***
still waiting, should be fixed with 4.2 / movingranges anways (at least so I hope).
*** Bug 254405 has been marked as a duplicate of this bug. ***
*** Bug 226175 has been marked as a duplicate of this bug. ***
*** Bug 256113 has been marked as a duplicate of this bug. ***
*** Bug 259101 has been marked as a duplicate of this bug. ***
might be related to 215131 (i.e. that one is maybe not really fixed yet) a valgrind log would really be helpful: valgrind --track-origins=yes --num-callers=25 kdevelop (in kdevelop 4.1.1 or higher if you can reproduce that crash)
Not related to 215131. Possible that an already-destroyed declaration or context is accessed like in the other bug, but the bug is in the code that calls into such a deleted declaration. Maybe there's some place where DeclarationPointer should be used but isn't.
Maybe it's a problem in the php support (maybe it deletes declarations somewhere without a write-lock?). Needs a valgrind log I guess.
quite probably, I wonder why that is not asserted though. I've also added some DeclarationPointers recently, maybe that was related and fixed by that - dunno... a valgrind report would make sure I can fix it for good though, so please anyone: try to reproduce and give a valgrind log!
*** Bug 261514 has been marked as a duplicate of this bug. ***
*** Bug 266273 has been marked as a duplicate of this bug. ***
*** Bug 268264 has been marked as a duplicate of this bug. ***
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!
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!