[Bug 926862] New: Shotwell hangs on startup
http://bugzilla.opensuse.org/show_bug.cgi?id=926862 Bug ID: 926862 Summary: Shotwell hangs on startup Classification: openSUSE Product: openSUSE Factory Version: 201503* Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: delder@novacoast.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Ever since the upgrade to shotwell-0.22.0-1.1, I can't get shotwell to ever startup correctly. I have a largish photo/video collection (~ 195 GB) but even if I start with a new user account, shotwell will hang. From my account if I run SHOTWELL_LOG=1 shotwell I get: L 26148 2015-04-12 21:05:19 [MSG] main.vala:385: Shotwell Photo Manager 0.22.0 L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:316: Searching /home/delder/.gnome2/shotwell/plugins for plugins ... L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:135: Unable to search directory /home/delder/.gnome2/shotwell/plugins for plugins: No such file or directory L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:316: Searching /usr/lib64/shotwell/plugins for plugins ... L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:316: Searching /usr/lib64/shotwell/plugins/builtin for plugins ... L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:424: Loaded SPIT module "Core Data Import Services 0.22.0" (org.yorba.shotwell.data_imports.core_services) [/usr/lib64/shotwell/plugins/builtin/shotwell-data-imports.so] L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:424: Loaded SPIT module "Shotwell Extra Publishing Services 0.22.0" (org.yorba.shotwell.publishing.extras) [/usr/lib64/shotwell/plugins/builtin/shotwell-publishing-extras.so] L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:424: Loaded SPIT module "Core Publishing Services 0.22.0" (org.yorba.shotwell.publishing.core_services) [/usr/lib64/shotwell/plugins/builtin/shotwell-publishing.so] L 26148 2015-04-12 21:05:20 [DBG] Plugins.vala:424: Loaded SPIT module "Core Slideshow Transitions 0.22.0" (org.yorba.shotwell.transitions) [/usr/lib64/shotwell/plugins/builtin/shotwell-transitions.so] L 26148 2015-04-12 21:05:20 [MSG] main.vala:43: Verifying database ... L 26148 2015-04-12 21:05:20 [DBG] Db.vala:40: Database schema version 20 created by app version 0.20.1 L 26148 2015-04-12 21:05:20 [DBG] util.vala:171: next step: LibraryPhoto.init (0/38568) L 26148 2015-04-12 21:05:20 [DBG] util.vala:171: next step: Video.init (32999/38568) L 26148 2015-04-12 21:05:20 [MSG] VideoSupport.vala:380: interpreter state has changed; video thumbnails may be out of date L 26148 2015-04-12 21:05:20 [DBG] util.vala:171: next step: Upgrades.execute (34693/38568) L 26148 2015-04-12 21:05:20 [DBG] Upgrades.vala:85: Could not delete mimics: /home/delder/.local/share/shotwell/mimics is not a directory L 26148 2015-04-12 21:05:20 [DBG] util.vala:171: next step: Event.init (34693/38568) L 26148 2015-04-12 21:05:21 [DBG] util.vala:171: next step: Tag.init (38552/38568) L 26148 2015-04-12 21:05:21 [DBG] util.vala:171: next step: LibraryWindow (38564/38568) L 26148 2015-04-12 21:05:23 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_BASIC_PROPERTIES' changed. L 26148 2015-04-12 21:05:23 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_SEARCH_BAR' changed. L 26148 2015-04-12 21:05:23 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'EVENTS_SORT_ASCENDING' changed. L 26148 2015-04-12 21:05:25 [DBG] LibraryWindow.vala:260: on_library_monitor_installed: /home/delder/Photos L 26148 2015-04-12 21:05:25 [DBG] util.vala:171: next step: done (38564/38568) L 26148 2015-04-12 21:05:25 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_SIDEBAR' changed. L 26148 2015-04-12 21:05:25 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'SHOW_WELCOME_DIALOG' changed. L 26148 2015-04-12 21:05:25 [DBG] main.vala:195: 5.872067 seconds to Gtk.main() Nothing happens after that (no CPU usage at all) and I eventually have to kill it. If I launch it as a new user (never run shotwell before) I get to the main shotwell window with the "Welcome to Shotwell" splash screen but then it immediately hangs with .cache/shotwell/shotwell.log showing: L 29380 2015-04-12 21:09:10 [MSG] main.vala:385: Shotwell Photo Manager 0.22.0 L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:316: Searching /home/google/.gnome2/shotwell/plugins for plugins ... L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:135: Unable to search directory /home/google/.gnome2/shotwell/plugins for plugins: No such file or directory L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:316: Searching /usr/lib64/shotwell/plugins for plugins ... L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:316: Searching /usr/lib64/shotwell/plugins/builtin for plugins ... L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:424: Loaded SPIT module "Core Data Import Services 0.22.0" (org.yorba.shotwell.data_imports.core_services) [/usr/lib64/shotwell/plugins/builtin/shotwell-data-imports.so] L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:424: Loaded SPIT module "Shotwell Extra Publishing Services 0.22.0" (org.yorba.shotwell.publishing.extras) [/usr/lib64/shotwell/plugins/builtin/shotwell-publishing-extras.so] L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:424: Loaded SPIT module "Core Publishing Services 0.22.0" (org.yorba.shotwell.publishing.core_services) [/usr/lib64/shotwell/plugins/builtin/shotwell-publishing.so] L 29380 2015-04-12 21:09:11 [DBG] Plugins.vala:424: Loaded SPIT module "Core Slideshow Transitions 0.22.0" (org.yorba.shotwell.transitions) [/usr/lib64/shotwell/plugins/builtin/shotwell-transitions.so] L 29380 2015-04-12 21:09:11 [MSG] main.vala:43: Verifying database ... L 29380 2015-04-12 21:09:11 [DBG] Db.vala:44: Creating database schema version 20 for app version 0.22.0 L 29380 2015-04-12 21:09:13 [MSG] VideoSupport.vala:377: interpreter state cookie not found; assuming all video thumbnails are out of date L 29380 2015-04-12 21:09:13 [DBG] Upgrades.vala:85: Could not delete mimics: /home/google/.local/share/shotwell/mimics is not a directory L 29380 2015-04-12 21:09:13 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_BASIC_PROPERTIES' changed. L 29380 2015-04-12 21:09:13 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'EVENTS_SORT_ASCENDING' changed. L 29380 2015-04-12 21:09:13 [DBG] LibraryWindow.vala:260: on_library_monitor_installed: /home/google/Pictures L 29380 2015-04-12 21:09:13 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DISPLAY_SIDEBAR' changed. L 29380 2015-04-12 21:09:13 [DBG] DataImportsPluginHost.vala:429: DataImportsDialog: discovered 1 pluggable data import services. L 29380 2015-04-12 21:09:13 [DBG] DataImportsPluginHost.vala:444: DataImportsDialog: discovered pluggable data import service 'F-Spot'. L 29380 2015-04-12 21:09:13 [DBG] FSpotImporter.vala:328: FSpotDataImporter instantiated. L 29380 2015-04-12 21:09:13 [DBG] DataImportsPluginHost.vala:268: WelcomeDataImportsHost.start_importing( ): invoked. L 29380 2015-04-12 21:09:13 [DBG] FSpotImporter.vala:345: FSpotDataImporter: starting interaction. L 29380 2015-04-12 21:09:13 [DBG] DataImportsPluginHost.vala:322: WelcomeDataImportsHost: Installing library selection pane for F-Spot I'm running the latest (as of 20150425) version of Tumbleweed and have never seen this problem in older versions (0.21 and lower). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926862 --- Comment #1 from Dan Elder <delder@novacoast.com> --- Created attachment 630796 --> http://bugzilla.opensuse.org/attachment.cgi?id=630796&action=edit shotwell.gdb and shotwell.log output -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926862 Michael Puls <michael.puls@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.puls@gmx.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926862 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |awafaa@opensuse.org, | |dimstar@opensuse.org, | |meissner@suse.com --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> --- A properly set gdb breakpoint shows that shotwell is hanging, waiting for libusb to return. libusb is indirectly linked in by means of libgphoto (addind Marcus to CC) as a workaround (thus of course loosing the capability to import photos from USB Cameras directly) is to: rpm -e --nodeps libusb-1_0-0 In this case, shotwell is starting up properly again and regains UI functionality -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926862 --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> --- (just a headsup: removing libusb-1_0-0 is not a good idea for the rest of the system - only works for shotwell, but GNOME will have random errors, as upower links to it as well) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926862 --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> --- rpm -qR libgphoto2-6 | grep usb libusb-0.1.so.4()(64bit) libusb-1.0.so.0()(64bit) => loading two ABIs of libusb inside one lib? That souds like a perfect setup for a disaster (are we syre there are no symbol conflicts?) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926862 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-gnome@forge.provo. |meissner@suse.com |novell.com | --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> --- I seem to be able to provoque the same futex lock by running
gphoto2 --auto-detect
poll([{fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout) close(6) = 0 close(7) = 0 close(8) = 0 close(9) = 0 close(10) = 0 write(5, "\1", 1) = 1 futex(0x7f21ba3f59d0, FUTEX_WAIT, 2888, NULL^ => Re-assigning to Marcus, as this seems rather an issue with libghoto than shotwell itself -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com