Shotwell freeze at startup with CPU at 100% & Memory usage growing limitlessly
Submitted by an unknown user
Link to original bug (#718165)
Description
---- Reported by shotwell-maint@gnome.bugs 2011-11-21 14:42:00 -0800 ----
Original Redmine bug id: 4417
Original URL: http://redmine.yorba.org/issues/4417
Searchable id: yorba-bug-4417
Original author: Christophe de Vienne
Original description:
When I start shotwell, the main window appears (sometimes blank, sometime not) and immediately freeze.
The process then eat all the CPU and memory it can. I have to kill it to get my system back.
Trying to understand what was wrong I tried :
- Resetting all the preferences using dconf-editor
- Using an empty database (-d tmp)
-> nothing changed
backtrace¶
So I ran shotwell in gdb in order to have a backtrace. The problem seems to be in the progress bar display.
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/shotwell...done.
(gdb) run
Starting program: /usr/bin/shotwell
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffdeba2700 (LWP 6782)]
[New Thread 0x7fffde3a1700 (LWP 6783)]
[New Thread 0x7fffddba0700 (LWP 6784)]
[New Thread 0x7fffdcf74700 (LWP 6785)]
[Thread 0x7fffdcf74700 (LWP 6785) exited]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff28be2f2 in ?? () from /usr/lib/libcairo.so.2
(gdb) backtrace
#0 0x00007ffff28be2f2 in ?? () from /usr/lib/libcairo.so.2
#1 0x00007ffff28a336f in cairo_line_to () from /usr/lib/libcairo.so.2
#2 0x00007fffe6fb2eb4 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libaurora.so
#3 0x00007fffe6fa7a32 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libaurora.so
#4 0x00007ffff3cd32c1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#5 0x00007ffff3e14dc8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6 0x00007ffff1c0381c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff1c147e3 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff1c1e258 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff1c1e41f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff3dba29e in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00007ffff3dba988 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007ffff3c585ea in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007ffff3c18a0f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007ffff1c0381c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff1c147e3 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff1c1e258 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff1c1e41f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff3dba95e in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00007ffff1c0381c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff1c147e3 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff1c1e258 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff1c1e41f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff3dbb256 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00000000004e3946 in library_window_show_background_progress_bar (self=0xe1a030) at src/library/LibraryWindow.c:4890
#25 0x00000000004e3cdb in library_window_start_pulse_background_progress_bar (self=0xe1a030, label=0x7ffff7f60bd6 "Mise à jour de la phototèque...", priority=35)
at src/library/LibraryWindow.c:4804
#26 0x00007ffff1c0381c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff1c15019 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff1c1e258 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff1c1e60d in g_signal_emit_by_name () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00000000006740c1 in directory_monitor_start_discovery (self=0xe07050) at src/DirectoryMonitor.c:1692
#31 0x0000000000675903 in library_monitor_pool_on_start_monitor (self=`<value optimized out>`) at src/LibraryMonitor.c:1217
#32 _library_monitor_pool_on_start_monitor_gsource_func (self=`<value optimized out>`) at src/LibraryMonitor.c:1164
#33 0x00007ffff10fc4eb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff10fabcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff10fb3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff10fb9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff3c1ba2b in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x0000000000601196 in welcome_dialog_execute (self=0xf1a620, do_fspot_import=0x7fffffffdeb0, do_system_pictures_import=0x7fffffffdeac) at src/Dialogs.c:6685
#39 0x000000000057828c in library_exec (mounts=`<value optimized out>`, mounts_length1=`<value optimized out>`) at src/main.c:1099
#40 0x0000000000579307 in _vala_main (args=0x7fffffffe068, args_length1=1) at src/main.c:1592
#41 0x0000000000579529 in main (argc=1, argv=0x7fffffffe068) at src/main.c:1657
(gdb)
Versions & co¶
- LinuxMint11 x64
- Shotwell 0.11.6. Also tried with an old build of shotwell from git (which i did a few month ago) -> same issue.
I can provide more information but don't know exactly which one you need.
Related issues: duplicates shotwell - 3021: Shotwell 0.8.0 hangs on startup (Invalid)
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:46:00 -0700 ----
History
Comment 1
Updated by Adam Dingle about 2 years ago
- Status changed from Open to 5
- Resolution set to duplicate
This is a duplicate of #3021 (closed), and is a known bug in the Aurora theme engine (which you can see in the backtrace above). If you switch GTK themes the problem should go away.
Comment 2
Updated by Christophe de Vienne about 2 years ago
Switched theme and the problem is gone.
Thanks a lot !
Comment 3
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Duplicate
--- Bug imported by chaz@yorba.org 2013-11-25 21:55 UTC ---
This bug was previously known as bug 4417 at http://redmine.yorba.org/show_bug.cgi?id=4417
Unknown Component Using default product and component set in Parameters Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Resolution: RESOLVED DUPLICATE