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

            Bug ID: 409747
           Summary: Crash + data loss
           Product: kdevelop
           Version: 5.3.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Code completion
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: w0...@mail.com
  Target Milestone: ---

Kdevelop crashed in libclang while auto-completing. The biggest issue is that
after crashing, the entire file I was working on was deleted (the file has a
size 0 on disk). Unfortunately those crashes seem kind of random and very hard
to reproduce.

Callstack:

#0  0x00007f829c15db14 in clang::Lexer::LexTokenInternal(clang::Token&, bool)
() from    libclang.so.6
#1  0x00007f829be6e9a7 in clang_tokenize () from    libclang.so.6
#2  0x00007f829e0b57ba in
ClangCodeCompletionContext::isValidPosition(CXTranslationUnitImpl*, void*)
const () from    libKDevClangPrivate.so.31
#3  0x00007f829e0b6a63 in
ClangCodeCompletionContext::ClangCodeCompletionContext(KDevelop::DUChainPointer<KDevelop::DUContext>
const&, QExplicitlySharedDataPointer<ParseSessionData> const&, QUrl const&,
KTextEditor::Cursor const&, QString const&, QString const&) () from   
libKDevClangPrivate.so.31
#4  0x00007f829e0c19f9 in (anonymous
namespace)::ClangCodeCompletionWorker::run() () from   
libKDevClangPrivate.so.31
#5  0x00007f82c5c710eb in QMetaObject::activate(QObject*, int, int, void**) ()
from    libQt5Core.so.5
#6  0x00007f82c5c7d677 in QTimer::timeout(QTimer::QPrivateSignal) () from   
libQt5Core.so.5
#7  0x00007f82c5c7d958 in QTimer::timerEvent(QTimerEvent*) () from   
libQt5Core.so.5
#8  0x00007f82c5c71cbb in QObject::event(QEvent*) () from    libQt5Core.so.5
#9  0x00007f82c6f0fd1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from    libQt5Widgets.so.5
#10 0x00007f82c6f17021 in QApplication::notify(QObject*, QEvent*) () from   
libQt5Widgets.so.5
#11 0x00007f82c5c45988 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from    libQt5Core.so.5
#12 0x00007f82c5c987de in QTimerInfoList::activateTimers() () from   
libQt5Core.so.5
#13 0x00007f82c5c9674a in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from    libQt5Core.so.5
#14 0x00007f82c5c43fda in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from   
libQt5Core.so.5
#15 0x00007f82c5a6e74b in QThread::exec() () from    libQt5Core.so.5
#16 0x00007f82cbda8dec in KDevelop::CompletionWorkerThread::run() () from   
libKDevPlatformLanguage.so.53
#17 0x00007f82c5a733aa in ?? () from    libQt5Core.so.5
#18 0x0000003979407aa1 in start_thread () from /lib64/libpthread.so.0
#19 0x0000003978ce8aad in clone () from /lib64/libc.so.6

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

Reply via email to