[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-11-09 Thread Sven Brauch
https://bugs.kde.org/show_bug.cgi?id=368855

--- Comment #9 from Sven Brauch  ---
This could be the same issue like the one on the mailing list, i.e. parsing
sometimes being super slow under some unclear conditions.

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

[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-11-01 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=368855

--- Comment #8 from Rolf Eike Beer  ---
> The time is spent in libclang, i.e. parsing. This behaviour seems 
> perfectly
> normal to me; files changed, they have to be reparsed, that takes a 
> while. So,
> not a bug ...?

There are few files, and parsing a few thousand lines of codes shouldn't 
take half a minute on a Core i7. In fact this sometimes works fine (and 
fast), so I guess the problem really is that the files changed while 
libclang is trying to parse them.

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

[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-11-01 Thread Sven Brauch
https://bugs.kde.org/show_bug.cgi?id=368855

--- Comment #7 from Sven Brauch  ---
The time is spent in libclang, i.e. parsing. This behaviour seems perfectly
normal to me; files changed, they have to be reparsed, that takes a while. So,
not a bug ...?

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

[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-10-31 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=368855

--- Comment #6 from Rolf Eike Beer  ---
Created attachment 101934
  --> https://bugs.kde.org/attachment.cgi?id=101934&action=edit
perf data

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

[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-10-31 Thread Rolf Eike Beer
https://bugs.kde.org/show_bug.cgi?id=368855

Rolf Eike Beer  changed:

   What|Removed |Added

 Ever confirmed|0   |1
Version|5.0.0   |5.0.1
 Status|NEEDSINFO   |CONFIRMED
 Resolution|WAITINGFORINFO  |---

--- Comment #5 from Rolf Eike Beer  ---
Just another data point: after a couple of seconds (~20-30) everything goes
back to normal

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

[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-09-21 Thread Milian Wolff via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368855

Milian Wolff  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #4 from Milian Wolff  ---
not a backtrace, a profile is needed. Please get one when you see 100% CPU
usage via:

perf record --call-graph dwarf --pid $(pidof kdevelop)
# wait a couple of seconds
^C

then create a report file and upload it here:

perf report --no-children -g graph --stdio | bzip2 > perf.report.bz2

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


[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-09-20 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368855

Sven Brauch  changed:

   What|Removed |Added

 CC||m...@svenbrauch.de

--- Comment #3 from Sven Brauch  ---
Hm, all threads in that trace are idle.

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


[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-09-18 Thread Rolf Eike Beer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368855

Rolf Eike Beer  changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|WAITINGFORINFO  |---

--- Comment #2 from Rolf Eike Beer  ---
Thread 14 (Thread 0x7fe1a8c3f700 (LWP 10656)):
#0  0x7fe203b1403f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7fe1fe47f86b in  () at /usr/lib64/libQt5Script.so.5
#2  0x7fe1fe47f899 in  () at /usr/lib64/libQt5Script.so.5
#3  0x7fe203b100a4 in start_thread () at /lib64/libpthread.so.0
#4  0x7fe209ddc02d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7fe1aa5ab700 (LWP 10635)):
#0  0x7fe209dd3bfd in poll () at /lib64/libc.so.6
#1  0x7fe202e94e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x7fe202e94f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x7fe20a700d6c in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#4  0x7fe20a6a7d53 in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#5  0x7fe20a4c961a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x7fe20a4ce32f in  () at /usr/lib64/libQt5Core.so.5
#7  0x7fe203b100a4 in start_thread () at /lib64/libpthread.so.0
#8  0x7fe209ddc02d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7fe18bfff700 (LWP 10528)):
#0  0x7fe209dd3bfd in poll () at /lib64/libc.so.6
#1  0x7fe202e94e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x7fe202e94f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x7fe20a700d6c in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#4  0x7fe20a6a7d53 in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#5  0x7fe20a4c961a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x7fe20a4ce32f in  () at /usr/lib64/libQt5Core.so.5
#7  0x7fe203b100a4 in start_thread () at /lib64/libpthread.so.0
#8  0x7fe209ddc02d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7fe1aadac700 (LWP 10515)):
#0  0x7fe203b1403f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7fe20a4cf34b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib64/libQt5Core.so.5
#2  0x7fe1ff2b465f in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x7fe1ff2b843a in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x7fe1ff2b26cb in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib64/libKF5ThreadWeaver.so.5
#5  0x7fe1ff2b6005 in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#6  0x7fe20a4ce32f in  () at /usr/lib64/libQt5Core.so.5
#7  0x7fe203b100a4 in start_thread () at /lib64/libpthread.so.0
#8  0x7fe209ddc02d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7fe1ab5ad700 (LWP 10514)):
#0  0x7fe203b1403f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7fe20a4cf34b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib64/libQt5Core.so.5
#2  0x7fe1ff2b465f in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x7fe1ff2b843a in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x7fe1ff2b26cb in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib64/libKF5ThreadWeaver.so.5
#5  0x7fe1ff2b8481 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x7fe1ff2b26cb in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib64/libKF5ThreadWeaver.so.5
#7  0x7fe1ff2b6005 in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#8  0x7fe20a4ce32f in  () at /usr/lib64/libQt5Core.so.5
#9  0x7fe203b100a4 in start_thread () at /lib64/libpthread.so.0
#10 0x7fe209ddc02d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fe1abdae700 (LWP 10513)):
#0  0x7fe203b1403f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7fe20a4cf34b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib64/libQt5Core.so.5
#2  0x7fe1ff2b465f in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x7fe1ff2b843a in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x7fe1ff2b26cb in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib64/libKF5ThreadWeaver.so.5
#5  0x7fe1ff2b6005 in ThreadWeaver::Thread::run() () at
/usr/lib64/libKF5ThreadWeaver.so.5
#6  0x7fe20a4ce32f in  () at /usr/lib64/libQt5Core.so.5
#7  0x7fe203b100a4 in start_thread () at /lib64/libpthread.so.0
#8  0x7fe209ddc02d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fe1ac5af70

[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-09-16 Thread Kevin Funk via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368855

Kevin Funk  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Kevin Funk  ---
Backtrace please.

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


[kdevelop] [Bug 368855] changing files via git (rebase, checkout) causes 100% CPU usage on 2 cores

2016-09-15 Thread Rolf Eike Beer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368855

Rolf Eike Beer  changed:

   What|Removed |Added

Summary|changing files via git  |changing files via git
   |(rebase, checkout) causes   |(rebase, checkout) causes
   |100% CPU usage on 2 core|100% CPU usage on 2 cores

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