Crash on startup
Submitted by an unknown user
Link to original bug (#718270)
Description
---- Reported by shotwell-maint@gnome.bugs 2011-09-27 13:36:00 -0700 ----
Original Redmine bug id: 4192
Original URL: http://redmine.yorba.org/issues/4192
Searchable id: yorba-bug-4192
Original author: Ako Via
Original description:
Haven't used Shotwell for over a month, but now when I try to start it up I get...
ERROR:src/Config.c:1694:string_replace: code should not be reached
Aborted
I don't know what to do to troubleshoot this further.
Shotwell 0.10.1
Xubuntu 10.04 (Lucid) 2.6.32-33-generic SMP i686 GNU/Linux
Xfce 4 Desktop Environment - version 4.6.1 (Xfce 4.6)
Gnome 2.30.02
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:45:00 -0700 ----
History
Comment 1
Updated by Clinton Rogers about 2 years ago
Hi Ako,
We may not be able to provide full support because you're running an older version of Shotwell on an older version of Ubuntu, but, with that in mind, here are some things that might help us check whether it's still happening, debug it if so, or possibly find a workaround:
-
Please try running the following command:
gdb shotwell
...and at the '(gdb)' prompt, type 'run'. Once Shotwell crashes, type 'bt' at the '(gdb)' prompt, then copy and paste the resulting info here. This may provide a clue about what Shotwell was trying to do prior to the crash.
- If you feel comfortable doing this, can you attach your photo database to this ticket? You can find it at "~/.shotwell/data/photo.db".
Comment 2
Updated by Ako Via about 2 years ago
Thank you for taking the time to look into this. I understand now why this isn't supported any longer and appreciate any help.
Here is the output of bt..
(gdb) bt
#0 0x0012d422 in __kernel_vsyscall ()
#1 0x01fa0651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0x01fa3a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x01dcb353 in g_assertion_message () from /lib/libglib-2.0.so.0
#4 0x081d3ae8 in string_replace (self=<value optimized out>, old=<value
optimized out>, replacement=0x83ea830 "-")
at src/config/GSettingsEngine.c:1232
#5 0x081d3b22 in gsettings_configuration_engine_clean_plugin_id (id=0x0) at
src/config/GSettingsEngine.c:1266
#6 0x081d3bf3 in gsettings_configuration_engine_get_plugin_enable_disable_name
(id=0x0)
at src/config/GSettingsEngine.c:1291
#7 0x081d5ef4 in gsettings_configuration_engine_real_is_plugin_enabled
(base=0x852e890,
id=0x8557dc8 "org.yorba.shotwell.transitions.crumble") at src/config/GSettingsEngine.c:2032
#8 0x081c5f3a in configuration_engine_is_plugin_enabled (self=0x852e890,
id=0x8557dc8 "org.yorba.shotwell.transitions.crumble") at src/config/ConfigurationInterfaces.c:988
#9 0x081d856a in hybrid_configuration_engine_real_is_plugin_enabled
(base=0x84f8798,
id=0x8557dc8 "org.yorba.shotwell.transitions.crumble") at src/config/HybridEngine.c:563
#10 0x081c5f3a in configuration_engine_is_plugin_enabled (self=0x84f8798,
id=0x8557dc8 "org.yorba.shotwell.transitions.crumble") at src/config/ConfigurationInterfaces.c:988
#11 0x081c5fe2 in configuration_facade_real_is_plugin_enabled (self=0x8589190,
id=0x8557dc8 "org.yorba.shotwell.transitions.crumble") at src/config/ConfigurationInterfaces.c:5504
#12 0x081c48db in configuration_facade_is_plugin_enabled (self=0x8589190,
id=0x8557dc8 "org.yorba.shotwell.transitions.crumble") at src/config/ConfigurationInterfaces.c:5513
#13 0x080eae1e in plugins_pluggable_rep_activate (self=0x853bcf0) at
src/plugins/Plugins.c:959
#14 0x080eb0e8 in plugins_register_extension_point (type=139178880,
name=0x8395421 "Slideshow Transitions",
icon_name=0x8395437 "slideshow-extension-point", core_ids=0x84f34a0, core_ids_length1=3) at src/plugins/Plugins.c:1634
#15 0x080f5260 in slideshow_init (error=0xbffff3ec) at
src/slideshow/Slideshow.c:237
#16 0x0834822f in slideshow_init_entry (error=0xbffff42c) at
src/.unitize/_SlideshowInternals.c:48
#17 0x083486ac in library_init_entry (error=0xbffff46c) at
src/.unitize/_LibraryInternals.c:93
#18 0x08348f54 in library_app_init (error=0xbffff4dc) at
src/.unitize/_Library_unitize_entry.c:26
#19 0x081da187 in library_exec (mounts=0x84724c0, mounts_length1=0) at
src/main.c:825
#20 0x081dafa2 in _vala_main (args=0xbffff664, args_length1=1) at
src/main.c:1592
#21 0x081db228 in main (argc=1, argv=0xbffff664) at src/main.c:1657
I didn't have the ppa:gstreamer-developers/ppa enabled when I posted before, so I thought it may have been the problem. Now that it has been added and updated, it still doesn't work and wanted you to be aware of the change. The error messages have changed to the following now.
- Message: GConfEngine.vala:188: Error loading or parsing gsettings convert keyfile: Valid key file could not be found in search dirs
- (process:2426): DEBUG: GConfEngine.vala:191: Converting GConf settings to gsettings...
- Message: GConfEngine.vala:207: Error running gsettings-data-convert: Failed to execute child process "gsettings-data-convert" (No such file or directory) **
ERROR:src/config/GSettingsEngine.c:1232:string_replace: code should not be reached
Aborted
I would really like to run the latest version if possible, but if that fails I was wondering if there was a safe way to revert back to the version that was working?
Many Thanks,
Ako
Comment 3
Updated by Jim Nelson about 2 years ago
- Category set to 4
- Status changed from Open to 5
- Resolution set to invalid
This looks to be a problem inside of a support routine caused by some bad output coming out of GSettings. It looks to me like GSettings and its backend (dconf) are not properly installed on your system. All I can suggest is looking there. This is outside our scope, however.
Unfortunately, Shotwell 0.11 is not designed to support Lucid or Maverick. When upgrading to 0.11, Shotwell had to upgrade its internal database in such a way that earlier versions of Shotwell will not recognize, so falling back to earlier versions will not be easy. If you made a backup of the database prior to upgrading, I would say use that.
Comment 4
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Invalid
--- Bug imported by chaz@yorba.org 2013-11-25 21:56 UTC ---
This bug was previously known as bug 4192 at http://redmine.yorba.org/show_bug.cgi?id=4192
Unknown Component Using default product and component set in Parameters Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Resolution: RESOLVED INVALID