f-spot crashes upon start when using older photos.db
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
f-spot (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: f-spot
After upgrading/moving from Fedora 4, where I had used F-Spot (briefly on one machine, extensively on another machine), to Ubuntu 6.10, F-Spot fails to start at all.
Steps to reproduce:
1. Just start F-Spot
What we would like to see: F-Spot should start.
What we actually end up seeing: F-Spot does not start.
Version: 0.2.1-1ubuntu (bundled with from Ubuntu 6.10)
I searched for this particular crasher bug. I found bugs about other crashes upon start, but not this one. Also, I realise that 0.2.1 is not up to date compared to upstream (and I do not know if this is fixed in upstream) -- however, I feel that this is a fairly egregious bug in an important and high-profile app that casual/non-expert users should not be exposed to.
When started on the command line, it gives the following error messages and stack traces:
Starting new FSpot server
XXXXX
Mono.Data.
at Mono.Data.
at Mono.Data.
at Mono.Data.
at MetaStore.
at MetaStore..ctor (Mono.Data.
at Db.Init (System.String path, Boolean create_if_missing) [0x00000]
at FSpot.Core..ctor () [0x00000]
at FSpot.Driver.Main (System.String[] args) [0x00000]
XXXXX
Starting new FSpot server
Starting new FSpot server
Starting new FSpot server
=======
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=======
Stacktrace:
at (wrapper managed-to-native) System.
at (wrapper managed-to-native) System.
at System.
at (wrapper synchronized) DBus.Service.
at FSpot.Core.
at (wrapper runtime-invoke) System.
Native stacktrace:
mono(mono_
mono [0x8122c88]
[0xffffe440]
mono [0x80c3ab3]
[0xb7419c11]
[0xb7419b9c]
[0xb4fc1d2c]
[0xb4fc1cfe]
[0xb4fc1c79]
mono [0x80af103]
mono [0x81158f1]
mono [0x80af237]
mono [0x80c6444]
mono [0x810984e]
mono [0x811fbf5]
/lib/tls/
/lib/tls/
I also experimented a little bit to be able to state with certainty that it is related to ~/.gnome2/ f-spot/ photos. db and not something else, e.g. ~/.gconf/ apps/f- spot:
I briefly renamed the latter, and started f-spot, noting that it still crashed. I then briefly renamed the former, noting that f-spot now did not crash. (However, with an empty database the usefulness of f-spot is at this point all but absent, so I do not consider it a viable workaround.) After renaming the database back, the crash is reintroduced.