[kdevelop] [Bug 359031] KDevelop Crashes while Clang is parsing

2016-02-18 Thread Kevin Funk via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359031

Kevin Funk  changed:

   What|Removed |Added

  Latest Commit|http://commits.kde.org/kdev |http://commits.kde.org/kdev
   |elop/c81aeaec8297361a7491c0 |elop/f68cf6e2c247ccc6f5b5d5
   |7a11b71e7c4a9d8ae8  |913104f37c3056a986
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Kevin Funk  ---
Git commit f68cf6e2c247ccc6f5b5d5913104f37c3056a986 by Kevin Funk, on behalf of
Milian Wolff.
Committed on 18/02/2016 at 19:09.
Pushed by kfunk into branch 'master'.

Revert "Workaround clang parsing problems when includes are missing"

This patch introduces crashes and also has multiple other style and
performance issues. Please resubmit from Phabricator or Reviewboard
so that we can peer review it properly.

CCMAIL: david.nolden@art-master.de

Really revert it. Merge via d9787a3 apparently dropped this commit.
CCMAIL: i...@milianw.de

This reverts commit 1dffa94f333098bca2830c9da96367156fc9b505.

(cherry picked from commit c81aeaec8297361a7491c07a11b71e7c4a9d8ae8)

M  +0-2languages/clang/clangparsejob.cpp
M  +1-70   languages/clang/duchain/parsesession.cpp
M  +0-9languages/clang/duchain/parsesession.h
M  +0-11   languages/clang/duchain/unsavedfile.cpp
M  +0-4languages/clang/duchain/unsavedfile.h

http://commits.kde.org/kdevelop/f68cf6e2c247ccc6f5b5d5913104f37c3056a986

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


[kdevelop] [Bug 359031] KDevelop Crashes while Clang is parsing

2016-02-14 Thread Milian Wolff via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359031

Milian Wolff  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

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


[kdevelop] [Bug 359031] KDevelop Crashes while Clang is parsing

2016-02-14 Thread Milian Wolff via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359031

Milian Wolff  changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED

--- Comment #4 from Milian Wolff  ---
sorry for the noise, wrong bug to reopen

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


[kdevelop] [Bug 359031] KDevelop Crashes while Clang is parsing

2016-02-05 Thread Milian Wolff via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359031

Milian Wolff  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/kdev
   ||elop/c81aeaec8297361a7491c0
   ||7a11b71e7c4a9d8ae8

--- Comment #3 from Milian Wolff  ---
Git commit c81aeaec8297361a7491c07a11b71e7c4a9d8ae8 by Milian Wolff.
Committed on 05/02/2016 at 16:58.
Pushed by mwolff into branch '5.0'.

Revert "Workaround clang parsing problems when includes are missing"

This patch introduces crashes and also has multiple other style and
performance issues. Please resubmit from Phabricator or Reviewboard
so that we can peer review it properly.

CCMAIL: david.nolden@art-master.de

This reverts commit 1dffa94f333098bca2830c9da96367156fc9b505.

M  +0-2languages/clang/clangparsejob.cpp
M  +4-71   languages/clang/duchain/parsesession.cpp
M  +0-9languages/clang/duchain/parsesession.h
M  +0-11   languages/clang/duchain/unsavedfile.cpp
M  +0-4languages/clang/duchain/unsavedfile.h
M  +5-1languages/clang/tests/test_duchain.cpp

http://commits.kde.org/kdevelop/c81aeaec8297361a7491c07a11b71e7c4a9d8ae8

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


[kdevelop] [Bug 359031] KDevelop Crashes while Clang is parsing

2016-02-05 Thread Aleix Pol via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359031

--- Comment #1 from Aleix Pol  ---
Here's a backtrace

(gdb) c
Continuing.
libclang: crash detected during reparsing
[Thread 0x7fff95fe4700 (LWP 28787) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff96fe6700 (LWP 28261)]
0x7fffa51ba801 in clang_getTranslationUnitCursor () from
/usr/lib/libclang.so.3.7
(gdb) where
#0  0x7fffa51ba801 in clang_getTranslationUnitCursor () from
/usr/lib/libclang.so.3.7
#1  0x7fffa60a0fa0 in ClangHelpers::tuImports (tu=0x7fff7c0010c0) at
/home/kde-devel/frameworks/kdevelop/languages/clang/duchain/clanghelpers.cpp:90
#2  0x7fffa60752f2 in ClangParseJob::run (this=0x1539120) at
/home/kde-devel/frameworks/kdevelop/languages/clang/clangparsejob.cpp:294
#3  0x7fffa6075f1c in non-virtual thunk to
ClangParseJob::run(QSharedPointer,
ThreadWeaver::Thread*) ()
at
/home/kde-devel/frameworks/kdevelop/languages/clang/clangparsejob.cpp:212
#4  0x7fffedf78005 in ThreadWeaver::IdDecorator::run (this=0x9db6c0,
self=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/iddecorator.cpp:69
#5  0x7fffedf78f62 in ThreadWeaver::Executor::run (this=0x7fffee196dd8
, job=..., thread=0x7fff8c0025d0)
at /home/kde-devel/frameworks/threadweaver/src/executor.cpp:52
#6  0x7fffedf77aa0 in ThreadWeaver::Private::DefaultExecutor::execute
(this=0x7fffee196dd8 , job=...,
thread=0x7fff8c0025d0)
at /home/kde-devel/frameworks/threadweaver/src/job_p.cpp:70
#7  0x7fffedf7920f in ThreadWeaver::ExecuteWrapper::executeWrapped
(this=0x779f38, job=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/executewrapper.cpp:64
#8  0x7fffedf779ec in ThreadWeaver::Private::DebugExecuteWrapper::execute
(this=0x779f38, job=..., th=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/job_p.cpp:58
#9  0x7fffedf7920f in ThreadWeaver::ExecuteWrapper::executeWrapped
(this=0x779f60, job=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/executewrapper.cpp:64
#10 0x7fffedf79195 in ThreadWeaver::ExecuteWrapper::execute (this=0x779f60,
job=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/executewrapper.cpp:57
#11 0x7fffedf7920f in ThreadWeaver::ExecuteWrapper::executeWrapped
(this=0xd60170, job=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/executewrapper.cpp:64
#12 0x7fffedf79195 in ThreadWeaver::ExecuteWrapper::execute (this=0xd60170,
job=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/executewrapper.cpp:57
#13 0x7fffedf75fd5 in ThreadWeaver::Job::execute (this=0x1539130, self=...,
th=0x7fff8c0025d0) at /home/kde-devel/frameworks/threadweaver/src/job.cpp:83
#14 0x7fffedf7bb90 in ThreadWeaver::Collection::execute (this=0x1539130,
job=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/collection.cpp:151
#15 0x7fffedf78809 in ThreadWeaver::IdDecorator::execute (this=0x9db6c0,
self=..., thread=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/iddecorator.cpp:177
#16 0x7fffedf7557e in ThreadWeaver::Thread::run (this=0x7fff8c0025d0) at
/home/kde-devel/frameworks/threadweaver/src/thread.cpp:114
#17 0x718dd0c9 in QThreadPrivate::start (arg=0x7fff8c0025d0) at
/home/kde-devel/frameworks/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:340
#18 0x7fffea60f4a4 in start_thread () from /usr/lib/libpthread.so.0
#19 0x70cdd13d in clone () from /usr/lib/libc.so.6

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