Bug 214561

Summary: Edited constructor parameter after moving a struct from one h file to another
Product: [Applications] kdevelop Reporter: Bob Builder <ficoos>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bob Builder 2009-11-14 19:26:52 UTC
Application that crashed: kdevelop
Version of the application: 3.9.96 (using KDevPlatform 0.9.96)
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I've created a new header file and moved a structure form a different h to this one. Probably a problem with the indexer.

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

Thread 7 (Thread 0xb4567b70 (LWP 31536)):
#0  0x00f46422 in __kernel_vsyscall ()
#1  0x00b92142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x08a017e4 in __pthread_cond_timedwait (cond=0x90b0b38, mutex=0x90b0b20, abstime=0xb45672c0) at forward.c:152
#3  0x054f7def in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x06e38365 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x90afb80) at /home/saggi/Downloads/kdevplatform-0.9.96/language/duchain/duchain.cpp:280
#5  0x054f6e32 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00b8d80e in start_thread (arg=0xb4567b70) at pthread_create.c:300
#7  0x089f47ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb1d3bb70 (LWP 31543)):
#0  __i686.get_pc_thunk.bx () at ../sysdeps/i386/i686/memcmp.S:52
#1  0x08a0192b in pthread_mutex_lock (mutex=0x96726c4) at forward.c:182
#2  0x016eba31 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x016ec46c in ?? () from /lib/libglib-2.0.so.0
#4  0x016ec853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x05612067 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x055e5c79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x055e60ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x054f3b73 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x06f3f050 in KDevelop::CompletionWorkerThread::run (this=0x9672170) at /home/saggi/Downloads/kdevplatform-0.9.96/language/codecompletion/codecompletionmodel.cpp:82
#10 0x054f6e32 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00b8d80e in start_thread (arg=0xb1d3bb70) at pthread_create.c:300
#12 0x089f47ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb253cb70 (LWP 31544)):
#0  0x00f7ce06 in *__GI_clock_gettime (clock_id=16257012, tp=0xb253c018) at ../sysdeps/unix/clock_gettime.c:100
#1  0x05613bf3 in ?? () from /usr/lib/libQtCore.so.4
#2  0x05613de1 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0561488c in ?? () from /usr/lib/libQtCore.so.4
#4  0x05612210 in ?? () from /usr/lib/libQtCore.so.4
#5  0x016ebf80 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x016ec341 in ?? () from /lib/libglib-2.0.so.0
#7  0x016ec853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x05612067 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x055e5c79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x055e60ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x054f3b73 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x06f3f050 in KDevelop::CompletionWorkerThread::run (this=0x9671ba0) at /home/saggi/Downloads/kdevplatform-0.9.96/language/codecompletion/codecompletionmodel.cpp:82
#13 0x054f6e32 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00b8d80e in start_thread (arg=0xb253cb70) at pthread_create.c:300
#15 0x089f47ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently asm".

Thread 4 (Thread 0xb031cb70 (LWP 31545)):
#0  0x00f46422 in __kernel_vsyscall ()
#1  0x00b92142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x08a017e4 in __pthread_cond_timedwait (cond=0xb031c234, mutex=0xb031c264, abstime=0xb031c2b0) at forward.c:152
#3  0x054f681e in ?? () from /usr/lib/libQtCore.so.4
#4  0x054f6973 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#5  0x02b04dfb in UIBlockTester::UIBlockTesterThread::run (this=0x967a750) at /home/saggi/Downloads/kdevelop-3.9.96/languages/cpp/cpplanguagesupport.cpp:647
#6  0x054f6e32 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00b8d80e in start_thread (arg=0xb031cb70) at pthread_create.c:300
#8  0x089f47ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 3 (Thread 0xaf6fcb70 (LWP 31548)):
#0  0x00f46422 in __kernel_vsyscall ()
#1  0x00b91e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x08a0178d in __pthread_cond_wait (cond=0x9044c90, mutex=0x9044c78) at forward.c:139
#3  0x054f7e67 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x00154b30 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0015719c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x001531fb in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00157292 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00154db3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x001553be in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x001559db in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0x054f6e32 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00b8d80e in start_thread (arg=0xaf6fcb70) at pthread_create.c:300
#13 0x089f47ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaeefbb70 (LWP 31549)):
#0  0x00f46422 in __kernel_vsyscall ()
#1  0x00b91e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x08a0178d in __pthread_cond_wait (cond=0x9044c90, mutex=0x9044c78) at forward.c:139
#3  0x054f7e67 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x00154b30 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0015719c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x001531fb in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00157292 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00154db3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x001572b1 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00154db3 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x001553be in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x001559db in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0x054f6e32 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00b8d80e in start_thread (arg=0xaeefbb70) at pthread_create.c:300
#15 0x089f47ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7727700 (LWP 31535)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#7  0x0a9e7368 in ?? ()
#8  0x02b806c4 in QString::operator+= (signature=) at /usr/include/qt4/QtCore/qstring.h:269
#9  operator+ (signature=) at /usr/include/qt4/QtCore/qstring.h:1014
#10 makeSignatureString (signature=) at /home/saggi/Downloads/kdevelop-3.9.96/languages/cpp/codegen/signatureassistant.cpp:159
#11 0x02b84da5 in AdaptSignatureAction::description (this=0xa998a48) at /home/saggi/Downloads/kdevelop-3.9.96/languages/cpp/codegen/signatureassistant.cpp:177
#12 0x001c329f in AssistantPopup::widgetForAction (this=0xb096f20, action=...) at /home/saggi/Downloads/kdevplatform-0.9.96/shell/assistantpopup.cpp:94
#13 0x001c3a5b in AssistantPopup::updateActions (this=0xb096f20) at /home/saggi/Downloads/kdevplatform-0.9.96/shell/assistantpopup.cpp:53
#14 0x001c3ef5 in AssistantPopup (this=0xb096f20, parent=0xad99a038, assistant=...) at /home/saggi/Downloads/kdevplatform-0.9.96/shell/assistantpopup.cpp:77
#15 0x001db479 in KDevelop::UiController::popUpAssistant (this=0x8e6d250, assistant=...) at /home/saggi/Downloads/kdevplatform-0.9.96/shell/uicontroller.cpp:636
#16 0x001da23b in KDevelop::UiController::assistantActionsChanged (this=0x8e6d250) at /home/saggi/Downloads/kdevplatform-0.9.96/shell/uicontroller.cpp:676
#17 0x001da653 in KDevelop::UiController::qt_metacall (this=0x8e6d250, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe622bc)
    at /home/saggi/Downloads/kdevplatform-0.9.96/build/shell/uicontroller.moc:88
#18 0x055fd263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x055fdec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#20 0x00a7f087 in KDevelop::IAssistant::actionsChanged (this=0xb1ab4b8) at /home/saggi/Downloads/kdevplatform-0.9.96/build/interfaces/iassistant.moc:147
#21 0x02b843a8 in Cpp::AdaptDefinitionSignatureAssistant::parseJobFinished (this=0xb1ab4b8, job=0xb1a40b8) at /home/saggi/Downloads/kdevelop-3.9.96/languages/cpp/codegen/signatureassistant.cpp:322
#22 0x02b8483d in Cpp::AdaptDefinitionSignatureAssistant::qt_metacall (this=0xb1ab4b8, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfe626d8)
    at /home/saggi/Downloads/kdevelop-3.9.96/build/languages/cpp/signatureassistant.moc:69
#23 0x055fd263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#24 0x055fdec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#25 0x06e02623 in KDevelop::BackgroundParser::parseJobFinished (this=0x9041588, _t1=0xb1a40b8) at /home/saggi/Downloads/kdevplatform-0.9.96/build/language/backgroundparser.moc:199
#26 0x06e03335 in KDevelop::BackgroundParser::parseComplete (this=0x9041588, job=0xb1a40b8) at /home/saggi/Downloads/kdevplatform-0.9.96/language/backgroundparser/backgroundparser.cpp:508
#27 0x06e06b48 in KDevelop::BackgroundParser::qt_metacall (this=0x9041588, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfe62948)
    at /home/saggi/Downloads/kdevplatform-0.9.96/build/language/backgroundparser.moc:174
#28 0x055fd263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#29 0x055fdec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#30 0x00155fd3 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#31 0x00158a44 in ThreadWeaver::JobCollection::jobRunnerDone() () from /usr/lib/libthreadweaver.so.4
#32 0x00158b40 in ThreadWeaver::JobCollection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libthreadweaver.so.4
#33 0x00158e42 in ThreadWeaver::JobSequence::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libthreadweaver.so.4
#34 0x06e0ca2a in KDevelop::ParseJob::qt_metacall (this=0xb1a40b8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe62b58) at /home/saggi/Downloads/kdevplatform-0.9.96/build/language/parsejob.moc:103
#35 0x02b13192 in CPPParseJob::qt_metacall (this=0xb1a40b8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe62b58) at /home/saggi/Downloads/kdevelop-3.9.96/build/languages/cpp/cppparsejob.moc:60
#36 0x055fd263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#37 0x055fdec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#38 0x00155fd3 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#39 0x001561a7 in ThreadWeaver::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libthreadweaver.so.4
#40 0x00157e72 in ?? () from /usr/lib/libthreadweaver.so.4
#41 0x055f5f0b in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#42 0x055f75fe in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#43 0x06476f54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#44 0x0647e67c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x0118a14a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#46 0x055e76cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#47 0x055e82b2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#48 0x055e847d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#49 0x056123ff in ?? () from /usr/lib/libQtCore.so.4
#50 0x016e8e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x016ec720 in ?? () from /lib/libglib-2.0.so.0
#52 0x016ec853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0x0561202c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0x06517be5 in ?? () from /usr/lib/libQtGui.so.4
#55 0x055e5c79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0x055e60ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x055e853f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#58 0x06476dd7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#59 0x0804d9db in main (argc=1, argv=0xbfe638d4) at /home/saggi/Downloads/kdevelop-3.9.96/app/main.cpp:193

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-11-14 19:44:15 UTC
looks very much like the libc2.10 problem, please re-open if you can reproduce it with the workaround mentioned in the original report.

*** This bug has been marked as a duplicate of bug 206775 ***