Package: shotwell Version: 0.20.1-1 Severity: important Dear Maintainer, I loaded a large photo collection on shotwell and now it become almost useless since it takes really a lot of time to startup. Moreover it seems that while being at 95% (this is the progress bar status where it stay for about 80 seconds when the program starts) it uses 100% cpu.
After about 80 seconds at 95%, it jumps to 99% and keep using 100% cpu for about 30 seconds. I tried to run it via gdb after installing all -dbg packages (for shotwell and dependancies) and, if I press control-c during the 100% cpu usage, I always get this backtrace: (gdb) bt #0 0x00007ffff7b8cfac in gee_tree_set_check_subtree (node=0x55556403ba90, self=0x555563d3bbc0) at treeset.c:2561 #1 gee_tree_set_check_subtree (self=0x555563d3bbc0, node=0x55556403bc10) at treeset.c:2578 #2 0x00007ffff7b8cf01 in gee_tree_set_check_subtree (node=0x55556403b130, self=0x555563d3bbc0) at treeset.c:2582 #3 gee_tree_set_check_subtree (self=0x555563d3bbc0, node=0x55556403be90) at treeset.c:2578 #4 0x00007ffff7b8cef2 in gee_tree_set_check_subtree (node=0x55556403e520, self=0x555563d3bbc0) at treeset.c:2578 #5 gee_tree_set_check_subtree (self=0x555563d3bbc0, node=0x555564040ea0) at treeset.c:2578 #6 0x00007ffff7b8cef2 in gee_tree_set_check_subtree (node=0x555564047b20, self=0x555563d3bbc0) at treeset.c:2578 #7 gee_tree_set_check_subtree (self=0x555563d3bbc0, node=0x555564054c90) at treeset.c:2578 #8 0x00007ffff7b8d0b1 in gee_tree_set_check_subtree (node=0x55556403ac10, self=0x555563d3bbc0) at treeset.c:2582 #9 gee_tree_set_check_subtree (node=0x555564070930, self=0x555563d3bbc0) at treeset.c:2578 #10 gee_tree_set_check_subtree (self=0x555563d3bbc0, node=0x5555640048a0) at treeset.c:2582 #11 0x00007ffff7b8cf01 in gee_tree_set_check_subtree (node=0x555563f32730, self=0x555563d3bbc0) at treeset.c:2582 #12 gee_tree_set_check_subtree (self=0x555563d3bbc0, node=0x5555640e4200) at treeset.c:2578 #13 0x00007ffff7b8fa5c in gee_tree_set_check (self=0x555563d3bbc0) at treeset.c:2502 #14 gee_tree_set_real_add (base=0x555563d3bbc0, item=<optimized out>) at treeset.c:1335 #15 0x00007ffff7b276ea in gee_abstract_multi_map_real_set (base=0x555555ba3c10, key=<optimized out>, value=0x55555bc3fda0) at abstractmultimap.c:998 #16 0x000055555580c0c0 in media_source_collection_real_notify_contents_altered (base=0x55555bc3fda0, added=0x55556403ba00, removed=0x1) at src/MediaDataRepresentation.c:3822 #17 0x00005555557589b6 in library_photo_source_collection_real_notify_contents_altered (base=0x118, added=0x55556403ba00, removed=0x1) at src/Photo.c:22748 #18 0x000055555566854b in data_collection_real_add_many (self=0x555555bfa440, objects=<optimized out>, monitor=0x0, monitor_target=0x0) at src/core/DataCollection.c:1013 #19 0x0000555555759800 in library_photo_init (monitor=0x5555556ea0b0 <_aggregate_progress_monitor_monitor_progress_monitor>, monitor_target=0x5555560dd4d0) at src/Photo.c:24846 #20 0x00005555556eaf0e in library_exec (mounts=0x555555bad3d0, mounts_length1=0) at src/main.c:1100 #21 0x00005555556eb9f8 in _vala_main (args=0x7fffffffe268, args_length1=1) at src/main.c:1964 #22 0x00005555555db560 in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:2046 (gdb) I do not know if media_source_collection_real_notify_contents_altered() calls many time libgee, or if gee_abstract_multi_map_real_set is just called once, but this seems to be where the problem is. Do you have any suggestion in order to better trace the problem? Thanks, Giuseppe -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages shotwell depends on: ii dbus-x11 1.8.12-3 ii libatk1.0-0 2.14.0-1 ii libc6 2.19-13 ii libcairo-gobject2 1.14.0-2.1 ii libcairo2 1.14.0-2.1 ii libexif12 0.6.21-2 ii libgdk-pixbuf2.0-0 2.31.1-2+b1 ii libgee-0.8-2 0.16.1-1 ii libgexiv2-2 0.10.2-2 ii libglib2.0-0 2.42.1-1 ii libgomp1 4.9.1-19 ii libgphoto2-6 2.5.4-1.1+b2 ii libgphoto2-port10 2.5.4-1.1+b2 ii libgstreamer-plugins-base1.0-0 1.4.4-2 ii libgstreamer1.0-0 1.4.4-2 ii libgtk-3-0 3.14.5-1 ii libgudev-1.0-0 215-10 ii libjavascriptcoregtk-3.0-0 2.4.8-1 ii libjson-glib-1.0-0 1.0.2-1 ii liblcms2-2 2.6-3+b3 ii libpango-1.0-0 1.36.8-3 ii libpangocairo-1.0-0 1.36.8-3 ii libraw10 0.16.0-9+b1 ii librest-0.7-0 0.7.92-2 ii librsvg2-common 2.40.5-1 ii libsoup2.4-1 2.48.0-1 ii libsqlite3-0 3.8.7.1-1 ii libstdc++6 4.9.1-19 ii libwebkitgtk-3.0-0 2.4.8-1 ii libx11-6 2:1.6.2-3 ii libxml2 2.9.1+dfsg1-4 ii shotwell-common 0.20.1-1 shotwell recommends no packages. shotwell suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org