Bug 401242 - KDevelop random crash
Summary: KDevelop random crash
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-11-20 15:47 UTC by rgoomes
Modified: 2018-11-22 10:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rgoomes 2018-11-20 15:47:13 UTC
Application: kdevelop (5.3.0)

Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.15.0-39-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed:
Not much was going on, I was just writing code while the background parser was still parsing the file.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f321435abc0 (LWP 25282))]

Thread 10 (Thread 0x7f31a4c4b700 (LWP 25438)):
[KCrash Handler]
#6  0x0000000000000171 in  ()
#7  0x00007f31acd4e343 in  () at /usr/lib/llvm-5.0/lib/libclang-5.0.so.1
#8  0x00007f31acd4ec52 in  () at /usr/lib/llvm-5.0/lib/libclang-5.0.so.1
#9  0x00007f31a9a24841 in llvm::CrashRecoveryContext::~CrashRecoveryContext() () at /usr/lib/x86_64-linux-gnu/libLLVM-5.0.so.1
#10 0x00007f31acaebce4 in clang_parseTranslationUnit2FullArgv () at /usr/lib/llvm-5.0/lib/libclang-5.0.so.1
#11 0x00007f31acaec131 in clang_parseTranslationUnit2 () at /usr/lib/llvm-5.0/lib/libclang-5.0.so.1
#12 0x00007f31ae2f70ae in ParseSessionData::ParseSessionData(QVector<UnsavedFile> const&, ClangIndex*, ClangParsingEnvironment const&, QFlags<ParseSessionData::Option>) (this=<optimized out>, unsavedFiles=..., index=<optimized out>, environment=..., options=...) at ./plugins/clang/duchain/parsesession.cpp:310
#13 0x00007f31ae53d6d3 in ClangParseJob::createSessionData() const (this=this@entry=0x55fee942e1a0) at ./plugins/clang/clangparsejob.cpp:380
#14 0x00007f31ae540f70 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x55fee942e1a0) at ./plugins/clang/clangparsejob.cpp:286
#15 0x00007f32073bed1a in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#16 0x00007f32073bf2f8 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#17 0x00007f32073bdf60 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#18 0x00007f32073bdabd in ThreadWeaver::Thread::run() () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#19 0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f32097b86db in start_thread (arg=0x7f31a4c4b700) at pthread_create.c:463
#21 0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f31a544c700 (LWP 25437)):
#0  0x00007f32097be9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fee8a3bad0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f32097be9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55fee8a3ba80, cond=0x55fee8a3baa8) at pthread_cond_wait.c:502
#2  0x00007f32097be9f3 in __pthread_cond_wait (cond=0x55fee8a3baa8, mutex=0x55fee8a3ba80) at pthread_cond_wait.c:655
#3  0x00007f32110c994b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f32073bba65 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f32073bfb38 in  () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f32073bac8d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f32073bfb92 in  () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x00007f32073bac8d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f32073bd9fb in ThreadWeaver::Thread::run() () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f32097b86db in start_thread (arg=0x7f31a544c700) at pthread_create.c:463
#12 0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f31a644e700 (LWP 25382)):
#0  0x00007f32109af0b4 in __GI___libc_read (fd=22, buf=0x7f31a644d7d0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f3207661cd0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f320761d027 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f320761d4e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f320761d64c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f32112ee04b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f321129230a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f32110bdbba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f32097b86db in start_thread (arg=0x7f31a644e700) at pthread_create.c:463
#10 0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f31c245b700 (LWP 25318)):
#0  0x00007f32109ba839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f32110ba185 in QBasicMutex::lockInternal() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f31ae28a1f9 in ClangCodeCompletionContext::ClangCodeCompletionContext(KDevelop::DUChainPointer<KDevelop::DUContext> const&, QExplicitlySharedDataPointer<ParseSessionData> const&, QUrl const&, KTextEditor::Cursor const&, QString const&, QString const&) (this=0x7f31b4004a10, context=..., sessionData=..., url=..., position=..., text=..., followingText=...) at ./plugins/clang/codecompletion/context.cpp:817
#3  0x00007f31ae295687 in QSharedPointer<ClangCodeCompletionContext>::create<KDevelop::DUChainPointer<KDevelop::DUContext> const&, QExplicitlySharedDataPointer<ParseSessionData> const&, QUrl const&, KTextEditor::Cursor const&, QString const&, QString const&>(KDevelop::DUChainPointer<KDevelop::DUContext> const&, QExplicitlySharedDataPointer<ParseSessionData> const&, QUrl const&, KTextEditor::Cursor const&, QString const&, QString const&) () at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:445
#4  0x00007f31ae295687 in (anonymous namespace)::createCompletionContext (followingText=..., text=..., position=..., url=..., session=..., context=...) at ./plugins/clang/codecompletion/model.cpp:67
#5  0x00007f31ae295687 in (anonymous namespace)::ClangCodeCompletionWorker::run() (this=0x55fee8deae90) at ./plugins/clang/codecompletion/model.cpp:134
#6  0x00007f32112c318f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f32112cfe47 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f32112d01a8 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f32112c3b9b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f3212761e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f32127693ef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f3211293fe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f32112ed4be in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f32112edc81 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f320761d387 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f320761d5c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f320761d64c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f32112ee02f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f321129230a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f32110bdbba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f320f7c6eef in KDevelop::CompletionWorkerThread::run() (this=0x55fee8deac90) at ./kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#22 0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f32097b86db in start_thread (arg=0x7f31c245b700) at pthread_create.c:463
#24 0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f31c1c5a700 (LWP 25313)):
#0  0x00007f32097be9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f31b3fea110) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f32097be9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55fee8c888c0, cond=0x7f31b3fea0e8) at pthread_cond_wait.c:502
#2  0x00007f32097be9f3 in __pthread_cond_wait (cond=0x7f31b3fea0e8, mutex=0x55fee8c888c0) at pthread_cond_wait.c:655
#3  0x00007f3210d4779c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f31b32fc217 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5  0x00007f31b32fc359 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6  0x00007f3210d4d57f in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f32097b86db in start_thread (arg=0x7f31c1c5a700) at pthread_create.c:463
#8  0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f31c350d700 (LWP 25309)):
#0  0x00007f32109b3bf9 in __GI___poll (fds=0x7f31bc003ce0, nfds=1, timeout=10114) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f320761d539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f320761d64c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f32112ee04b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f321129230a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f32110bdbba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f32097b86db in start_thread (arg=0x7f31c350d700) at pthread_create.c:463
#8  0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f31c91a2700 (LWP 25308)):
#0  0x00007f32109b3bf9 in __GI___poll (fds=0x7f31c4004b80, nfds=1, timeout=73114) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f320761d539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f320761d64c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f32112ee04b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f321129230a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f32110bdbba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f320f6bfa3b in KDevelop::DUChainPrivate::CleanupThread::run() (this=0x55fee8bcd180) at ./kdevplatform/language/duchain/duchain.cpp:286
#7  0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f32097b86db in start_thread (arg=0x7f31c91a2700) at pthread_create.c:463
#9  0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f31d66a0700 (LWP 25285)):
#0  0x00007f32109b3bf9 in __GI___poll (fds=0x7f31d0034dc0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f320761d539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f320761d64c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f32112ee04b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f321129230a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f32110bdbba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3212e71e45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f32097b86db in start_thread (arg=0x7f31d66a0700) at pthread_create.c:463
#9  0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f31e0256700 (LWP 25284)):
#0  0x00007f32109b3bf9 in __GI___poll (fds=0x7f31e02558e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f31fc9c0747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f31fc9c236a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f31e1f5aed9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f32110c8adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f32097b86db in start_thread (arg=0x7f31e0256700) at pthread_create.c:463
#6  0x00007f32109c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f321435abc0 (LWP 25282)):
#0  0x00007f32097be9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd705b1e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f32097be9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55fee8332c18, cond=0x7fffd705b1c0) at pthread_cond_wait.c:502
#2  0x00007f32097be9f3 in __pthread_cond_wait (cond=0x7fffd705b1c0, mutex=0x55fee8332c18) at pthread_cond_wait.c:655
#3  0x00007f31fc9c0952 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f31fc9c206f in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#5  0x00007f31fc9c2180 in xcb_wait_for_reply () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#6  0x00007f31e1f5997a in QXcbConnection::sync() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007f31e1f79a93 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f31e1f79b6c in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007f3211ea996b in QBackingStore::beginPaint(QRegion const&) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007f3212770f24 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f32127713b5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f3212788aff in QWidgetPrivate::syncBackingStore() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f32127a0c08 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f32128a87b0 in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f320d1d7d07 in KMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#16 0x00007f320d21cb75 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#17 0x00007f3212761e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f32127693ef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f3211293fe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f3211296b2d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f32112ee9f3 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f320761d387 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f320761d5c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f320761d64c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f32112ee02f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f31e1fe6761 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#27 0x00007f321129230a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f321129b4d0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000055fee7909190 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:849

Reported using DrKonqi
Comment 1 Kevin Funk 2018-11-20 15:50:35 UTC
@Riddell: KDevelop on Neon is still using LLVM 5.0?

Could you try to upgrade this to the latest available LLVM version?
Comment 2 Kevin Funk 2018-11-20 15:51:54 UTC
@Reporter: Which project was loaded? Can you disclose the source code? 

Can you nail down which file KDevelop was parsing last (please check the debug output on the terminal for this)?
Comment 3 rgoomes 2018-11-21 10:05:24 UTC
(In reply to Kevin Funk from comment #1)
> @Riddell: KDevelop on Neon is still using LLVM 5.0?
> 
> Could you try to upgrade this to the latest available LLVM version?

I have both LLVM 5.0 and 6.0 versions installed and the default is the LLVM 6.0. I need LLVM 5.0 because some package depends on it and so I can't uninstall it. I think it should be up to KDevelop to choose the newest LLVM
Comment 4 Jonathan Riddell 2018-11-21 10:31:05 UTC
Our KDevelop builds against llvm-5.0-dev.  I can switch that to llvm 6 if that helps which is the default in Ubuntu 18.04
Comment 5 Kevin Funk 2018-11-21 10:42:52 UTC
The later the better usually. Thanks for taking care of it!
Comment 6 rgoomes 2018-11-21 10:53:54 UTC
(In reply to Kevin Funk from comment #2)
> @Reporter: Which project was loaded? Can you disclose the source code? 
> 
> Can you nail down which file KDevelop was parsing last (please check the
> debug output on the terminal for this)?

Unfortunately, this is a closed source project. I can't provide this info.
Comment 7 Jonathan Riddell 2018-11-21 13:43:29 UTC
New build of kdevelop 4:5.3.0-0xneon+18.04+bionic+build7 uses llvm and clang 6 in line with mesa and other parts of Ubuntu 18.04.  This may stop symbols clashes.
Comment 8 rgoomes 2018-11-21 14:01:55 UTC
(In reply to Jonathan Riddell from comment #7)
> New build of kdevelop 4:5.3.0-0xneon+18.04+bionic+build7 uses llvm and clang
> 6 in line with mesa and other parts of Ubuntu 18.04.  This may stop symbols
> clashes.

Thanks, testing right know the new build.
Comment 9 Kevin Funk 2018-11-21 15:05:40 UTC
> This may stop symbols clashes

Should not have been a problem in this case. This rather seems like a crash in libclang while parsing code.
Comment 10 rgoomes 2018-11-22 10:32:10 UTC
(In reply to Kevin Funk from comment #9)
> > This may stop symbols clashes
> 
> Should not have been a problem in this case. This rather seems like a crash
> in libclang while parsing code.

I'm not able to reproduce the crash anymore. I think you can mark this as RESOLVED / FIXED.
Comment 11 Kevin Funk 2018-11-22 10:33:07 UTC
Thanks for feedback. I presume the LLVM/Clang upgrade did the trick.