[Bug 230397] New: kdevelop 3.9.98 kdevplatform 0.9.98

Youssief egad at site.uottawa.ca
Fri Mar 12 00:37:29 GMT 2010


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

           Summary: kdevelop 3.9.98 kdevplatform 0.9.98
           Product: kde
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: egad at site.uottawa.ca


Application that crashed: kdevelop.bin
Version of the application: 3.9.98 (using KDevPlatform 0.9.98)
KDE Version: 4.3.2 (KDE 4.3.2)
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:
That carsh occured with a very simple project consisting of only one file
(main.cpp) shown next,
------------------------------------------------------------------------------- 
#include <iostream> 
#include <list> 

int main(int argc, char **argv) { 

std::list<double> mylist; <--------- line #1 
mylist.push_back(3.01); <--------- line #2 
std::cout << "Hello, world!" << std::endl; <--------- line #3 

return 0; 
} 
------------------------------------------------------------------------------- 

I set a breakpoint at line # 2, where I step into the "push_back" member
function. 
Subsequently, the file stl_list.h opens but only momentarily, and immediately
after that execution runs to the end of the program producing the "Hello,
world!" message in the Debug window, and "main.cpp" pops again. 

The project was created in the most straightforward manner using the project
creation wizard, with a minimal CMakeLists.txt, as shown below. 

------------------------------------------------------------------------------ 
PROJECT(test1) 

ADD_EXECUTABLE(test1 main.cpp) 
------------------------------------------------------------------------------ 
After I tried to run the program gain kdevelop crashed

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78b8700 (LWP 5703))]

Thread 7 (Thread 0xb4fd2b70 (LWP 5704)):
#0  0x00e42422 in __kernel_vsyscall ()
#1  0x00a98142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x013368d4 in __pthread_cond_timedwait (cond=0x96cbbc0, mutex=0x96cbba8,
abstime=0xb4fd22c0) at forward.c:152
#3  0x05eb8def in QWaitConditionPrivate::wait (this=0x93b0dd4, mutex=0x93b0dd8,
time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x93b0dd4, mutex=0x93b0dd8, time=200000) at
thread/qwaitcondition_unix.cpp:159
#5  0x040e4d75 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x93b0dc8)
at /home/egad/src/kdevplatform/language/duchain/duchain.cpp:286
#6  0x05eb7e32 in QThreadPrivate::start (arg=0x93b0dc8) at
thread/qthread_unix.cpp:188
#7  0x00a9380e in start_thread (arg=0xb4fd2b70) at pthread_create.c:300
#8  0x013298de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb1c64b70 (LWP 5768)):
#0  0x00b0ae06 in *__GI_clock_gettime (clock_id=11595764, tp=0xb1c64018) at
../sysdeps/unix/clock_gettime.c:100
#1  0x05fd4bf3 in QTimerInfoList::getTime (this=0x9acef34, t=...) at
kernel/qeventdispatcher_unix.cpp:339
#2  0x05fd4de1 in QTimerInfoList::updateCurrentTime (this=0x9acef34) at
kernel/qeventdispatcher_unix.cpp:297
#3  0x05fd588c in QTimerInfoList::timerWait (this=0x9acef34, tm=...) at
kernel/qeventdispatcher_unix.cpp:420
#4  0x05fd3210 in timerSourcePrepare (source=0x9acef00, timeout=0xb1c6410c) at
kernel/qeventdispatcher_glib.cpp:141
#5  0x08896f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x08897351 in ?? () from /lib/libglib-2.0.so.0
#7  0x08897863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x05fd3067 in QEventDispatcherGlib::processEvents (this=0x9a126c0,
flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x05fa6c79 in QEventLoop::processEvents (this=0xb1c642d4, flags=) at
kernel/qeventloop.cpp:149
#10 0x05fa70ca in QEventLoop::exec (this=0xb1c642d4, flags=...) at
kernel/qeventloop.cpp:201
#11 0x05eb4b73 in QThread::exec (this=0x9ad8a00) at thread/qthread.cpp:487
#12 0x041df890 in KDevelop::CompletionWorkerThread::run (this=0x9ad8a00) at
/home/egad/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#13 0x05eb7e32 in QThreadPrivate::start (arg=0x9ad8a00) at
thread/qthread_unix.cpp:188
#14 0x00a9380e in start_thread (arg=0xb1c64b70) at pthread_create.c:300
#15 0x013298de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb1463b70 (LWP 5769)):
#0  0x00b0ae06 in *__GI_clock_gettime (clock_id=11595764, tp=0xb1463018) at
../sysdeps/unix/clock_gettime.c:100
#1  0x05fd4bf3 in QTimerInfoList::getTime (this=0x9acf194, t=...) at
kernel/qeventdispatcher_unix.cpp:339
#2  0x05fd4de1 in QTimerInfoList::updateCurrentTime (this=0x9acf194) at
kernel/qeventdispatcher_unix.cpp:297
#3  0x05fd588c in QTimerInfoList::timerWait (this=0x9acf194, tm=...) at
kernel/qeventdispatcher_unix.cpp:420
#4  0x05fd3210 in timerSourcePrepare (source=0x9acf160, timeout=0xb146310c) at
kernel/qeventdispatcher_glib.cpp:141
#5  0x08896f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x08897351 in ?? () from /lib/libglib-2.0.so.0
#7  0x08897863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x05fd3067 in QEventDispatcherGlib::processEvents (this=0x99f6300,
flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x05fa6c79 in QEventLoop::processEvents (this=0xb14632d4, flags=) at
kernel/qeventloop.cpp:149
#10 0x05fa70ca in QEventLoop::exec (this=0xb14632d4, flags=...) at
kernel/qeventloop.cpp:201
#11 0x05eb4b73 in QThread::exec (this=0x9b2c798) at thread/qthread.cpp:487
#12 0x041df890 in KDevelop::CompletionWorkerThread::run (this=0x9b2c798) at
/home/egad/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#13 0x05eb7e32 in QThreadPrivate::start (arg=0x9b2c798) at
thread/qthread_unix.cpp:188
#14 0x00a9380e in start_thread (arg=0xb1463b70) at pthread_create.c:300
#15 0x013298de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 4 (Thread 0xb0c62b70 (LWP 5770)):
#0  0x00e42422 in __kernel_vsyscall ()
#1  0x00a98142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x013368d4 in __pthread_cond_timedwait (cond=0xb0c62234, mutex=0xb0c62264,
abstime=0xb0c622b0) at forward.c:152
#3  0x05eb781e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x05eb7973 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:323
#5  0x0494dfdb in UIBlockTester::UIBlockTesterThread::run (this=0x9b3e458) at
/home/egad/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#6  0x05eb7e32 in QThreadPrivate::start (arg=0x9b3e458) at
thread/qthread_unix.cpp:188
#7  0x00a9380e in start_thread (arg=0xb0c62b70) at pthread_create.c:300
#8  0x013298de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xafc0fb70 (LWP 5787)):
#0  0x00e42422 in __kernel_vsyscall ()
#1  0x00a97e15 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0133687d in __pthread_cond_wait (cond=0x9660740, mutex=0x9660728) at
forward.c:139
#3  0x05eb8e67 in QWaitConditionPrivate::wait (this=0x9660638, mutex=0x96608c8,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9660638, mutex=0x96608c8, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5  0x002d9b30 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9660620,
th=0x9c581a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x002dc19c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x9660960, th=0x9c581a8) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x002d81fb in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x9660620, th=0x9c581a8) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x002dc292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9660960,
th=0x9c581a8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x002d9db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9660620,
th=0x9c581a8, previous=0xa066ae0) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x002da3be in ThreadWeaver::ThreadRunHelper::run (this=0xafc0f304,
parent=0x9660620, th=0x9c581a8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x002da9db in ThreadWeaver::Thread::run (this=0x9c581a8) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0x05eb7e32 in QThreadPrivate::start (arg=0x9c581a8) at
thread/qthread_unix.cpp:188
#13 0x00a9380e in start_thread (arg=0xafc0fb70) at pthread_create.c:300
#14 0x013298de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf40eb70 (LWP 5791)):
#0  0x00e42422 in __kernel_vsyscall ()
#1  0x00a97e15 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0133687d in __pthread_cond_wait (cond=0x9660740, mutex=0x9660728) at
forward.c:139
#3  0x05eb8e67 in QWaitConditionPrivate::wait (this=0x9660638, mutex=0x96608c8,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9660638, mutex=0x96608c8, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5  0x002d9b30 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9660620,
th=0x9da7808) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x002dc19c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x9660960, th=0x9da7808) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x002d81fb in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x9660620, th=0x9da7808) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x002dc292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9660960,
th=0x9da7808) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x002d9db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9660620,
th=0x9da7808, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x002dc2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9660960,
th=0x9da7808) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x002d9db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9660620,
th=0x9da7808, previous=0xb230970) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x002da3be in ThreadWeaver::ThreadRunHelper::run (this=0xaf40e304,
parent=0x9660620, th=0x9da7808) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x002da9db in ThreadWeaver::Thread::run (this=0x9da7808) at
../../../threadweaver/Weaver/Thread.cpp:142
#14 0x05eb7e32 in QThreadPrivate::start (arg=0x9da7808) at
thread/qthread_unix.cpp:188
#15 0x00a9380e in start_thread (arg=0xaf40eb70) at pthread_create.c:300
#16 0x013298de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78b8700 (LWP 5703)):
[KCrash Handler]
#6  0x028de431 in vtable for
Cpp::SpecialTemplateDeclaration<KDevelop::ClassFunctionDeclaration> () from
/usr/local/lib/libkdev4cppduchain.so
#7  0x04e2e8c5 in CMakeManager::dirtyFile (this=0x96db3a8, dirty=...) at
/home/egad/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:810
#8  0x04e2f49b in CMakeManager::qt_metacall (this=0x96db3a8,
_c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbf8d1078) at
/home/egad/src/kdevelop/build/projectmanagers/cmake/cmakemanager.moc:84
#9  0x05fbe263 in QMetaObject::activate (sender=0xb9e40d8, from_signal_index=4,
to_signal_index=4, argv=0xbf8d1078) at kernel/qobject.cpp:3113
#10 0x05fbeec2 in QMetaObject::activate (sender=0xb9e40d8, m=0x639304,
local_signal_index=0, argv=0xbf8d1078) at kernel/qobject.cpp:3187
#11 0x004c7243 in KDirWatch::dirty (this=0xb9e40d8, _t1=...) at
./kdirwatch.moc:83
#12 0x004c7bb5 in KDirWatch::setDirty (this=0xb9e40d8, _file=...) at
../../kio/kio/kdirwatch.cpp:1743
#13 0x004c820c in KDirWatchPrivate::emitEvent (this=0x986d268, e=0xb9e0d2c,
event=1, fileName=...) at ../../kio/kio/kdirwatch.cpp:1225
#14 0x004cf9c2 in KDirWatchPrivate::slotRescan (this=0x986d268) at
../../kio/kio/kdirwatch.cpp:1317
#15 0x004cfeeb in KDirWatchPrivate::qt_metacall (this=0x986d268,
_c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf8d130c) at ./kdirwatch_p.moc:73
#16 0x05fbe263 in QMetaObject::activate (sender=0x986d2b0, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#17 0x05fbeec2 in QMetaObject::activate (sender=0x986d2b0, m=0x6099904,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#18 0x05ff8667 in QTimer::timeout (this=0x986d2b0) at
.moc/release-shared/moc_qtimer.cpp:128
#19 0x05fc39ae in QTimer::timerEvent (this=0x986d2b0, e=0xbf8d17a0) at
kernel/qtimer.cpp:261
#20 0x05fb83bf in QObject::event (this=0x986d2b0, e=0xbf8d17a0) at
kernel/qobject.cpp:1075
#21 0x02b23f54 in QApplicationPrivate::notify_helper (this=0x93aaf90,
receiver=0x986d2b0, e=0xbf8d17a0) at kernel/qapplication.cpp:4056
#22 0x02b2b67c in QApplication::notify (this=0xbf8d1b98, receiver=0x986d2b0,
e=0xbf8d17a0) at kernel/qapplication.cpp:3603
#23 0x0203cbfa in KApplication::notify (this=0xbf8d1b98, receiver=0x986d2b0,
event=0xbf8d17a0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x05fa86cb in QCoreApplication::notifyInternal (this=0xbf8d1b98,
receiver=0x986d2b0, event=0xbf8d17a0) at kernel/qcoreapplication.cpp:610
#25 0x05fd57ce in QCoreApplication::sendEvent (this=0x93adc7c) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 QTimerInfoList::activateTimers (this=0x93adc7c) at
kernel/qeventdispatcher_unix.cpp:572
#27 0x05fd30e0 in timerSourceDispatch (source=0x93adc48) at
kernel/qeventdispatcher_glib.cpp:165
#28 0x08893e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x08897730 in ?? () from /lib/libglib-2.0.so.0
#30 0x08897863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x05fd302c in QEventDispatcherGlib::processEvents (this=0x9314ed8,
flags=...) at kernel/qeventdispatcher_glib.cpp:327
#32 0x02bc4be5 in QGuiEventDispatcherGlib::processEvents (this=0x9314ed8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#33 0x05fa6c79 in QEventLoop::processEvents (this=0xbf8d1a64, flags=) at
kernel/qeventloop.cpp:149
#34 0x05fa70ca in QEventLoop::exec (this=0xbf8d1a64, flags=...) at
kernel/qeventloop.cpp:201
#35 0x05fa953f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#36 0x02b23dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#37 0x08050233 in main (argc=1, argv=0xbf8d21c4) at
/home/egad/src/kdevelop/app/main_internal.cpp:222

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.



More information about the Unassigned-bugs mailing list