Re: [Shotwell] 100% CPU consumption
- From: Jim Nelson <jim yorba org>
- To: Titus von der Malsburg <malsburg posteo de>
- Cc: shotwell-list gnome org
- Subject: Re: [Shotwell] 100% CPU consumption
- Date: Tue, 30 Sep 2014 13:45:01 -0700
Could you run this with shotwell-dbg installed? That would help.
Also, I've been fighting a nasty Shotwell regarding caching and Shotwell's memory spiking. That *could* have some affect here. Shotwell 0.20.1 will be coming out soon with this patch, so it's worth seeing if that helps.
-- Jim
On Fri, Sep 19, 2014 at 4:54 PM, Titus von der Malsburg <malsburg posteo de> wrote:
On 2014-09-19 Fri 16:21, Jim Nelson wrote:
If you're willing to be more adventurous, you could run Shotwell under
gdb. When the CPU spikes, go to gdb and press Ctrl+C, then type bt.
That should give you a stack trace. There's a good chance it will show
you where Shotwell is spinning its wheels.
Here you go:
First run:
^C
Program received signal SIGINT, Interrupt.
0x00007ffff3ff17ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x1875370)
at pthread_mutex_unlock.c:57
57 pthread_mutex_unlock.c: No such file or directory.
(gdb) bt
#0 0x00007ffff3ff17ee in __pthread_mutex_unlock_usercnt (decr=1,
mutex=0x1875370) at pthread_mutex_unlock.c:57
#1 __GI___pthread_mutex_unlock (mutex=0x1875370) at pthread_mutex_unlock.c:310
#2 0x00000000005d912d in photo_get_editable_photo_row ()
#3 0x00000000005ee060 in ?? ()
#4 0x00000000005ee43b in library_photo_source_collection_fetch_by_matching_backing ()
#5 0x00000000006ba1d9 in ?? ()
#6 0x000000000067cd78 in ?? ()
#7 0x00007ffff424cce5 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007ffff424d048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff424d0ec in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff47ff67c in g_application_run ()
from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x000000000068ef05 in application_start ()
#12 0x000000000058348a in library_exec ()
#13 0x0000000000584369 in _vala_main ()
#14 0x0000000000474c6a in main ()
Second run:
^C
Program received signal SIGINT, Interrupt.
0x00007ffff428e62a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff428e62a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff428e989 in g_mutex_lock ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4533f44 in g_signal_handlers_destroy ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007ffff4520d94 in g_object_unref ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00000000005ee0f8 in ?? ()
#5 0x00000000005ee43b in library_photo_source_collection_fetch_by_matching_backing ()
#6 0x00000000006ba1d9 in ?? ()
#7 0x000000000067cd78 in ?? ()
#8 0x00007ffff424cce5 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff424d048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff424d0ec in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff47ff67c in g_application_run ()
from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x000000000068ef05 in application_start ()
#13 0x000000000058348a in library_exec ()
#14 0x0000000000584369 in _vala_main ()
#15 0x0000000000474c6a in main ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]