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

            Bug ID: 357517
           Summary: Crash in the background parser
           Product: kdevelop
           Version: 4.90.90
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: cyrille.dun...@gmail.com

Application: kdevelop (4.90.90)

Qt Version: 5.5.1
Operating System: Linux 4.3.3-5.g008195a-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

The application crashes when loading the project. It parses a number of files
before crashing but I have not been able to determine if it is a particular
file causing the crash. I suspect not, as it seems to be crashing at a random
point during the parsing.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7fca8757c0 (LWP 15891))]

Thread 12 (Thread 0x7f7fab0ab700 (LWP 15892)):
#0  0x00007f7fc700ec1d in poll () at /lib64/libc.so.6
#1  0x00007f7fba738422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f7fba73a00f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f7fad4003c9 in QXcbEventReader::run() (this=0x1680900) at
qxcbconnection.cpp:1229
#4  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x1680900) at
thread/qthread_unix.cpp:331
#5  0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f7f9a218700 (LWP 15894)):
[KCrash Handler]
#6  0x00007f7fc76fec3e in QMutex::lock() (timeout=-1, this=0x3d60000052f) at
thread/qmutex.cpp:641
#7  0x00007f7fc76fec3e in QMutex::lock() (this=<optimized out>) at
thread/qmutex.cpp:215
#8  0x00007f7f8f0c8a0a in  () at /usr/lib64/libkdevphpduchain.so
#9  0x00007f7fc53b0064 in
KDevelop::DUChainBase::setData(KDevelop::DUChainBaseData*, bool) () at
/usr/lib64/libKDevPlatformLanguage.so.10
#10 0x00007f7fc539383b in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#11 0x00007f7fc5398cd6 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#12 0x00007f7fc5395838 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#13 0x00007f7fc5372d41 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#14 0x00007f7fc5373ba3 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#15 0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x473a3d0) at
thread/qthread_unix.cpp:331
#16 0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#17 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f7f8ff4f700 (LWP 15895)):
#0  0x00007f7fbfa83d14 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7fbfa41f86 in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#2  0x00007f7fc7938dab in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f7f880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0x00007f7fc78dfda3 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f7f8ff4ee10, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#4  0x00007f7fc770166a in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:503
#5  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x7f7fbc5e06b8) at
thread/qthread_unix.cpp:331
#6  0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f7f8ebe6700 (LWP 15898)):
#0  0x00007f7fc700ec1d in poll () at /lib64/libc.so.6
#1  0x00007f7fbfa41e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7fbfa41f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f7fc7938dab in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f7f800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f7fc78dfda3 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f7f8ebe5d30, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#5  0x00007f7fc770166a in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:503
#6  0x00007f7fc54580e6 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#7  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x49e4aa0) at
thread/qthread_unix.cpp:331
#8  0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f7f86422700 (LWP 16170)):
#0  0x00007f7fc03c005f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x53a61f0) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(this=this@entry=0x53a6628, mutex=mutex@entry=0x53a6620,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f7fc76feeb7 in QReadWriteLock::lockForRead() (this=0x53bfd30) at
thread/qreadwritelock.cpp:155
#4  0x00007f7f8416b380 in  () at
/usr/lib64/qt5/plugins/kdevplatform/24/kdevclangsupport.so
#5  0x00007f7fbca595a0 in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f7fbca59ba0 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f7fbca58930 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f7fbca57f3a in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x553b7d0) at
thread/qthread_unix.cpp:331
#10 0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f7f85c21700 (LWP 16171)):
#0  0x00007f7fc03c005f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x387cd00) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x387dca0, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:208
#3  0x00007f7fbca5665f in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f7fbca5a43a in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f7fbca546cb in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f7fbca5a481 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f7fbca546cb in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f7fbca58005 in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x7f7f74003190) at
thread/qthread_unix.cpp:331
#10 0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f7f85420700 (LWP 16172)):
#0  0x00007f7fc03c005f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x494f030) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(this=this@entry=0x494eff8, mutex=mutex@entry=0x494eff0,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f7fc76feeb7 in QReadWriteLock::lockForRead() (this=0x494efd0) at
thread/qreadwritelock.cpp:155
#4  0x00007f7f993ae5f6 in  () at
/usr/lib64/qt5/plugins/kdevplatform/24/kdevcmakemanager.so
#5  0x00007f7fbca595a0 in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f7fbca59ba0 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f7fbca58930 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f7fbca57f3a in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x7f7f78002d90) at
thread/qthread_unix.cpp:331
#10 0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f7f84c1f700 (LWP 16173)):
#0  0x00007f7fc03c005f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x494f030) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(this=this@entry=0x494eff8, mutex=mutex@entry=0x494eff0,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f7fc76feeb7 in QReadWriteLock::lockForRead() (this=0x494efd0) at
thread/qreadwritelock.cpp:155
#4  0x00007f7f993ae5f6 in  () at
/usr/lib64/qt5/plugins/kdevplatform/24/kdevcmakemanager.so
#5  0x00007f7fbca595a0 in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f7fbca59ba0 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f7fbca58930 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f7fbca57f3a in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x7f7f6c002d90) at
thread/qthread_unix.cpp:331
#10 0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f7f6bfff700 (LWP 16174)):
#0  0x00007f7fc03c005f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x53a61f0) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007f7fc77073ab in QWaitCondition::wait(QMutex*, unsigned long)
(this=this@entry=0x53a6628, mutex=mutex@entry=0x53a6620,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f7fc76feeb7 in QReadWriteLock::lockForRead() (this=0x53bfd30) at
thread/qreadwritelock.cpp:155
#4  0x00007f7f8416b380 in  () at
/usr/lib64/qt5/plugins/kdevplatform/24/kdevclangsupport.so
#5  0x00007f7fbca595a0 in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f7fbca59ba0 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f7fbca58930 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f7fbca57f3a in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x7f7f70003190) at
thread/qthread_unix.cpp:331
#10 0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f7f55e31700 (LWP 16175)):
#0  0x00007f7fc700aced in read () at /lib64/libc.so.6
#1  0x00007f7fbfa82b60 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7fbfa41999 in g_main_context_check () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f7fbfa41df8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7fbfa41f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#5  0x00007f7fc7938dab in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f7f500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f7fc78dfda3 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f7f55e30d30, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#7  0x00007f7fc770166a in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:503
#8  0x00007f7fc54580e6 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#9  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x55b3230) at
thread/qthread_unix.cpp:331
#10 0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f7f4ee24700 (LWP 16192)):
#0  0x00007f7fbfa83d10 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7fbfa41538 in g_main_context_prepare () at
/usr/lib64/libglib-2.0.so.0
#2  0x00007f7fbfa41d80 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7fbfa41f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#4  0x00007f7fc7938dab in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f7f3c0031e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f7fc78dfda3 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f7f4ee23df0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007f7fc770166a in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:503
#7  0x00007f7fc115ee08 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f7fc770638f in QThreadPrivate::start(void*) (arg=0x58711c0) at
thread/qthread_unix.cpp:331
#9  0x00007f7fc03bc0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f7fc701704d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7fca8757c0 (LWP 15891)):
#0  0x00007f7fbfa83cf9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7fbfa418fc in g_main_context_check () at
/usr/lib64/libglib-2.0.so.0
#2  0x00007f7fbfa41df8 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7fbfa41f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#4  0x00007f7fc7938dab in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x16afdf0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f7fc78dfda3 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffc3026e880, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007f7fc78e7956 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1229
#7  0x000000000040eedb in main ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to