Bug 273135 - kdevelop crashed when trying to document declaration
Summary: kdevelop crashed when trying to document declaration
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2011-05-12 16:25 UTC by irshad
Modified: 2018-10-27 02:09 UTC (History)
1 user (show)

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 irshad 2011-05-12 16:25:13 UTC
Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
Steps to reproduce:

1. Open a php project
2. Double click and select a variable
3. Click on the menu 'Code->Document Declaration'
(Document declaration is the only menu item under code menu)

And KDevelop crashes and closes.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb6446710 (LWP 13246))]

Thread 10 (Thread 0xb2bbbb70 (LWP 13247)):
#0  0x004e4416 in __kernel_vsyscall ()
#1  0x00a13834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x00905454 in __pthread_cond_timedwait (cond=0xa0a07f8, mutex=0xa0a07e0, abstime=0xb2bbb2c0) at forward.c:152
#3  0x00abb3e5 in wait (this=0x9e9a784, mutex=0x9e9a788, time=1000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9e9a784, mutex=0x9e9a788, time=1000) at thread/qwaitcondition_unix.cpp:160
#5  0x01dbf75d in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9e9a778) at ../../language/duchain/duchain.cpp:286
#6  0x00abada2 in QThreadPrivate::start (arg=0x9e9a778) at thread/qthread_unix.cpp:320
#7  0x00a0ee99 in start_thread (arg=0xb2bbbb70) at pthread_create.c:304
#8  0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb21ffb70 (LWP 13248)):
#0  0x004e4416 in __kernel_vsyscall ()
#1  0x00a1348c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x009053fd in __pthread_cond_wait (cond=0xa11a5d0, mutex=0xa11a5b8) at forward.c:139
#3  0x00abb467 in wait (this=0xa118e98, mutex=0xa072e60, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa118e98, mutex=0xa072e60, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x0511e7e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa118e80, th=0xa078bd8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0512147c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa073a90, th=0xa078bd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0511e42b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa118e80, th=0xa078bd8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0512156a in ThreadWeaver::WorkingHardState::applyForWork (this=0xa073a90, th=0xa078bd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x0511e373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa118e80, th=0xa078bd8, previous=0xa115240) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0511ff9e in ThreadWeaver::ThreadRunHelper::run (this=0xb21ff2f4, parent=0xa118e80, th=0xa078bd8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x0512005b in ThreadWeaver::Thread::run (this=0xa078bd8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00abada2 in QThreadPrivate::start (arg=0xa078bd8) at thread/qthread_unix.cpp:320
#13 0x00a0ee99 in start_thread (arg=0xb21ffb70) at pthread_create.c:304
#14 0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb19feb70 (LWP 13256)):
#0  0x004e8d41 in clock_gettime (clock_id=1, tp=0xb19fe030) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00b10dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00bdd4f2 in updateCurrentTime (this=0xb221a234, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb221a234, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00bdbd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb19fe10c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00bdbdcd in timerSourcePrepare (source=0xb221a200, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x06e1afd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x06e1be63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x06e1c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00bdc577 in QEventDispatcherGlib::processEvents (this=0xa1aec58, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00bae289 in QEventLoop::processEvents (this=0xb19fe2c0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00bae522 in QEventLoop::exec (this=0xb19fe2c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00ab82a0 in QThread::exec (this=0xa1aef28) at thread/qthread.cpp:492
#14 0x01ecb608 in KDevelop::CompletionWorkerThread::run (this=0xa1aef28) at ../../language/codecompletion/codecompletionmodel.cpp:80
#15 0x00abada2 in QThreadPrivate::start (arg=0xa1aef28) at thread/qthread_unix.cpp:320
#16 0x00a0ee99 in start_thread (arg=0xb19feb70) at pthread_create.c:304
#17 0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xafb68b70 (LWP 13257)):
#0  0x004e8d41 in clock_gettime (clock_id=1, tp=0xafb68000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00b10dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00bdd4f2 in updateCurrentTime (this=0xa31d2c4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xa31d2c4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00bdbd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xafb680dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00bdbdcd in timerSourcePrepare (source=0xa31d290, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x06e1afd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x06e1be63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x06e1c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00bdc577 in QEventDispatcherGlib::processEvents (this=0xa31cf20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00bae289 in QEventLoop::processEvents (this=0xafb68290, flags=...) at kernel/qeventloop.cpp:149
#12 0x00bae522 in QEventLoop::exec (this=0xafb68290, flags=...) at kernel/qeventloop.cpp:201
#13 0x00ab82a0 in QThread::exec (this=0xa31b7c8) at thread/qthread.cpp:492
#14 0x00b8ffdb in QInotifyFileSystemWatcherEngine::run (this=0xa31b7c8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00abada2 in QThreadPrivate::start (arg=0xa31b7c8) at thread/qthread_unix.cpp:320
#16 0x00a0ee99 in start_thread (arg=0xafb68b70) at pthread_create.c:304
#17 0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaf318b70 (LWP 13258)):
#0  0x004e4416 in __kernel_vsyscall ()
#1  0x00a1348c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x009053fd in __pthread_cond_wait (cond=0x25bb2b0, mutex=0x25bb298) at forward.c:139
#3  0x024a2817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x25b61c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x024a2851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x25b61c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00a0ee99 in start_thread (arg=0xaf318b70) at pthread_create.c:304
#6  0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xae334b70 (LWP 13275)):
#0  0x009055fa in pthread_mutex_lock (mutex=0x9e342a4) at forward.c:182
#1  0x06e1b009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x06e1be63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x06e1c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00bdc577 in QEventDispatcherGlib::processEvents (this=0xa706f40, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00bae289 in QEventLoop::processEvents (this=0xae334290, flags=...) at kernel/qeventloop.cpp:149
#6  0x00bae522 in QEventLoop::exec (this=0xae334290, flags=...) at kernel/qeventloop.cpp:201
#7  0x00ab82a0 in QThread::exec (this=0xa6ff208) at thread/qthread.cpp:492
#8  0x00b8ffdb in QInotifyFileSystemWatcherEngine::run (this=0xa6ff208) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00abada2 in QThreadPrivate::start (arg=0xa6ff208) at thread/qthread_unix.cpp:320
#10 0x00a0ee99 in start_thread (arg=0xae334b70) at pthread_create.c:304
#11 0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xadad3b70 (LWP 13318)):
#0  0x004e4416 in __kernel_vsyscall ()
#1  0x00a1348c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x009053fd in __pthread_cond_wait (cond=0xa000680, mutex=0xa000668) at forward.c:139
#3  0x00abb467 in wait (this=0xa0005b0, mutex=0x9f64170, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa0005b0, mutex=0x9f64170, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x0511e7e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa000598, th=0xa5d5708) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0512147c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9fc9210, th=0xa5d5708) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0511e42b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa000598, th=0xa5d5708) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0512156a in ThreadWeaver::WorkingHardState::applyForWork (this=0x9fc9210, th=0xa5d5708) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x0511e373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa000598, th=0xa5d5708, previous=0xa7e97d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0511ff9e in ThreadWeaver::ThreadRunHelper::run (this=0xadad32f4, parent=0xa000598, th=0xa5d5708) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x0512005b in ThreadWeaver::Thread::run (this=0xa5d5708) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00abada2 in QThreadPrivate::start (arg=0xa5d5708) at thread/qthread_unix.cpp:320
#13 0x00a0ee99 in start_thread (arg=0xadad3b70) at pthread_create.c:304
#14 0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xad2d2b70 (LWP 13319)):
#0  0x004e4416 in __kernel_vsyscall ()
#1  0x00a1348c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x009053fd in __pthread_cond_wait (cond=0xa000680, mutex=0xa000668) at forward.c:139
#3  0x00abb467 in wait (this=0xa0005b0, mutex=0x9f64170, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa0005b0, mutex=0x9f64170, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x0511e7e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa000598, th=0xa5d5170) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0512147c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9fc9210, th=0xa5d5170) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0511e42b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa000598, th=0xa5d5170) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0512156a in ThreadWeaver::WorkingHardState::applyForWork (this=0x9fc9210, th=0xa5d5170) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x0511e373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa000598, th=0xa5d5170, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x05121589 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9fc9210, th=0xa5d5170) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x0511e373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa000598, th=0xa5d5170, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x05121589 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9fc9210, th=0xa5d5170) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x0511e373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa000598, th=0xa5d5170, previous=0x9e53698) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x0511ff9e in ThreadWeaver::ThreadRunHelper::run (this=0xad2d22f4, parent=0xa000598, th=0xa5d5170) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x0512005b in ThreadWeaver::Thread::run (this=0xa5d5170) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x00abada2 in QThreadPrivate::start (arg=0xa5d5170) at thread/qthread_unix.cpp:320
#17 0x00a0ee99 in start_thread (arg=0xad2d2b70) at pthread_create.c:304
#18 0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xacac9b70 (LWP 13320)):
#0  0x004e4416 in __kernel_vsyscall ()
#1  0x00a1348c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x009053fd in __pthread_cond_wait (cond=0xb77ab7f0, mutex=0xb77ab7d8) at forward.c:139
#3  0xb71f5b57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x00a0ee99 in start_thread (arg=0xacac9b70) at pthread_create.c:304
#5  0x008f773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb6446710 (LWP 13246)):
[KCrash Handler]
#7  0x09e31550 in ?? ()
#8  0x077ff100 in KateTemplateHandler::KateTemplateHandler (this=0xa6966a8, view=0xad62ad8, position=..., templateString=..., initialValues=..., undoManager=0xa739118, templateScript=0x0) at ../../kate/utils/katetemplatehandler.cpp:121
#9  0x076d778f in KateDocument::insertTemplateTextImplementation (this=0xad6e048, c=..., templateString=..., initialValues=..., templateScript=0x0, view=0xad62ad8) at ../../kate/document/katedocument.cpp:4666
#10 0x0775e1ab in KateView::insertTemplateTextImplementation (this=0xad62ad8, c=..., templateString=..., initialValues=...) at ../../kate/view/kateview.cpp:2000
#11 0x00fdf61b in KTextEditor::TemplateInterface::insertTemplateText (this=0xad62b08, insertPosition=..., templateString=..., initialValues=...) at ../../../interfaces/ktexteditor/templateinterface.cpp:251
#12 0x06042235 in CodeUtilsPlugin::documentDeclaration (this=0xa149f00) at ../../../plugins/codeutils/codeutilsplugin.cpp:149
#13 0x06040dd1 in CodeUtilsPlugin::qt_metacall (this=0xa149f00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf854308) at moc_codeutilsplugin.cpp:74
#14 0x00bb56ba in QMetaObject::metacall (object=0xa149f00, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xbf854308) at kernel/qmetaobject.cpp:237
#15 0x00bc54ff in QMetaObject::activate (sender=0xa152f70, m=0x1a513f8, local_signal_index=1, argv=0xbf854308) at kernel/qobject.cpp:3287
#16 0x011198d9 in QAction::triggered (this=0xa152f70, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#17 0x01119b38 in QAction::activate (this=0xa152f70, event=QAction::Trigger) at kernel/qaction.cpp:1257
#18 0x015ab8ad in QMenuPrivate::activateCausedStack (this=0xa065648, causedStack=..., action=0xa152f70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#19 0x015b216b in QMenuPrivate::activateAction (this=0xa065648, action=0xa152f70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#20 0x015b2ffe in QMenu::mouseReleaseEvent (this=0xa029990, e=0xbf854bd4) at widgets/qmenu.cpp:2306
#21 0x003cecf4 in KMenu::mouseReleaseEvent (this=0xa029990, e=0xbf854bd4) at ../../kdeui/widgets/kmenu.cpp:458
#22 0x0117913a in QWidget::event (this=0xa029990, event=0xbf854bd4) at kernel/qwidget.cpp:8259
#23 0x015b34d7 in QMenu::event (this=0xa029990, e=0xbf854bd4) at widgets/qmenu.cpp:2415
#24 0x01120d24 in QApplicationPrivate::notify_helper (this=0x9d66388, receiver=0xa029990, e=0xbf854bd4) at kernel/qapplication.cpp:4462
#25 0x01126201 in QApplication::notify (this=0xbf855628, receiver=0xa029990, e=0xbf854bd4) at kernel/qapplication.cpp:4023
#26 0x002f13ca in KApplication::notify (this=0xbf855628, receiver=0xa029990, event=0xbf854bd4) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x0804ba8c in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2011-08-27 17:00:25 UTC
cannot reproduce, can you please give me an example file with exact steps on what to select and when to trigger the action to reproduce the crash?
Comment 2 Andrew Crouthamel 2018-09-22 02:05:28 UTC
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!
Comment 3 Andrew Crouthamel 2018-10-27 02:09:10 UTC
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!