Re: [Shotwell] shotwell freezing shortly after startup



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?


I thought I was onto something when shotwell started and ran ok, but have discovered that I had two different binaries. I'm guessing that when I've installed shotwell (0.18.1) from the Debian repos it has installed to /usr/bin/shotwell, and when I compiled from source after downloading the tarball from the yorba site, it looks like that binary is installed in /usr/local/bin/shotwell. I hadn't expected the source filenames from ~dougie/shotwell-0.20.0 to appear in the gdb output as I'd installed as root (./configure ; make ; make install).

I'm still getting shotwell hanging. If I simply now attempt to import a single directory into shotwell (rather than copy it directly into the photo library) it is hanging consistently. gdb output below.

Perhaps I should try and clean everything and re-install? I don't mind doing that but I'm never quite sure how to eradicate all traces of shotwell to attempt a clean install.


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:2969): 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 2974)]
[New Thread 0x7fffe1d47700 (LWP 2975)]

(shotwell:2969): 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 2976)]
[New Thread 0x7fffd6e68700 (LWP 2977)]
[New Thread 0x7fffd6667700 (LWP 2978)]

(shotwell:2969): 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:2969): 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:2969): 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 0x7fffd55cb700 (LWP 2979)]
[Thread 0x7fffd55cb700 (LWP 2979) exited]
[New Thread 0x7fffd55cb700 (LWP 2980)]
[Thread 0x7fffd55cb700 (LWP 2980) exited]

(shotwell:2969): GLib-GObject-WARNING **: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.

(shotwell:2969): GLib-GObject-WARNING **: The property GtkSettings:gtk-cursor-blink is deprecated and shouldn't be used anymore. It will be removed in a future version.

(shotwell:2969): GLib-GObject-WARNING **: The property GtkSettings:gtk-cursor-blink-time is deprecated and shouldn't be used anymore. It will be removed in a future version.

(shotwell:2969): GLib-GObject-WARNING **: The property GtkSettings:gtk-cursor-blink-timeout is deprecated and shouldn't be used anymore. It will be removed in a future version.
[New Thread 0x7fffd55cb700 (LWP 2981)]
[New Thread 0x7fffd4dca700 (LWP 2982)]
[New Thread 0x7fffc7fff700 (LWP 2983)]
[New Thread 0x7fffc77fe700 (LWP 2984)]
[New Thread 0x7fffc6ffd700 (LWP 2985)]
[New Thread 0x7fffc67fc700 (LWP 2986)]
[Thread 0x7fffc77fe700 (LWP 2984) exited]
[Thread 0x7fffc67fc700 (LWP 2986) exited]
[Thread 0x7fffd4dca700 (LWP 2982) exited]
[Thread 0x7fffd55cb700 (LWP 2981) exited]
[Thread 0x7fffc7fff700 (LWP 2983) exited]
[New Thread 0x7fffc7fff700 (LWP 2988)]
[New Thread 0x7fffd55cb700 (LWP 2989)]
[New Thread 0x7fffd4dca700 (LWP 2990)]
[New Thread 0x7fffc67fc700 (LWP 2991)]
[New Thread 0x7fffc77fe700 (LWP 2992)]
[Thread 0x7fffd55cb700 (LWP 2989) exited]
[Thread 0x7fffc67fc700 (LWP 2991) exited]
[Thread 0x7fffd4dca700 (LWP 2990) exited]
[Thread 0x7fffc6ffd700 (LWP 2985) exited]
[Thread 0x7fffc77fe700 (LWP 2992) exited]
[New Thread 0x7fffc77fe700 (LWP 2993)]
[Thread 0x7fffc77fe700 (LWP 2993) exited]
[New Thread 0x7fffc77fe700 (LWP 2994)]
[Thread 0x7fffc7fff700 (LWP 2988) exited]
[New Thread 0x7fffc7fff700 (LWP 3005)]
[New Thread 0x7fffd4dca700 (LWP 3006)]
[New Thread 0x7fffc6ffd700 (LWP 3007)]
[New Thread 0x7fffc67fc700 (LWP 3008)]
[Thread 0x7fffd4dca700 (LWP 3006) exited]
[Thread 0x7fffc6ffd700 (LWP 3007) exited]
[Thread 0x7fffc67fc700 (LWP 3008) exited]
[Thread 0x7fffc7fff700 (LWP 3005) exited]
[New Thread 0x7fffc7fff700 (LWP 3009)]
[New Thread 0x7fffc67fc700 (LWP 3010)]
[Thread 0x7fffc67fc700 (LWP 3010) exited]
[Thread 0x7fffc77fe700 (LWP 2994) 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) run
(gdb) backratrace 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=0x11dc2b0)
    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_ = 0x110c290
        _tmp7_ = 0x1289600
        _tmp13_ = <optimized out>
        _tmp17_ = 0x110c290
        notification_job = 0x1289600
        _tmp9__target = <optimized out>
        _tmp12_ = 0x1289600
        interlocked = 0x110c290
        _tmp16_ = <optimized out>
        _tmp9_ = <optimized out>
        _tmp11_ = <optimized out>
        _tmp15_ = <optimized out>
        _inner_error_ = 0x0
        _tmp8_ = 0x1289600
        _tmp10_ = 0x1289600
        _tmp14_ = 0x1289600
#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_ = 0xa729a0
        _tmp8_ = -512
        _tmp12_ = 0x0
        _tmp13_ = 0
        _tmp14_ = 0x0
        _tmp15_ = 0
        __FUNCTION__ = "application_start"
#10 0x000000000058294d in library_exec (mounts=0xa690e0, mounts_length1=12539104)
    at /home/dougie/shotwell-0.20.0/src/main.vala:197
        _tmp0_ = -512
        _tmp4_ = 0xc4f7b0
        _tmp6_ = 0xe9c3b0
        _tmp9_ = 0xc4f7b0 "0.20.0"
        _tmp10_ = 20
        _tmp89_ = 0xfffffffffffffe00
        _tmp92_ = 0x11dc298
        _tmp105_ = 0xe9c3b0
        _tmp105__target = 0x0
        _tmp119_ = 0xbf54e0
        _tmp121_ = 0
        _tmp142_ = -5.4861240687936887e+303
        _tmp144_ = 0xa690e0
        _inner_error_ = 0x0
#11 0x0000000000583888 in _vala_main (args=args entry=0x7fffffffe2f8, args_length1=args_length1 entry=1)
    at /home/dougie/shotwell-0.20.0/src/main.vala:420
        _tmp67_ = 0xa4b6f0
        _tmp67__length1 = 0
        _tmp0_ = 0x7fffffffe2f8
        _tmp0__length1 = <optimized out>
        _tmp1_ = <optimized out>
        _tmp2_ = <optimized out>
        _tmp3_ = <optimized out>
        _tmp4_ = <optimized out>
        _tmp22_ = <optimized out>
        mounts = 0xa4b6f0
        _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_ = 0xaaae70
        _tmp64_ = 0xaaae70
        _tmp65_ = 0x0
        _tmp66_ = <optimized out>
        _tmp69_ = 0
        _tmp70_ = 0x0
        _tmp71_ = 0
        _tmp73_ = 0
        _inner_error_ = 0x0
#12 0x0000000000474c4a in main (argc=1, argv=0x7fffffffe2f8)
    at /home/dougie/shotwell-0.20.0/src/main.vala:317
No locals.
(gdb) quit
A debugging session is active.

    Inferior 1 [process 2969] will be killed.

Quit anyway? (y or n)



shotwell.log:

L 2969 2014-10-01 21:21:00 [MSG] main.vala:385: Shotwell Photo Manager 0.20.0 L 2969 2014-10-01 21:21:00 [DBG] Plugins.vala:316: Searching /home/dougie/.gnome2/shotwell/plugins for plugins ... L 2969 2014-10-01 21:21:00 [DBG] Plugins.vala:135: Unable to search directory /home/dougie/.gnome2/shotwell/plugins for plugins: No such file or directory L 2969 2014-10-01 21:21:00 [DBG] Plugins.vala:316: Searching /usr/local/lib/shotwell/plugins for plugins ... L 2969 2014-10-01 21:21:00 [DBG] Plugins.vala:316: Searching /usr/local/lib/shotwell/plugins/builtin for plugins ... L 2969 2014-10-01 21:21:00 [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 2969 2014-10-01 21:21:00 [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 2969 2014-10-01 21:21:00 [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 2969 2014-10-01 21:21:00 [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 2969 2014-10-01 21:21:00 [MSG] main.vala:43: Verifying database ...
L 2969 2014-10-01 21:21:00 [DBG] Db.vala:40: Database schema version 20 created by app version 0.20.0 L 2969 2014-10-01 21:21:00 [DBG] Upgrades.vala:85: Could not delete mimics: /home/dougie/.local/share/shotwell/mimics is not a directory L 2969 2014-10-01 21:21:00 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_BASIC_PROPERTIES' changed. L 2969 2014-10-01 21:21:00 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_SEARCH_BAR' changed. L 2969 2014-10-01 21:21:00 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'EVENTS_SORT_ASCENDING' changed. L 2969 2014-10-01 21:21:00 [DBG] LibraryWindow.vala:275: on_library_monitor_installed: /store1/images L 2969 2014-10-01 21:21:00 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_SIDEBAR' changed. L 2969 2014-10-01 21:21:00 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'SHOW_WELCOME_DIALOG' changed. L 2969 2014-10-01 21:21:00 [DBG] main.vala:195: 0.673054 seconds to Gtk.main()

Attachment: shotwell.gdb
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]