After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792058 - Shotwell 0.27.2 does not start on Ubuntu 17.10
Shotwell 0.27.2 does not start on Ubuntu 17.10
Status: RESOLVED FIXED
Product: shotwell
Classification: Other
Component: general
0.27.x
Other Linux
: Normal normal
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-29 23:49 UTC by Aaron Caskey-Demaret
Modified: 2018-01-01 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make internal helper library shared (1.51 KB, patch)
2018-01-01 10:37 UTC, Jens Georg
committed Details | Review

Description Aaron Caskey-Demaret 2017-12-29 23:49:20 UTC
I'm using the development PPA and installed shotwell 0.27.2 (same issue with 0.27.1)

When I run shotwell I get:

~$ shotwell 

(shotwell:17988): GLib-GObject-WARNING **: cannot register existing type 'SpitModule'
(shotwell:17988): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(shotwell:17988): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
L 17988 2017-12-30 00:37:49 [CRT] Plugins.vala:401: Unable to load module /usr/lib/x86_64-linux-gnu/shotwell/plugins/builtin/libshotwell-publishing-extras.so (SPIT 0): no spit module returned
(shotwell:17988): GLib-GObject-WARNING **: cannot register existing type 'SpitModule'
(shotwell:17988): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(shotwell:17988): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(shotwell:17988): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
(shotwell:17988): GLib-GObject-WARNING **: cannot register existing type 'SpitPublishingAuthenticatorFactory'
(shotwell:17988): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(shotwell:17988): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(shotwell:17988): GLib-GObject-WARNING **: invalid cast from 'PublishingAuthenticatorFactory' to '<invalid>'


And then it just hangs until I ctrl-c it.

I tried moving libshotwell-publishing-extras.so out of the way, but it just does the same thing on the next module it tries to load.

Here's a backtrace at the point it is hanging:

  • #0 syscall
    at ../sysdeps/unix/sysv/linux/x86_64/syscall.S line 38
  • #1 g_cond_wait
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #2 g_once_init_enter
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 spit_publishing_authenticator_factory_get_type
    at PublishingInterfaces.c line 1913
  • #4 spit_publishing_authenticator_factory_get_available_authenticators
    at ./src/plugins/PublishingInterfaces.vala line 628
  • #5 shotwell_publishing_core_services_construct
    at ./plugins/shotwell-publishing/shotwell-publishing.vala line 18
  • #6 shotwell_publishing_core_services_new
    at ./plugins/shotwell-publishing/shotwell-publishing.vala line 15
  • #7 spit_entry_point
    at ./plugins/shotwell-publishing/shotwell-publishing.vala line 81
  • #8 plugins_load_module
    at ./src/plugins/Plugins.vala line 379
  • #9 plugins_search_for_plugins
    at ./src/plugins/Plugins.vala line 343
  • #10 plugins_search_for_plugins
    at ./src/plugins/Plugins.vala line 335
  • #11 plugins_init
    at ./src/plugins/Plugins.vala line 133
  • #12 plugins_init_entry
    at ./src/.unitize/_PluginsInternals.vala line 19
  • #13 library_init_entry
    at ./src/.unitize/_LibraryInternals.vala line 17
  • #14 library_app_init
    at ./src/.unitize/_Library_unitize_entry.vala line 12
  • #15 library_exec
    at ./src/main.vala line 35
  • #16 _vala_main
    at ./src/main.vala line 441
  • #17 main
    at ./src/main.vala line 330

let me know if you need any more information. I can just switch back to 26.4 for now (which works fine, well except for segfaulting when trying to store files in a webdav location to the sqlite db, but that's probably not something normal people are going to do a lot).

Regards
Aaron
Comment 1 Jens Georg 2017-12-30 10:37:40 UTC
Hm. 0.27.2 on 17.10 in principal should work. Maybe the meson dpkg stuff is a bit broken. It looks like the plugins are available twice. Can you attach the output of ls /usr/lib/x86_64-linux-gnu/shotwell/plugins/builtin/

Also, please file a ticket for the WEBDAV issue.
Comment 2 Jens Georg 2017-12-30 10:46:35 UTC
Can reproduce it here.
Comment 3 Aaron Caskey-Demaret 2017-12-30 10:54:01 UTC
----
$ ls /usr/lib/x86_64-linux-gnu/shotwell/plugins/builtin/

libshotwell-publishing-extras.so  libshotwell-publishing.so  libshotwell-transitions.so

----

I just did a complete purge of the shotwell PPAs (as I had both stable and unstable installed) and reinstalled. Still the same problem.

I'm planning on filing the webdav issue once I check if it still happens in 0.27.2, that was why I initally upgraded, to see if it was still a problem, seeing as some work seems to have been done on gvfs support.
Comment 4 Jens Georg 2017-12-30 11:11:56 UTC
Odd. Only with the binary form the ppa buildserver. works fine with locally built binary
Comment 5 Jens Georg 2018-01-01 10:37:05 UTC
Created attachment 366133 [details] [review]
Make internal helper library shared

Fixes issue with multiple class registration in ubuntu ppa binaries
Comment 6 Jens Georg 2018-01-01 10:38:21 UTC
Attachment 366133 [details] pushed as f55ead6 - Make internal helper library shared
Comment 7 Jens Georg 2018-01-01 12:44:55 UTC
Rebuild of packages in PPA have been triggered. I hope it will work after that. I cannot reproduce it with binaries build on my laptop, which is weird.
Comment 8 Aaron Caskey-Demaret 2018-01-01 13:01:44 UTC
I downloaded the lasted deb (it's hadn't quite made it to "released" yet so apt wasn't seeing it) and it seems to work fine.

Thanks for your help!

The webdav issue is still happening, but I'll log that separately in the next couple of days.

HAPPY NEW YEAR!