Re: [Shotwell] shotwell freezing shortly after startup
- From: Dougie Nisbet <dougie highmoor co uk>
- To: Jim Nelson <jim yorba org>
- Cc: shotwell-list gnome org
- Subject: Re: [Shotwell] shotwell freezing shortly after startup
- Date: Wed, 01 Oct 2014 20:55:33 +0100
On 01/10/14 20:25, Jim Nelson wrote:
Yes, please use gdb and see if you can get a stack trace of where
Shotwell is hung. Does your photo library contain any symbolic links?
Is it located on the local hard drive or external storage?
No symbolic links, and the photo library is on an internal hard drive.
I believe the hang happens when there is activity in the library
directory structure that shotwell is configured to continuously scan for
new activity.
In the scenario where I mv the library (shotwell not running), then
re-create the top-level directory, then restart shotwell, things are ok.
shotwell does not hang, although there are no images or thumbnails
showing. As would be expected. i.e.:
mv /store1/images /store1/i
mkdir /store1/images
shotwell
Now if I tentatively copy a few images back into the library, e.g.
mkdir -p /store1/images/2014/09/30
cp -a /store1/i/2014/09/30/* /store1/images/2014/09/30
while shotwell is running, I get away with it. As long as I'm dealing
with just one or two images. Copying 30th Sep and 29th Sep were ok.
Now if I copy a bigger batch of images back, specific example:
cp -a /store1/i/2014/09/28/* /store1/images/2014/09/28
then shotwell hangs.
My photo library now looks like:
dougie skye:/store1/images$ ls -R
.:
2014
./2014:
09
./2014/09:
28 29 30
./2014/09/28:
2014-09-28 07.05.20.jpg 2014-09-28 13.01.07.jpg 2014-09-28
14.15.02.jpg 2014-09-28 14.22.59.jpg 2014-09-28 17.37.59 HDR.jpg
2014-09-28 18.03.44.jpg
2014-09-28 08.53.46.jpg 2014-09-28 13.03.55.jpg 2014-09-28
14.15.03-1.jpg 2014-09-28 14.23.01.jpg 2014-09-28 17.37.59.jpg
2014-09-28 18.03.49.jpg
2014-09-28 08.53.49.jpg 2014-09-28 13.03.58.jpg 2014-09-28
14.15.03-2.jpg 2014-09-28 14.23.02.jpg 2014-09-28 18.00.13 HDR.jpg
2014-09-28 18.06.19.jpg
2014-09-28 11.05.47.jpg 2014-09-28 13.37.09 HDR.jpg 2014-09-28
14.15.05.jpg 2014-09-28 14.23.04.jpg 2014-09-28 18.00.13.jpg
2014-09-28 18.06.30.jpg
2014-09-28 11.06.00.jpg 2014-09-28 13.37.09.jpg 2014-09-28
14.15.06.jpg 2014-09-28 14.37.59.jpg 2014-09-28 18.00.21 HDR.jpg
2014-09-28 18.07.37.jpg
2014-09-28 11.38.34.jpg 2014-09-28 14.14.51.jpg 2014-09-28
14.16.39.jpg 2014-09-28 14.38.05.jpg 2014-09-28 18.00.21.jpg
2014-09-28 18.07.38 HDR.jpg
2014-09-28 11.38.37.jpg 2014-09-28 14.14.52.jpg 2014-09-28
14.22.46.jpg 2014-09-28 14.38.07.jpg 2014-09-28 18.00.23.jpg
2014-09-28 18.07.53 HDR.jpg
2014-09-28 11.46.51.jpg 2014-09-28 14.14.59.jpg 2014-09-28
14.22.48.jpg 2014-09-28 14.38.10.jpg 2014-09-28 18.00.24 HDR.jpg
2014-09-28 18.07.53.jpg
2014-09-28 12.18.37.jpg 2014-09-28 14.15.00.jpg 2014-09-28
14.22.49.jpg 2014-09-28 15.13.42.jpg 2014-09-28 18.00.33 HDR.jpg
2014-09-28 19.02.20.jpg
2014-09-28 13.01.03.jpg 2014-09-28 14.15.01.jpg 2014-09-28
14.22.51.jpg 2014-09-28 15.13.45.jpg 2014-09-28 18.00.33.jpg
2014-09-28 19.02.33.jpg
./2014/09/29:
2014-09-29 11.38.14.jpg 2014-09-29 11.39.56.jpg 2014-09-29
13.10.20.jpg 2014-09-29 13.10.35.jpg
./2014/09/30:
2014-09-30 21.25.03.jpg
dougie skye:/store1/images$
This is my first time trying to use gdb so bear with me or tell me if
I've got it wrong.
I hit Ctrl-C after copying the ./2014/09/28 directory into the library
and shotwell hung.
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from shotwell...done.
(gdb) run
Starting program: /usr/local/bin/shotwell
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
** (shotwell:31584): WARNING **: Couldn't register with accessibility
bus: Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network connection
was broken.
[New Thread 0x7fffe2fa2700 (LWP 31588)]
[New Thread 0x7fffe1d47700 (LWP 31589)]
(shotwell:31584): GLib-GObject-WARNING **: The property
GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore.
It will be removed in a future version.
[New Thread 0x7fffd7669700 (LWP 31590)]
[New Thread 0x7fffd6e68700 (LWP 31591)]
[New Thread 0x7fffd6667700 (LWP 31592)]
(shotwell:31584): GLib-GObject-WARNING **: The property
GtkButton:use-stock is deprecated and shouldn't be used anymore. It will
be removed in a future version.
(shotwell:31584): GLib-GObject-WARNING **: The property
GtkSettings:gtk-button-images is deprecated and shouldn't be used
anymore. It will be removed in a future version.
(shotwell:31584): GLib-GObject-WARNING **: The property
GtkImageMenuItem:accel-group is deprecated and shouldn't be used
anymore. It will be removed in a future version.
[New Thread 0x7fffd4e2a700 (LWP 31593)]
[Thread 0x7fffd4e2a700 (LWP 31593) exited]
[New Thread 0x7fffd4e2a700 (LWP 31594)]
[Thread 0x7fffd4e2a700 (LWP 31594) exited]
[New Thread 0x7fffd4e2a700 (LWP 31595)]
[Thread 0x7fffd4e2a700 (LWP 31595) exited]
[New Thread 0x7fffd4e2a700 (LWP 31597)]
[New Thread 0x7fffbffff700 (LWP 31598)]
[Thread 0x7fffd4e2a700 (LWP 31597) exited]
[New Thread 0x7fffd4e2a700 (LWP 31599)]
[New Thread 0x7fffbf7fe700 (LWP 31600)]
[New Thread 0x7fffbeffd700 (LWP 31601)]
[New Thread 0x7fffbe7fc700 (LWP 31602)]
[New Thread 0x7fffbdffb700 (LWP 31603)]
[New Thread 0x7fffbd7fa700 (LWP 31604)]
[New Thread 0x7fffbcff9700 (LWP 31605)]
[New Thread 0x7fffb7fff700 (LWP 31606)]
[New Thread 0x7fffb77fe700 (LWP 31607)]
[Thread 0x7fffbeffd700 (LWP 31601) exited]
[Thread 0x7fffbe7fc700 (LWP 31602) exited]
[Thread 0x7fffbf7fe700 (LWP 31600) exited]
[Thread 0x7fffbcff9700 (LWP 31605) exited]
[Thread 0x7fffb77fe700 (LWP 31607) exited]
[Thread 0x7fffbdffb700 (LWP 31603) exited]
[Thread 0x7fffb7fff700 (LWP 31606) exited]
[Thread 0x7fffbffff700 (LWP 31598) exited]
[Thread 0x7fffd4e2a700 (LWP 31599) exited]
[New Thread 0x7fffd4e2a700 (LWP 31609)]
[New Thread 0x7fffbffff700 (LWP 31610)]
[New Thread 0x7fffb7fff700 (LWP 31611)]
[New Thread 0x7fffbdffb700 (LWP 31612)]
[New Thread 0x7fffbf7fe700 (LWP 31613)]
[New Thread 0x7fffbeffd700 (LWP 31614)]
[New Thread 0x7fffbe7fc700 (LWP 31615)]
[New Thread 0x7fffbcff9700 (LWP 31616)]
[New Thread 0x7fffb77fe700 (LWP 31617)]
[Thread 0x7fffbd7fa700 (LWP 31604) exited]
[Thread 0x7fffd4e2a700 (LWP 31609) exited]
[Thread 0x7fffb77fe700 (LWP 31617) exited]
[Thread 0x7fffbcff9700 (LWP 31616) exited]
[Thread 0x7fffbeffd700 (LWP 31614) exited]
[Thread 0x7fffbffff700 (LWP 31610) exited]
[Thread 0x7fffbe7fc700 (LWP 31615) exited]
[Thread 0x7fffbdffb700 (LWP 31612) exited]
[Thread 0x7fffb7fff700 (LWP 31611) exited]
[New Thread 0x7fffb7fff700 (LWP 31618)]
[New Thread 0x7fffbdffb700 (LWP 31619)]
[New Thread 0x7fffbe7fc700 (LWP 31620)]
[New Thread 0x7fffbeffd700 (LWP 31621)]
[New Thread 0x7fffd5042700 (LWP 31622)]
[New Thread 0x7fffd4841700 (LWP 31623)]
[New Thread 0x7fffbffff700 (LWP 31624)]
[New Thread 0x7fffbd7fa700 (LWP 31625)]
[New Thread 0x7fffbcff9700 (LWP 31626)]
[New Thread 0x7fffb77fe700 (LWP 31627)]
[Thread 0x7fffbdffb700 (LWP 31619) exited]
[Thread 0x7fffbffff700 (LWP 31624) exited]
[Thread 0x7fffbcff9700 (LWP 31626) exited]
[Thread 0x7fffbeffd700 (LWP 31621) exited]
[Thread 0x7fffb77fe700 (LWP 31627) exited]
[Thread 0x7fffd5042700 (LWP 31622) exited]
[Thread 0x7fffbd7fa700 (LWP 31625) exited]
[Thread 0x7fffbe7fc700 (LWP 31620) exited]
[Thread 0x7fffd4841700 (LWP 31623) exited]
[Thread 0x7fffb7fff700 (LWP 31618) exited]
Program received signal SIGINT, Interrupt.
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 ../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or
directory.
(gdb) backtrace full
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007ffff01369a9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x000000000048038d in abstract_semaphore_notify (self=0x120b970) at
/home/dougie/shotwell-0.20.0/src/threads/Semaphore.vala:44
action = ABSTRACT_SEMAPHORE_NOTIFY_ACTION_NONE
_tmp0_ = ABSTRACT_SEMAPHORE_NOTIFY_ACTION_NONE
_tmp1_ = ABSTRACT_SEMAPHORE_NOTIFY_ACTION_NONE
__FUNCTION__ = "abstract_semaphore_notify"
#3 0x000000000047f666 in background_job_on_notification_ready
(self=<optimized out>) at
/home/dougie/shotwell-0.20.0/src/threads/BackgroundJob.vala:238
_tmp18_ = 0x7fffb800bed0
_tmp7_ = 0x7fffb800be80
_tmp13_ = <optimized out>
_tmp17_ = 0x7fffb800bed0
notification_job = 0x7fffb800be80
_tmp9__target = <optimized out>
_tmp12_ = 0x7fffb800be80
interlocked = 0x7fffb800bed0
_tmp16_ = <optimized out>
_tmp9_ = <optimized out>
_tmp11_ = <optimized out>
_tmp15_ = <optimized out>
_inner_error_ = 0x0
_tmp8_ = 0x7fffb800be80
_tmp10_ = 0x7fffb800be80
_tmp14_ = 0x7fffb800be80
#4 _background_job_on_notification_ready_gsource_func (self=<optimized
out>) at BackgroundJob.c:1101
No locals.
#5 0x00007ffff00f2b6d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007ffff00f2f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0x00007ffff00f2ffc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8 0x00007ffff761c1bc in g_application_run () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#9 0x000000000068f159 in application_start (self=0xa690e0, argv=0x0,
argv_length1=0) at /home/dougie/shotwell-0.20.0/src/Application.vala:170
_tmp2_ = 0xfffffffffffffe00
_tmp3_ = 0xa31200
_tmp5_ = 0xa72880
_tmp8_ = -512
_tmp12_ = 0x0
_tmp13_ = 0
_tmp14_ = 0x0
_tmp15_ = 0
__FUNCTION__ = "application_start"
#10 0x000000000058294d in library_exec (mounts=0xa690e0,
mounts_length1=12910816) at /home/dougie/shotwell-0.20.0/src/main.vala:197
_tmp0_ = -512
_tmp4_ = 0xc3e200
_tmp6_ = 0xe40440
_tmp9_ = 0xc3e200 "0.20.0"
_tmp10_ = 20
_tmp89_ = 0xfffffffffffffe00
_tmp92_ = 0x120b958
_tmp105_ = 0xe40440
_tmp105__target = 0x0
_tmp119_ = 0xc500e0
_tmp121_ = 0
_tmp142_ = -5.4861240687936887e+303
_tmp144_ = 0xa690e0
_inner_error_ = 0x0
#11 0x0000000000583888 in _vala_main (args=args entry=0x7fffffffe308,
args_length1=args_length1 entry=1) at
/home/dougie/shotwell-0.20.0/src/main.vala:420
_tmp67_ = 0xa4a940
_tmp67__length1 = 0
_tmp0_ = 0x7fffffffe308
_tmp0__length1 = <optimized out>
_tmp1_ = <optimized out>
_tmp2_ = <optimized out>
_tmp3_ = <optimized out>
_tmp4_ = <optimized out>
_tmp22_ = <optimized out>
mounts = 0xa4a940
_tmp23_ = <optimized out>
mounts_length1 = <optimized out>
_mounts_size_ = <optimized out>
filename = <optimized out>
_tmp46_ = <optimized out>
_tmp47_ = 0x0
_tmp48_ = <optimized out>
_tmp49_ = <optimized out>
_tmp58_ = 0x0
_tmp59_ = <optimized out>
_tmp60_ = <optimized out>
_tmp62_ = <optimized out>
_tmp62__length1 = <optimized out>
_tmp63_ = 0xaab550
_tmp64_ = 0xaab550
_tmp65_ = 0x0
_tmp66_ = <optimized out>
_tmp69_ = 0
_tmp70_ = 0x0
_tmp71_ = 0
_tmp73_ = 0
_inner_error_ = 0x0
#12 0x0000000000474c4a in main (argc=1, argv=0x7fffffffe308) at
/home/dougie/shotwell-0.20.0/src/main.vala:317
No locals.
(gdb) quit
A debugging session is active.
Inferior 1 [process 31584] will be killed.
Quit anyway? (y or n)
and here's the output from cache.log:
L 31584 2014-10-01 20:31:23 [MSG] main.vala:385: Shotwell Photo Manager
0.20.0
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:316: Searching
/home/dougie/.gnome2/shotwell/plugins for plugins ...
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:135: Unable to search
directory /home/dougie/.gnome2/shotwell/plugins for plugins: No such
file or directory
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:316: Searching
/usr/local/lib/shotwell/plugins for plugins ...
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:316: Searching
/usr/local/lib/shotwell/plugins/builtin for plugins ...
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:424: Loaded SPIT module
"Core Slideshow Transitions 0.20.0" (org.yorba.shotwell.transitions)
[/usr/local/lib/shotwell/plugins/builtin/shotwell-transitions.so]
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:424: Loaded SPIT module
"Core Publishing Services 0.20.0"
(org.yorba.shotwell.publishing.core_services)
[/usr/local/lib/shotwell/plugins/builtin/shotwell-publishing.so]
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:424: Loaded SPIT module
"Core Data Import Services 0.20.0"
(org.yorba.shotwell.data_imports.core_services)
[/usr/local/lib/shotwell/plugins/builtin/shotwell-data-imports.so]
L 31584 2014-10-01 20:31:23 [DBG] Plugins.vala:424: Loaded SPIT module
"Shotwell Extra Publishing Services 0.20.0"
(org.yorba.shotwell.publishing.extras)
[/usr/local/lib/shotwell/plugins/builtin/shotwell-publishing-extras.so]
L 31584 2014-10-01 20:31:24 [MSG] main.vala:43: Verifying database ...
L 31584 2014-10-01 20:31:24 [DBG] Db.vala:40: Database schema version 20
created by app version 0.20.0
L 31584 2014-10-01 20:31:24 [DBG] Upgrades.vala:85: Could not delete
mimics: /home/dougie/.local/share/shotwell/mimics is not a directory
L 31584 2014-10-01 20:31:24 [DBG] ConfigurationInterfaces.vala:331:
ConfigurationFacade: engine reports property 'DISPLAY_BASIC_PROPERTIES'
changed.
L 31584 2014-10-01 20:31:24 [DBG] ConfigurationInterfaces.vala:331:
ConfigurationFacade: engine reports property 'DISPLAY_SEARCH_BAR' changed.
L 31584 2014-10-01 20:31:24 [DBG] ConfigurationInterfaces.vala:331:
ConfigurationFacade: engine reports property 'EVENTS_SORT_ASCENDING'
changed.
L 31584 2014-10-01 20:31:24 [DBG] LibraryWindow.vala:275:
on_library_monitor_installed: /store1/images
L 31584 2014-10-01 20:31:24 [DBG] ConfigurationInterfaces.vala:331:
ConfigurationFacade: engine reports property 'DISPLAY_SIDEBAR' changed.
L 31584 2014-10-01 20:31:24 [DBG] ConfigurationInterfaces.vala:331:
ConfigurationFacade: engine reports property 'SHOW_WELCOME_DIALOG' changed.
L 31584 2014-10-01 20:31:24 [DBG] main.vala:195: 0.660724 seconds to
Gtk.main()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]