Application: test_duchain-clang () (Compiled from sources) Qt Version: 5.9.6 Frameworks Version: 5.47.0 Operating System: Linux 4.14.23-ck1-mainline-core2-rjvb x86_64 Distribution: Ubuntu 14.04.5 LTS -- Information about the crash: - What I was doing when the application crashed: Running the plugins/clang/tests/test_duchain-clang autotest always ends with a crash (on Mac and Linux) in DUChain::documentClosed(), most likely while evaluating top->url() . It would seem that the foreach() loop does not stop when it encounters a NULL `top` variable; rewriting the expression to if(top && top->url() == url) prevents the crash. The crash can be reproduced every time. -- Backtrace: Application: test_duchain-clang (test_duchain-clang), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". To enable execution of this file add add-auto-load-safe-path /opt/local/lib/libstdc++.so.6.0.24-gdb.py line to your configuration file "/home/bertin/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/home/bertin/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" [Current thread is 1 (Thread 0x7f7207bb9bc0 (LWP 21924))] Thread 10 (Thread 0x7f71c5ffb700 (LWP 21950)): #0 0x00007f71fce59404 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f71fdd4ebe3 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2224910) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x227d740, time=18446744073709551615) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:215 #3 0x00007f7202ecc37d in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=0x1e61500, th=0x7f71b8003630) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:594 #4 ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned (this=0x1e61500, th=0x7f71b8003630) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:581 #5 0x00007f7202ed0622 in ThreadWeaver::SuspendingState::applyForWork (this=0x226ca40, th=0x7f71b8003630, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/suspendingstate.cpp:61 #6 0x00007f7202ed0670 in non-virtual thunk to ThreadWeaver::SuspendingState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #8 0x00007f7202ed0403 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22779b0, th=0x7f71b8003630, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/workinghardstate.cpp:73 #9 0x00007f7202ed04a0 in non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #10 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #11 0x00007f7202ed0403 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22779b0, th=0x7f71b8003630, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/workinghardstate.cpp:73 #12 0x00007f7202ed04a0 in non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #13 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=true) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #14 0x00007f7202ece4e1 in ThreadWeaver::Thread::run (this=0x7f71b8003630) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/thread.cpp:103 #15 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x7f71b8003630) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #16 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #17 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 9 (Thread 0x7f71c67fc700 (LWP 21936)): #0 0x00007f71fce59404 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f71fdd4ebe3 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2224910) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x227d740, time=18446744073709551615) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:215 #3 0x00007f7202ecc37d in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=0x1e61500, th=0x7f71bc003190) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:594 #4 ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned (this=0x1e61500, th=0x7f71bc003190) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:581 #5 0x00007f7202ed0622 in ThreadWeaver::SuspendingState::applyForWork (this=0x226ca40, th=0x7f71bc003190, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/suspendingstate.cpp:61 #6 0x00007f7202ed0670 in non-virtual thunk to ThreadWeaver::SuspendingState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #8 0x00007f7202ed0403 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22779b0, th=0x7f71bc003190, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/workinghardstate.cpp:73 #9 0x00007f7202ed04a0 in non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #10 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #11 0x00007f7202ed0403 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22779b0, th=0x7f71bc003190, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/workinghardstate.cpp:73 #12 0x00007f7202ed04a0 in non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #13 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #14 0x00007f7202ed0403 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22779b0, th=0x7f71bc003190, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/workinghardstate.cpp:73 #15 0x00007f7202ed04a0 in non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #16 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #17 0x00007f7202ed0403 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22779b0, th=0x7f71bc003190, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/workinghardstate.cpp:73 #18 0x00007f7202ed04a0 in non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #19 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=true) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #20 0x00007f7202ece4e1 in ThreadWeaver::Thread::run (this=0x7f71bc003190) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/thread.cpp:103 #21 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x7f71bc003190) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #22 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #23 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 8 (Thread 0x7f71c6ffd700 (LWP 21935)): #0 0x00007f71fce59404 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f71fdd4ebe3 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2224910) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x227d740, time=18446744073709551615) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:215 #3 0x00007f7202ecc37d in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=0x1e61500, th=0x7f71b8002d90) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:594 #4 ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned (this=0x1e61500, th=0x7f71b8002d90) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:581 #5 0x00007f7202ed0622 in ThreadWeaver::SuspendingState::applyForWork (this=0x226ca40, th=0x7f71b8002d90, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/suspendingstate.cpp:61 #6 0x00007f7202ed0670 in non-virtual thunk to ThreadWeaver::SuspendingState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #8 0x00007f7202ed0403 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22779b0, th=0x7f71b8002d90, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/workinghardstate.cpp:73 #9 0x00007f7202ed04a0 in non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #10 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=true) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #11 0x00007f7202ece4e1 in ThreadWeaver::Thread::run (this=0x7f71b8002d90) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/thread.cpp:103 #12 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x7f71b8002d90) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #13 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #14 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 7 (Thread 0x7f71c77fe700 (LWP 21934)): #0 0x00007f71fce59404 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f71fdd4ebe3 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2224910) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x227d740, time=18446744073709551615) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:215 #3 0x00007f7202ecc37d in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=0x1e61500, th=0x2391b50) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:594 #4 ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned (this=0x1e61500, th=0x2391b50) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:581 #5 0x00007f7202ed0622 in ThreadWeaver::SuspendingState::applyForWork (this=0x226ca40, th=0x2391b50, wasBusy=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/suspendingstate.cpp:61 #6 0x00007f7202ed0670 in non-virtual thunk to ThreadWeaver::SuspendingState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f7202ecc27e in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x292, wasBusy=true) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/weaver.cpp:568 #8 0x00007f7202ece4e1 in ThreadWeaver::Thread::run (this=0x2391b50) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-threadweaver/work/threadweaver-5.47.0/src/thread.cpp:103 #9 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x2391b50) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #10 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #11 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 6 (Thread 0x7f71c7fff700 (LWP 21929)): #0 0x00007f71fd15bc9d in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f71f2911611 in g_main_context_poll.isra.9 (n_fds=1, fds=0x7f71c00033c0, timeout=<optimized out>, context=0x7f71c0000990) at gmain.c:4192 #2 g_main_context_iterate.isra.31.lto_priv.138 (context=0x7f71c0000990, block=<optimized out>, dispatch=1) at gmain.c:3886 #3 0x00007f71f28d7dfc in g_main_context_iteration (context=0x7f71c0000990, may_block=may_block@entry=1) at gmain.c:3952 #4 0x00007f71fdfa745b in QEventDispatcherGlib::processEvents (this=0x7f71c00008c0, flags=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f71fdf49883 in QEventLoop::exec (this=this@entry=0x7f71c7ffe970, flags=..., flags@entry=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventloop.cpp:212 #6 0x00007f71fdd47f6a in QThread::exec (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread.cpp:515 #7 0x00007f72059f7ad6 in KDevelop::CompletionWorkerThread::run (this=0x1ae8200) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79 #8 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x1ae8200) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #9 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 5 (Thread 0x7f71d53be700 (LWP 21928)): #0 0x00007f71fdd1aa90 in QTimerInfoList::repairTimersIfNeeded()@plt () from /opt/local/libexec/qt5/lib/libQt5Core.so.5 #1 0x00007f71fdfa5a33 in QTimerInfoList::timerWait (this=0x7f71cc002ed0, this@entry=0x7f71d53bd87c, tm=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:389 #2 0x00007f71fdfa71ce in timerSourcePrepareHelper (timeout=0x7f71d53bd81c, src=0x7f71d53bd81c) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:132 #3 timerSourcePrepare (source=source@entry=0x7f71cc002e70, timeout=timeout@entry=0x7f71d53bd81c) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:165 #4 0x00007f71f28d8023 in g_main_context_prepare (context=0x7f71cc000990, priority=0x7f71d53bd87c) at gmain.c:3463 #5 0x00007f71f2911533 in g_main_context_iterate.isra.31.lto_priv.138 (context=0x7f71cc000990, block=1, dispatch=1) at gmain.c:3871 #6 0x00007f71f28d7dfc in g_main_context_iteration (context=0x7f71cc000990, may_block=may_block@entry=1) at gmain.c:3952 #7 0x00007f71fdfa745b in QEventDispatcherGlib::processEvents (this=0x7f71cc0008c0, flags=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425 #8 0x00007f71fdf49883 in QEventLoop::exec (this=this@entry=0x7f71d53bd9a0, flags=..., flags@entry=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventloop.cpp:212 #9 0x00007f71fdd47f6a in QThread::exec (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread.cpp:515 #10 0x00007f720590781e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x232c020) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/language/duchain/duchain.cpp:283 #11 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x232c020) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #12 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #13 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 4 (Thread 0x7f71d76bb700 (LWP 21927)): #0 0x00007f71fce59404 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f71fdd4ebe3 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1f21040) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=this@entry=0x1fd5220, mutex=mutex@entry=0x1fd5218, time=18446744073709551615) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:215 #3 0x00007f72075f9f12 in QTest::WatchDog::run (this=0x1fd5200) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/testlib/qtestcase.cpp:988 #4 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x1fd5200) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #5 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 3 (Thread 0x7f71d8166700 (LWP 21926)): #0 g_main_context_check (context=0x7f71d0000990, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at gmain.c:3742 #1 0x00007f71f29115b0 in g_main_context_iterate.isra.31.lto_priv.138 (context=0x7f71d0000990, block=<optimized out>, dispatch=1) at gmain.c:3888 #2 0x00007f71f28d7dfc in g_main_context_iteration (context=0x7f71d0000990, may_block=may_block@entry=1) at gmain.c:3952 #3 0x00007f71fdfa745b in QEventDispatcherGlib::processEvents (this=0x7f71d00008c0, flags=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f71fdf49883 in QEventLoop::exec (this=this@entry=0x7f71d81659f0, flags=..., flags@entry=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qeventloop.cpp:212 #5 0x00007f71fdd47f6a in QThread::exec (this=this@entry=0x7f72002b1400 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread.cpp:515 #6 0x00007f720003bdd5 in QDBusConnectionManager::run (this=0x7f72002b1400 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/dbus/qdbusconnection.cpp:178 #7 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x7f72002b1400 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #8 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #9 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 2 (Thread 0x7f71e50a7700 (LWP 21925)): #0 0x00007f71fd15bc9d in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f71f032db72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f71f032f64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f71e6ff0849 in QXcbEventReader::run (this=0x1b02860) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1330 #4 0x00007f71fdd4d6a3 in QThreadPrivate::start (arg=0x1b02860) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/thread/qthread_unix.cpp:368 #5 0x00007f71fce55184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f71fd16903d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 1 (Thread 0x7f7207bb9bc0 (LWP 21924)): [KCrash Handler] #6 0x00007f71bc154d00 in ?? () #7 0x00007f72058f520d in KDevelop::DUChain::documentClosed (this=<optimized out>, document=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/language/duchain/duchain.cpp:1477 #8 0x00007f71fdf7c1ce in QtPrivate::QSlotObjectBase::call (a=0x7fffbd0e34f0, r=0x232be90, this=0x232b9b0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #9 QMetaObject::activate (sender=0x2272150, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qobject.cpp:3755 #10 0x00007f7204d66332 in KDevelop::IDocumentController::documentClosed (this=0x7fffbd0e33a8, _t1=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/build/kdevplatform/interfaces/KDevPlatformInterfaces_autogen/EWIEGA46WW/moc_idocumentcontroller.cpp:453 #11 0x00007f71fdf7c1ce in QtPrivate::QSlotObjectBase::call (a=0x7fffbd0e3610, r=0x2272150, this=0x2945b90) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #12 QMetaObject::activate (sender=0x293cf20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qobject.cpp:3755 #13 0x00007f7206ad7d05 in Sublime::Document::aboutToDelete (this=0x7fffbd0e33a8, _t1=0x7fffbd0e33a8) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/build/kdevplatform/sublime/KDevPlatformSublime_autogen/include/moc_document.cpp:177 #14 Sublime::DocumentPrivate::removeView (this=0x29481f0, view=0x2943240) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/sublime/document.cpp:40 #15 Sublime::Document::createView()::$_1::operator()(QObject*) const (this=<optimized out>, obj=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/sublime/document.cpp:79 #16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QObject*>, void, Sublime::Document::createView()::$_1>::call(Sublime::Document::createView()::$_1&, void**) (f=..., arg=<optimized out>) at /opt/local/include/qt5/QtCore/qobjectdefs_impl.h:130 #17 _ZN9QtPrivate7FunctorIZN7Sublime8Document10createViewEvE3$_1Li1EE4callINS_4ListIJP7QObjectEEEvEEvRS3_PvPSB_ (f=..., arg=<optimized out>) at /opt/local/include/qt5/QtCore/qobjectdefs_impl.h:240 #18 _ZN9QtPrivate18QFunctorSlotObjectIZN7Sublime8Document10createViewEvE3$_1Li1ENS_4ListIJP7QObjectEEEvE4implEiPNS_15QSlotObjectBaseES6_PPvPb (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /opt/local/include/qt5/QtCore/qobject_impl.h:168 #19 0x00007f71fdf7c1ce in QtPrivate::QSlotObjectBase::call (a=0x7fffbd0e3730, r=0x293cf20, this=0x2941e10) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #20 QMetaObject::activate (sender=sender@entry=0x2943240, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffbd0e3730) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qobject.cpp:3755 #21 0x00007f71fdf7c8d7 in QMetaObject::activate (sender=sender@entry=0x2943240, m=m@entry=0x7f71fe3b4a60 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffbd0e3730) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qobject.cpp:3634 #22 0x00007f71fdf7c96f in QObject::destroyed (this=this@entry=0x2943240, _t1=<optimized out>, _t1@entry=0x2943240) at .moc/moc_qobject.cpp:214 #23 0x00007f71fdf8381a in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qobject.cpp:907 #24 0x00007f7207015fc3 in KDevelop::TextView::~TextView (this=0x2943240) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/textdocument.cpp:574 #25 KDevelop::TextView::~TextView (this=0x2943240) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/textdocument.cpp:574 #26 0x00007f7206ad776d in Sublime::Document::closeViews (this=0x293cf20) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/sublime/document.cpp:137 #27 0x00007f7207013293 in KDevelop::PartDocument::close (this=0x293cf20, mode=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/partdocument.cpp:146 #28 0x00007f7207015e12 in non-virtual thunk to KDevelop::TextDocument::close(KDevelop::IDocument::DocumentSaveMode) () at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/textdocument.cpp:550 #29 0x00007f7207019c6e in KDevelop::DocumentController::cleanup (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/documentcontroller.cpp:584 #30 0x00007f7206ff4516 in KDevelop::Core::cleanup (this=0x1f2c270) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/core.cpp:421 #31 0x00007f7206ff412b in KDevelop::Core::shutdown (this=0x1f2c270) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/core.cpp:387 #32 0x00007f7207833527 in KDevelop::TestCore::shutdown () at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/tests/testcore.cpp:90 #33 0x00007f71fdf5d005 in QMetaMethod::invoke (this=this@entry=0x7fffbd0e3db0, object=object@entry=0x7fffbd0e3e48, connectionType=connectionType@entry=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/corelib/kernel/qmetaobject.cpp:2222 #34 0x00007f72075f8eb6 in QMetaMethod::invoke (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., connectionType=Qt::DirectConnection, object=0x7fffbd0e3e48, this=0x7fffbd0e3db0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtCore/../../src/corelib/kernel/qmetaobject.h:123 #35 QTest::TestMethods::invokeTests (this=this@entry=0x7fffbd0e3d90, testObject=testObject@entry=0x7fffbd0e3e48) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/testlib/qtestcase.cpp:1387 #36 0x00007f72075f94da in QTest::qExec (testObject=0x7fffbd0e3e48, argc=<optimized out>, argv=0x7fffbd0e3f78) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtbase/src/testlib/qtestcase.cpp:1797 #37 0x00000000004086e2 in main (argc=-1139454704, argv=0x7fffbd0e3f78) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-clang-parser-devel/work/kf5-kdevelop-clangparser-5/plugins/clang/tests/test_duchain.cpp:64 Reported using DrKonqi
Full terminal output: ********* Start testing of TestDUChain ********* Config: Using QtTest library 5.9.6, Qt 5.9.6 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0) QWARN : TestDUChain::initTestCase() kf5.kxmlgui: cannot find .rc file "test_duchain-clangui.rc" for component "test_duchain-clang" PASS : TestDUChain::initTestCase() PASS : TestDUChain::testComments(invalid1) PASS : TestDUChain::testComments(invalid2) PASS : TestDUChain::testComments(basic1) PASS : TestDUChain::testComments(basic2) PASS : TestDUChain::testComments(enumerator) PASS : TestDUChain::testComments(comment-formatting) PASS : TestDUChain::testComments(comment-doxygen-tags) PASS : TestDUChain::testElaboratedType(namespace) PASS : TestDUChain::testElaboratedType(enum) PASS : TestDUChain::testElaboratedType(typedef) PASS : TestDUChain::testInclude() FAIL! : TestDUChain::testMissingInclude() Compared values are not the same Actual (b->baseClassesSize()): 0 Expected (1u) : 1 Loc: [/path/to/kdevelop-git/plugins/clang/tests/test_duchain.cpp(335)] PASS : TestDUChain::testIncludeLocking() PASS : TestDUChain::testReparse() PASS : TestDUChain::testReparseError() PASS : TestDUChain::testTemplate() PASS : TestDUChain::testNamespace() PASS : TestDUChain::testAutoTypeDeduction() /tmp/testfile_v21924.cpp:1:46: error: expected ';' after struct PASS : TestDUChain::testTypeDeductionInTemplateInstantiation() PASS : TestDUChain::testVirtualMemberFunction() PASS : TestDUChain::testBaseClasses() QDEBUG : TestDUChain::testReparseBaseClasses() run: 0 QDEBUG : TestDUChain::testReparseBaseClasses() run: 1 PASS : TestDUChain::testReparseBaseClasses() QDEBUG : TestDUChain::testReparseBaseClassesTemplates() run: 0 QDEBUG : TestDUChain::testReparseBaseClassesTemplates() run: 1 PASS : TestDUChain::testReparseBaseClassesTemplates() PASS : TestDUChain::testGetInheriters(inline) PASS : TestDUChain::testGetInheriters(outline) PASS : TestDUChain::testGlobalFunctionDeclaration() PASS : TestDUChain::testFunctionDefinitionVsDeclaration() PASS : TestDUChain::testEnsureNoDoubleVisit() XFAIL : TestDUChain::testReparseWithAllDeclarationsContextsAndUses() Skipping of function bodies is disabled for now Loc: [/path/to/kdevelop-git/plugins/clang/tests/test_duchain.cpp(1057)] PASS : TestDUChain::testReparseWithAllDeclarationsContextsAndUses() XFAIL : TestDUChain::testReparseOnDocumentActivated() Skipping of function bodies was disabled for now Loc: [/path/to/kdevelop-git/plugins/clang/tests/test_duchain.cpp(1093)] QWARN : TestDUChain::testReparseOnDocumentActivated() kf5.kxmlgui: cannot find .rc file "test_duchain-clangui.rc" for component "test_duchain-clang" PASS : TestDUChain::testReparseOnDocumentActivated() PASS : TestDUChain::testParsingEnvironment() PASS : TestDUChain::testSystemIncludes() PASS : TestDUChain::testReparseInclude() PASS : TestDUChain::testReparseChangeEnvironment() PASS : TestDUChain::testMacrosRanges() PASS : TestDUChain::testMacroUses() XFAIL : TestDUChain::testHeaderParsingOrder1() the use could not be created because the corresponding declaration didn't exist yet Loc: [/path/to/kdevelop-git/plugins/clang/tests/test_duchain.cpp(1305)] PASS : TestDUChain::testHeaderParsingOrder1() PASS : TestDUChain::testHeaderParsingOrder2() /tmp/testfile_X21924.cpp:8:12: error: calling a private constructor of class 'A::Q' /tmp/testfile_X21924.h:1:27: note: implicitly declared private here /tmp/testfile_X21924.cpp:10:12: error: calling a private constructor of class 'B::Q' /tmp/testfile_X21924.h:1:27: note: implicitly declared private here /tmp/testfile_X21924.cpp:12:14: error: 'm' is a private member of 'A::Q' /tmp/testfile_X21924.h:1:36: note: implicitly declared private here /tmp/testfile_X21924.cpp:14:14: error: 'm' is a private member of 'B::Q' /tmp/testfile_X21924.h:1:36: note: implicitly declared private here QDEBUG : TestDUChain::testMacroDependentHeader() DECL RANGE: [ (0, 7) -> (0, 7) ] QDEBUG : TestDUChain::testMacroDependentHeader() CTX RANGE: [ (0, 0) -> (0, 48) ] PASS : TestDUChain::testMacroDependentHeader() PASS : TestDUChain::testNestedImports() PASS : TestDUChain::testEnvironmentWithDifferentOrderOfElements() PASS : TestDUChain::testReparseMacro() PASS : TestDUChain::testMultiLineMacroRanges() PASS : TestDUChain::testNestedMacroRanges() PASS : TestDUChain::testGotoStatement() PASS : TestDUChain::testRangesOfOperatorsInsideMacro() PASS : TestDUChain::testActiveDocumentHasASTAttached() PASS : TestDUChain::testActiveDocumentsGetBestPriority() error: error reading '/tmp/testfile_k21924.cpp' QWARN : TestDUChain::testUsesCreatedForDeclarations() kdevelop.languages.clang: clang_parseTranslationUnit2 return with error code 1 QWARN : TestDUChain::testUsesCreatedForDeclarations() kdevelop.languages.clang: Failed to parse translation unit: "/tmp/testfile_k21924.cpp" error: error reading '/tmp/testfile_N21924.cpp' QWARN : TestDUChain::testUsesCreatedForDeclarations() kdevelop.languages.clang: clang_parseTranslationUnit2 return with error code 1 QWARN : TestDUChain::testUsesCreatedForDeclarations() kdevelop.languages.clang: Failed to parse translation unit: "/tmp/testfile_N21924.cpp" PASS : TestDUChain::testUsesCreatedForDeclarations() PASS : TestDUChain::testReparseIncludeGuard() PASS : TestDUChain::testExternC() PASS : TestDUChain::testLambda() PASS : TestDUChain::testReparseUnchanged(include-guards) PASS : TestDUChain::testReparseUnchanged(template-default-parameters) PASS : TestDUChain::testTypeAliasTemplate() PASS : TestDUChain::testDeclarationsInsideMacroExpansion() Top-Context "Global" (owner: 0x0 ) 0x7f71b8004c80 "" [ "" ] [ (0, 0) -> (2147483647, 2147483647) ] "/tmp/testfile_O21924.cpp" Declaration: "Foo< MatchingName >" [ "Foo< MatchingName >" ] 0x7f71b80458e0 (internal ctx: 0x7f71b8003650 ) [ (1, 46) -> (1, 49) ] , no definition, 0 use(s). Declaration: "class MatchingName" [ "MatchingName" ] 0x7f71b84c80e0 (internal ctx: 0x7f71b8045040 ) [ (3, 14) -> (3, 26) ] , defined, 1 use(s). File: "/tmp/testfile_O21924.cpp" Use: [ (4, 13) -> (4, 25) ] Context "Class" (owner: 0x7f71b80458e0 ) 0x7f71b8003650 "Foo< MatchingName >" [ "Foo< MatchingName >" ] [ (1, 8) -> (1, 49) ] "" 1 Declarations, 0 child-contexts Context "Class" (owner: 0x7f71b84c80e0 ) 0x7f71b8045040 "MatchingName" [ "MatchingName" ] [ (3, 8) -> (3, 42) ] "" 1 Declarations, 1 child-contexts Context "Function" (owner: 0x7f71b84b3460 ) 0x7f71b84b3ac0 "bar" [ "MatchingName::bar" ] [ (3, 29) -> (3, 39) ] "" 0 Declarations, 0 child-contexts Context "Helper" (owner: 0x0 ) 0x7f71b84b3ce0 "MatchingName" [ "MatchingName" ] [ (4, 8) -> (4, 37) ] "" 1 Declarations, 1 child-contexts Context "Function" (owner: 0x7f71b84b4270 ) 0x7f71b84f3120 "bar" [ "MatchingName::bar" ] [ (4, 8) -> (4, 37) ] "" 0 Declarations, 1 child-contexts Context "Other" (owner: 0x0 ) 0x7f71b8046410 "" [ "MatchingName::bar" ] [ (4, 33) -> (4, 37) ] "" 0 Declarations, 0 child-contexts PASS : TestDUChain::testForwardTemplateTypeParameterContext() Top-Context "Global" (owner: 0x0 ) 0x7f71b4004d70 "" [ "" ] [ (0, 0) -> (2147483647, 2147483647) ] "/tmp/testfile_u21924.cpp" Declaration: "void foo (int)" [ "foo" ] 0x7f71b40036b0 (internal ctx: 0x7f71b4004a00 ) [ (2, 13) -> (2, 16) ] , no definition, 0 use(s). Declaration: "void bar (int)" [ "bar" ] 0x7f71b4003570 (internal ctx: 0x7f71b4023ef0 ) [ (4, 13) -> (4, 16) ] , no definition, 0 use(s). Context "Function" (owner: 0x7f71b40036b0 ) 0x7f71b4004a00 "foo" [ "foo" ] [ (1, 8) -> (2, 26) ] "" 2 Declarations, 0 child-contexts Context "Function" (owner: 0x7f71b4003570 ) 0x7f71b4023ef0 "bar" [ "bar" ] [ (4, 8) -> (4, 26) ] "" 1 Declarations, 0 child-contexts XFAIL : TestDUChain::testTemplateFunctionParameterName() We get two declarations, for both template and args :( Loc: [/path/to/kdevelop-git/plugins/clang/tests/test_duchain.cpp(1827)] XFAIL : TestDUChain::testTemplateFunctionParameterName() see above, this then triggers T T here Loc: [/path/to/kdevelop-git/plugins/clang/tests/test_duchain.cpp(1830)] PASS : TestDUChain::testTemplateFunctionParameterName() PASS : TestDUChain::testFriendDeclaration() PASS : TestDUChain::testVariadicTemplateArguments() FAIL! : TestDUChain::testGccCompatibility() 'file.waitForParsed(5000)' returned FALSE. () Loc: [/path/to/kdevelop-git/plugins/clang/tests/test_duchain.cpp(1955)] PASS : TestDUChain::testQtIntegration() PASS : TestDUChain::testHasInclude() KCrash: Application 'test_duchain-clang' crashing... KCrash: Attempting to start /opt/local/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/505/kdeinit5__0
*** Bug 411644 has been marked as a duplicate of this bug. ***
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!