[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 216715] New: When editing function definiton's header line,
From:       Máté Soós <msoos () freemail ! hu>
Date:       2009-11-29 19:18:34
Message-ID: bug-216715-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=216715

           Summary: When editing function definiton's header line,
                    KDevelop crashes, always
           Product: kdevelop
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: msoos@freemail.hu


Application that crashed: kdevelop
Version of the application: 3.9.96 (using KDevPlatform 0.9.96)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.3 (lenny)

What I was doing when the application crashed:
I edited the function definition (in the .cpp file):

uint Gaussian::eliminate(matrixset& m, uint& conflict_row)
{
...
}

(note: function was declared in a separate, .h file)

to something like

uint Gaussian::eliminate(matrixset& m, uint& conflict_row, uint&)
{
...
}

I never actually managed to write anything after "uint&", since kdevelop
crashed. I can do this with any function definition in my program. It is so
reproducabe, that I actually edit all my func. definition's headers in
vim/emacs, as kdevelop _always_ crashes... If you need any more of these
tracebacks, just contact me, I can provide any number of them.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fa80bb47750 (LWP 4284))]

Thread 7 (Thread 0x7fa7f7e59910 (LWP 4285)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fa8088c5477 in QWaitConditionPrivate::wait (this=0x2497628,
mutex=0x2497630, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x2497628, mutex=0x2497630, time=200000) at
thread/qwaitcondition_unix.cpp:159
#3  0x00007fa8057d6ece in KDevelop::DUChainPrivate::CleanupThread::run() ()
from /usr/lib/libkdevplatformlanguage.so.1
#4  0x00007fa8088c44a5 in QThreadPrivate::start (arg=0x2497610) at
thread/qthread_unix.cpp:188
#5  0x00007fa80347e73a in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fa806fc22fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa7eb424910 (LWP 4316)):
#0  QTimerInfoList::repairTimersIfNeeded (this=0x3e7f130) at
kernel/qeventdispatcher_unix.cpp:363
#1  0x00007fa8089d44a6 in QTimerInfoList::timerWait (this=0x3e7f130, tm=...) at
kernel/qeventdispatcher_unix.cpp:421
#2  0x00007fa8089d256c in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0x7fa7eb423ec4) at kernel/qeventdispatcher_glib.cpp:136
#3  0x00007fa8089d2615 in timerSourcePrepare (source=0x3e7f130,
timeout=0x7fa7eb423dc0) at kernel/qeventdispatcher_glib.cpp:169
#4  0x00007fa8025b22e9 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#5  0x00007fa8025b2679 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007fa8025b2b3c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#7  0x00007fa8089d23b6 in QEventDispatcherGlib::processEvents (this=0x3e80450,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#8  0x00007fa8089a8562 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fa8089a8934 in QEventLoop::exec (this=0x7fa7eb424050, flags=...) at
kernel/qeventloop.cpp:201
#10 0x00007fa8088c15a8 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#11 0x00007fa8088c44a5 in QThreadPrivate::start (arg=0x3e7f270) at
thread/qthread_unix.cpp:188
#12 0x00007fa80347e73a in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#13 0x00007fa806fc22fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7fa7eac23910 (LWP 4317)):
#0  0x00007fa803480caf in __pthread_mutex_lock (mutex=0x3e81d78) at
pthread_mutex_lock.c:62
#1  0x00007fa8025adb73 in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0x00007fa8025b26a7 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fa8025b2b3c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#4  0x00007fa8089d23b6 in QEventDispatcherGlib::processEvents (this=0x3e81c90,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007fa8089a8562 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa8089a8934 in QEventLoop::exec (this=0x7fa7eac23050, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007fa8088c15a8 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007fa8088c44a5 in QThreadPrivate::start (arg=0x363bdb0) at
thread/qthread_unix.cpp:188
#9  0x00007fa80347e73a in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007fa806fc22fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently c++".

Thread 4 (Thread 0x7fa7ea422910 (LWP 4318)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fa8088c3f15 in thread_sleep (ti=0x7fa7ea422000) at
thread/qthread_unix.cpp:297
#2  0x00007fa8088c406e in QThread::msleep (msecs=30) at
thread/qthread_unix.cpp:323
#3  0x00007fa7ebbf2e71 in UIBlockTester::UIBlockTesterThread::run
(this=0x3e85940) at
/home/soos/tmp/kdevel2/kdevelop-3.9.96/languages/cpp/cpplanguagesupport.cpp:647
#4  0x00007fa8088c44a5 in QThreadPrivate::start (arg=0x3e85940) at
thread/qthread_unix.cpp:188
#5  0x00007fa80347e73a in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fa806fc22fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7fa7e9393910 (LWP 4383)):
#0  0x00007fa806f938e1 in nanosleep () from /lib/libc.so.6
#1  0x00007fa806fbc394 in usleep (useconds=<value optimized out>) at
../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007fa80581eb9d in KDevelop::DUChainLock::lockForWrite (this=0x249dc98,
timeout=10000) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/language/duchain/duchainlock.cpp:301
#3  0x00007fa80581ed24 in KDevelop::DUChainWriteLocker::lock
(this=0x7fa7e9392c20) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/language/duchain/duchainlock.cpp:411
#4  0x00007fa7ebc10575 in PreprocessJob::run (this=0x5af1990) at
/home/soos/tmp/kdevel2/kdevelop-3.9.96/languages/cpp/preprocessjob.cpp:271
#5  0x00007fa80a0fa7ec in ThreadWeaver::JobRunHelper::runTheJob
(this=0x7fa7e9392fa0, th=0x44580c0, job=0x5af1990) at
../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007fa80a0fab0f in ThreadWeaver::Job::execute (this=0x5af1990,
th=0x44580c0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007fa80a0fbe93 in ThreadWeaver::JobCollectionJobRunner::execute
(this=0x502d240, t=0x44580c0) at
../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007fa80a0f9aef in ThreadWeaver::ThreadRunHelper::run
(this=0x7fa7e9393050, parent=0x23e33f0, th=0x44580c0) at
../../../threadweaver/Weaver/Thread.cpp:95
#9  0x00007fa80a0f9f59 in ThreadWeaver::Thread::run (this=0x44580c0) at
../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007fa8088c44a5 in QThreadPrivate::start (arg=0x44580c0) at
thread/qthread_unix.cpp:188
#11 0x00007fa80347e73a in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#12 0x00007fa806fc22fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7fa7e8b92910 (LWP 4384)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa8088c5499 in QWaitConditionPrivate::wait (this=0x23e3418,
mutex=0x23e3900, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x23e3418, mutex=0x23e3900,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa80a0f8e04 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23e33f0,
th=0x4337f20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa80a0fb54b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x23e39e0, th=0x4337f20) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa80a0f9b1f in ThreadWeaver::ThreadRunHelper::run
(this=0x7fa7e8b92050, parent=0x23e33f0, th=0x4337f20) at
../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fa80a0f9f59 in ThreadWeaver::Thread::run (this=0x4337f20) at
../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fa8088c44a5 in QThreadPrivate::start (arg=0x4337f20) at
thread/qthread_unix.cpp:188
#8  0x00007fa80347e73a in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9  0x00007fa806fc22fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 1 (Thread 0x7fa80bb47750 (LWP 4284)):
[KCrash Handler]
#5  0x00007fa7ebc65375 in makeSignatureString (signature=...,
visibilityFrom=0x4eb5ee0) at
/home/soos/tmp/kdevel2/kdevelop-3.9.96/languages/cpp/codegen/signatureassistant.cpp:158
#6  0x00007fa7ebc693db in AdaptSignatureAction::description() const () from
/usr/lib/kde4/kdevcpplanguagesupport.so
#7  0x00007fa80b117418 in AssistantPopup::widgetForAction (this=0x5c197c0,
action=<value optimized out>) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/shell/assistantpopup.cpp:94
#8  0x00007fa80b117ce9 in AssistantPopup::updateActions (this=0x5c197c0) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/shell/assistantpopup.cpp:53
#9  0x00007fa80b11815c in AssistantPopup (this=0x5c197c0, parent=<value
optimized out>, assistant=<value optimized out>) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/shell/assistantpopup.cpp:77
#10 0x00007fa80b12d8b7 in KDevelop::UiController::popUpAssistant
(this=0x2064700, assistant=...) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/shell/uicontroller.cpp:636
#11 0x00007fa80b12c9de in KDevelop::UiController::assistantActionsChanged
(this=0x2064700) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/shell/uicontroller.cpp:676
#12 0x00007fa80b12cb48 in KDevelop::UiController::qt_metacall (this=0x2064700,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffc53dc70)
    at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/build/shell/uicontroller.moc:88
#13 0x00007fa8089bedf2 in QMetaObject::activate (sender=0x4939ee0,
from_signal_index=<value optimized out>, to_signal_index=5, argv=0x6e0069) at
kernel/qobject.cpp:3112
#14 0x00007fa7ebc689c9 in
Cpp::AdaptDefinitionSignatureAssistant::parseJobFinished (this=0x4939ee0,
job=<value optimized out>)
    at
/home/soos/tmp/kdevel2/kdevelop-3.9.96/languages/cpp/codegen/signatureassistant.cpp:322
#15 0x00007fa7ebc69063 in Cpp::AdaptDefinitionSignatureAssistant::qt_metacall
(this=0x4939ee0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffffc53e420)
    at
/home/soos/tmp/kdevel2/kdevelop-3.9.96/build/languages/cpp/signatureassistant.moc:69
#16 0x00007fa8089bedf2 in QMetaObject::activate (sender=0x23dd5c0,
from_signal_index=<value optimized out>, to_signal_index=4, argv=0x6e0069) at
kernel/qobject.cpp:3112
#17 0x00007fa8057a365f in KDevelop::BackgroundParser::parseJobFinished
(this=0x7fa807245e40, _t1=0x4939770) at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/build/language/backgroundparser.moc:199
#18 0x00007fa8057a4297 in KDevelop::BackgroundParser::parseComplete
(this=0x23dd5c0, job=<value optimized out>)
    at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/language/backgroundparser/backgroundparser.cpp:508
#19 0x00007fa8057a7c74 in KDevelop::BackgroundParser::qt_metacall
(this=0x23dd5c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7ffffc53e820)
    at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/build/language/backgroundparser.moc:174
#20 0x00007fa8089bedf2 in QMetaObject::activate (sender=0x4939770,
from_signal_index=<value optimized out>, to_signal_index=5, argv=0x6e0069) at
kernel/qobject.cpp:3112
#21 0x00007fa80a0fa4f2 in ThreadWeaver::Job::done (this=0x7fa807245e40,
_t1=0x4939770) at ./Job.moc:91
#22 0x00007fa80a0fc945 in ThreadWeaver::JobCollection::qt_metacall
(this=0x4939770, _c=QMetaObject::InvokeMetaMethod, _id=112, _a=0x7ffffc53e9e0)
at ./JobCollection.moc:69
#23 0x00007fa8057acf2d in KDevelop::ParseJob::qt_metacall (this=0x7fa807245e40,
_c=QMetaObject::InvokeMetaMethod, _id=-32, _a=0x6e0069)
    at
/home/soos/tmp/kdevel2/kdevplatform-0.9.96/build/language/parsejob.moc:103
#24 0x00007fa8089bedf2 in QMetaObject::activate (sender=0x492d280,
from_signal_index=<value optimized out>, to_signal_index=5, argv=0x6e0069) at
kernel/qobject.cpp:3112
#25 0x00007fa80a0fa4f2 in ThreadWeaver::Job::done (this=0x7fa807245e40,
_t1=0x492d280) at ./Job.moc:91
#26 0x00007fa80a0fa678 in ThreadWeaver::Job::qt_metacall (this=0x492d280,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fa7f23898c0) at ./Job.moc:71
#27 0x00007fa8089b96c8 in QObject::event (this=0x492d280, e=0x7fa7f0fc3d20) at
kernel/qobject.cpp:1110
#28 0x00007fa807bca01d in QApplicationPrivate::notify_helper (this=0x1ec0ad0,
receiver=0x492d280, e=0x7fa7f0fc3d20) at kernel/qapplication.cpp:4065
#29 0x00007fa807bd207a in QApplication::notify (this=0x7ffffc53f440,
receiver=0x492d280, e=0x7fa7f0fc3d20) at kernel/qapplication.cpp:4030
#30 0x00007fa8091390db in KApplication::notify (this=0x7ffffc53f440,
receiver=0x492d280, event=0x7fa7f0fc3d20) at
../../kdeui/kernel/kapplication.cpp:302
#31 0x00007fa8089a9c9c in QCoreApplication::notifyInternal
(this=0x7ffffc53f440, receiver=0x492d280, event=0x7fa7f0fc3d20) at
kernel/qcoreapplication.cpp:610
#32 0x00007fa8089aa8e4 in QCoreApplication::sendEvent (receiver=0x0,
event_type=0, data=0xfe7490) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0xfe7490) at kernel/qcoreapplication.cpp:1247
#34 0x00007fa8089d27d3 in QCoreApplication::sendPostedEvents (s=<value
optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#35 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:276
#36 0x00007fa8025af12a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00007fa8025b2988 in ?? () from /lib/libglib-2.0.so.0
#38 0x00007fa8025b2b3c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#39 0x00007fa8089d239c in QEventDispatcherGlib::processEvents (this=0xfe70c0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#40 0x00007fa807c60f1f in QGuiEventDispatcherGlib::processEvents
(this=0x7fa807245e40, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#41 0x00007fa8089a8562 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fa8089a8934 in QEventLoop::exec (this=0x7ffffc53f310, flags=...) at
kernel/qeventloop.cpp:201
#43 0x00007fa8089aaba4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#44 0x0000000000405edf in main (argc=1, argv=0x7ffffc540608) at
/home/soos/tmp/kdevel2/kdevelop-3.9.96/app/main.cpp:193
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic