Require Vala 0.26 for Shotwell 0.24 (was: shotwell-0.20.2 freezes during manual import under gnome-3.14)
@ikelos
Submitted by Mike Auty Link to original bug (#742047)
Description
I recently upgraded to gnome-3.14 on Gentoo and noticed that shotwell was hanging a few seconds after displaying the main window. I've been through the debugging process, there are no relevant entries under shotwell.log (because I've had the freeze occur with various different last entries in the log). The gcc when broken shows the following:
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff44b61ac in g_mutex_lock_slowpath (mutex=0x16705a8)
at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gthread-posix.c:1308
#2 0x00007ffff4525542 in g_mutex_lock (mutex=<optimized out>)
at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gthread-posix.c:1332
#3 0x000000000047e4ad in abstract_semaphore_notify (self=0x16705c0)
at /var/tmp/portage/media-gfx/shotwell-0.20.2/work/shotwell-0.20.2/src/threads/Semaphore.vala:44
#4 0x000000000047cd9d in interlocked_notification_object_internal_completed (
self=<optimized out>)
at /var/tmp/portage/media-gfx/shotwell-0.20.2/work/shotwell-0.20.2/src/threads/BackgroundJob.vala:47
#5 0x000000000047d750 in background_job_on_notification_ready (
self=<optimized out>)
at /var/tmp/portage/media-gfx/shotwell-0.20.2/work/shotwell-0.20.2/src/threads/BackgroundJob.vala:238
#6 _background_job_on_notification_ready_gsource_func (self=<optimized out>)
at BackgroundJob.c:1095
#7 0x00007ffff44e3635 in g_main_dispatch (context=0xa1b260)
at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3111
#8 g_main_context_dispatch (context=context@entry=0xa1b260)
at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3710
#9 0x00007ffff44e3998 in g_main_context_iterate (
context=context@entry=0xa1b260, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3781
#10 0x00007ffff44e3a3c in g_main_context_iteration (context=0xa1b260,
context@entry=0x0, may_block=may_block@entry=1)
at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/glib/gmain.c:3842
#11 0x00007ffff761cd0c in g_application_run (application=0xa971f0,
argc=argc@entry=0, argv=argv@entry=0x0)
at /var/tmp/portage/dev-libs/glib-2.42.1/work/glib-2.42.1/gio/gapplication.c:2282
#12 0x000000000068b4f5 in application_start (self=self@entry=0xc0fd20,
argv=argv@entry=0x0, argv_length1=argv_length1@entry=0)
at /var/tmp/portage/media-gfx/shotwell-0.20.2/work/shotwell-0.20.2/src/Application.vala:170
#13 0x000000000058039a in library_exec (mounts=mounts@entry=0xa453f0,
mounts_length1=mounts_length1@entry=0)
at /var/tmp/portage/media-gfx/shotwell-0.20.2/work/shotwell-0.20.2/src/main.vala:197
#14 0x0000000000581279 in _vala_main (args=0x7fffffffdb18, args_length1=1)
at /var/tmp/portage/media-gfx/shotwell-0.20.2/work/shotwell-0.20.2/src/main.vala:420
#15 0x0000000000472de0 in main (argc=<optimized out>, argv=<optimized out>)
at /var/tmp/portage/media-gfx/shotwell-0.20.2/work/shotwell-0.20.2/src/main.vala:317
After using dconf to disable auto-import and all of the plugins, I manually imported a small directory of about 10 jpg images only, and it still froze (without writing any additional lines to the log file). I've rebuild shotwell, gexiv2 and a few others from source several times because other people encountering freezes suggested that might be a problem. I've also uninstalled gstreamer-0.10, so I'm now only using gstreamer-1.4.5, and still no luck.
I'm happy to provide more information or run tests/patches, just let me know how I can help resolve this...
Version: 0.20.x
Resolution: RESOLVED OBSOLETE