Bug 283128 - C code
Summary: C code
Status: RESOLVED DUPLICATE of bug 275040
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 4.2.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-01 08:49 UTC by Renna
Modified: 2012-12-02 22:47 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 Renna 2011-10-01 08:49:48 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-11-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I searching to compile a simple C code. It's not the first time that  the program crash in this way...

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

Thread 7 (Thread 0xaf298b70 (LWP 5112)):
#0  0xb7775424 in __kernel_vsyscall ()
#1  0xb5eb7834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb6118454 in __pthread_cond_timedwait (cond=0x9696c38, mutex=0x9696c20, abstime=0xaf2982c0) at forward.c:152
#3  0xb6d683e5 in wait (this=0x9671554, mutex=0x9671558, time=1000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9671554, mutex=0x9671558, time=1000) at thread/qwaitcondition_unix.cpp:160
#5  0xb592975d in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9671548) at ../../language/duchain/duchain.cpp:286
#6  0xb6d67da2 in QThreadPrivate::start (arg=0x9671548) at thread/qthread_unix.cpp:320
#7  0xb5eb2e99 in start_thread (arg=0xaf298b70) at pthread_create.c:304
#8  0xb610a73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xadb10b70 (LWP 5122)):
#0  0xb5e20d41 in clock_gettime (clock_id=1, tp=0xadb10000) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb6dbddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e8a4f2 in updateCurrentTime (this=0x98c464c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x98c464c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6e88d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xadb100dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6e88dcd in timerSourcePrepare (source=0x98c4618, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5462fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5463e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5464524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6e89577 in QEventDispatcherGlib::processEvents (this=0x98c4588, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6e5b289 in QEventLoop::processEvents (this=0xadb10290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6e5b522 in QEventLoop::exec (this=0xadb10290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6d652a0 in QThread::exec (this=0x98c4100) at thread/qthread.cpp:492
#14 0xb6e3cfdb in QInotifyFileSystemWatcherEngine::run (this=0x98c4100) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6d67da2 in QThreadPrivate::start (arg=0x98c4100) at thread/qthread_unix.cpp:320
#16 0xb5eb2e99 in start_thread (arg=0xadb10b70) at pthread_create.c:304
#17 0xb610a73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xab7e0b70 (LWP 5123)):
#0  0xb7775424 in __kernel_vsyscall ()
#1  0xb5eb748c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb61183fd in __pthread_cond_wait (cond=0xb0cba2b0, mutex=0xb0cba298) at forward.c:139
#3  0xb0ba1817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb0cb51c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb0ba1851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb0cb51c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb5eb2e99 in start_thread (arg=0xab7e0b70) at pthread_create.c:304
#6  0xb610a73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaa801b70 (LWP 5138)):
#0  0xb5e20d41 in clock_gettime (clock_id=1, tp=0xaa801000) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb6dbddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e8a4f2 in updateCurrentTime (this=0x9bc61a4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x9bc61a4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6e88d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaa8010dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6e88dcd in timerSourcePrepare (source=0x9bc6170, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5462fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5463e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5464524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6e89577 in QEventDispatcherGlib::processEvents (this=0x9bc5180, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6e5b289 in QEventLoop::processEvents (this=0xaa801290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6e5b522 in QEventLoop::exec (this=0xaa801290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6d652a0 in QThread::exec (this=0x9bc16a0) at thread/qthread.cpp:492
#14 0xb6e3cfdb in QInotifyFileSystemWatcherEngine::run (this=0x9bc16a0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6d67da2 in QThreadPrivate::start (arg=0x9bc16a0) at thread/qthread_unix.cpp:320
#16 0xb5eb2e99 in start_thread (arg=0xaa801b70) at pthread_create.c:304
#17 0xb610a73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa9fa0b70 (LWP 5186)):
#0  0xb7775424 in __kernel_vsyscall ()
#1  0xb5eb748c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb61183fd in __pthread_cond_wait (cond=0xb50177f0, mutex=0xb50177d8) at forward.c:139
#3  0xb4a61b57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb5eb2e99 in start_thread (arg=0xa9fa0b70) at pthread_create.c:304
#5  0xb610a73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa913ab70 (LWP 5312)):
#0  0xb7775424 in __kernel_vsyscall ()
#1  0xb5eb748c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb61183fd in __pthread_cond_wait (cond=0x993b440, mutex=0x993b428) at forward.c:139
#3  0xb6d68467 in wait (this=0x99a2688, mutex=0x9cf8410, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x99a2688, mutex=0x9cf8410, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb502a7e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x99a2670, th=0x9a389d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb502d47c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99e0fb0, th=0x9a389d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb502a42b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x99a2670, th=0x9a389d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb502d56a in ThreadWeaver::WorkingHardState::applyForWork (this=0x99e0fb0, th=0x9a389d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb502a373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x99a2670, th=0x9a389d8, previous=0x99d6d80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb502bf9e in ThreadWeaver::ThreadRunHelper::run (this=0xa913a2f4, parent=0x99a2670, th=0x9a389d8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb502c05b in ThreadWeaver::Thread::run (this=0x9a389d8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6d67da2 in QThreadPrivate::start (arg=0x9a389d8) at thread/qthread_unix.cpp:320
#13 0xb5eb2e99 in start_thread (arg=0xa913ab70) at pthread_create.c:304
#14 0xb610a73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb3542710 (LWP 5111)):
[KCrash Handler]
#7  0xb6245580 in __dynamic_cast () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8  0xb746299d in KDevelop::DocumentController::openDocuments (this=0x951d460) at ../../shell/documentcontroller.cpp:634
#9  0xb7483266 in KDevelop::SessionControllerPrivate::recoveryStorageTimeout (this=0x9368e90) at ../../shell/sessioncontroller.cpp:513
#10 0xb747f6d0 in KDevelop::SessionControllerPrivate::qt_metacall (this=0x9368e90, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf97230c) at ./sessioncontroller.moc:82
#11 0xb6e626ba in QMetaObject::metacall (object=0x9368e90, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbf97230c) at kernel/qmetaobject.cpp:237
#12 0xb6e724ff in QMetaObject::activate (sender=0x9368eb0, m=0xb6f975a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#13 0xb6ebf2f7 in QTimer::timeout (this=0x9368eb0) at .moc/release-shared/moc_qtimer.cpp:134
#14 0xb6e783ee in QTimer::timerEvent (this=0x9368eb0, e=0xbf97285c) at kernel/qtimer.cpp:271
#15 0xb6e71214 in QObject::event (this=0x9368eb0, e=0xbf97285c) at kernel/qobject.cpp:1190
#16 0xb63b3d24 in QApplicationPrivate::notify_helper (this=0x92ddcc0, receiver=0x9368eb0, e=0xbf97285c) at kernel/qapplication.cpp:4462
#17 0xb63b88ce in QApplication::notify (this=0xbf972d58, receiver=0x9368eb0, e=0xbf97285c) at kernel/qapplication.cpp:3862
#18 0xb71f13ca in KApplication::notify (this=0xbf972d58, receiver=0x9368eb0, event=0xbf97285c) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x0804ba8c in _start ()

Possible duplicates by query: bug 275040.

Reported using DrKonqi
Comment 1 Aleix Pol 2012-01-18 00:45:49 UTC
Can you provide more information? Like the code that crashed it?
Comment 2 Kevin Funk 2012-12-02 22:47:48 UTC

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