F-Spot db upgrade issue

Bug #200683 reported by hackel
10
Affects Status Importance Assigned to Milestone
F-Spot
Fix Released
Critical
f-spot (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: f-spot

Package: f-spot
Version: 0.4.2-0ubuntu2

After upgrading from gutsy to hardy alpha6, F-Spot crashes upon launching. The following is output on the console:

Initializing Mono.Addins
Starting new FSpot server
Updating F-Spot Database
Updated database from version 6 to 7
Rolling back database changes because of Exception
XXXXX
System.InvalidCastException: Cannot cast from source type to destination type.
  at FSpot.Database.Updater+<>c__CompilerGenerated21.<Updater>c__58 () [0x00000]
  at FSpot.Database.Updater+Update.Execute (.Db db, .MetaItem db_version) [0x00000]
  at FSpot.Database.Updater.Run (.Db database) [0x00000]
XXXXX
Can't get a connection to the dbus. Trying again...
Starting new FSpot server
Can't get a connection to the dbus. Trying again...
Starting new FSpot server
Can't get a connection to the dbus. Trying again...
Starting new FSpot server
Can't get a connection to the dbus. Trying again...
Starting new FSpot server
Can't get a connection to the dbus. Trying again...
Starting new FSpot server
Can't get a connection to the dbus. Trying again...
Sorry, couldn't start F-Spot
Segmentation fault (core dumped)

I have to dbus-daemon processes running. ps shows the first as owned by pid "101," so perhaps this user was removed in the upgrade process? I've still got the user messagebus with uid 101 in /etc/passwd. I don't know if this is related to the f-spot issue, but I thought I would mention it. The other dbus is owned by my user account.

I'm assuming that apport is including the information it collected somewhere? (I don't see it here) If not, please advise how I can get a backtrace from a Mono application. Also let me know if I can provide any additional information.

ProblemType: Crash
Architecture: i386
Date: Mon Mar 10 12:54:53 2008
Disassembly: 0xb7054030:
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/f-spot/f-spot.exe
InterpreterPath: /usr/bin/mono
NonfreeKernelModules: fglrx
Package: f-spot 0.4.2-0ubuntu2
PackageArchitecture: i386
ProcCmdline: f-spot /usr/lib/f-spot/f-spot.exe
ProcEnviron:
 LC_MONETARY=en_US.UTF-8
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=C
Signal: 11
SourcePackage: f-spot
StacktraceTop:
 ?? ()
 ?? () from /usr/lib/libgobject-2.0.so.0
 ?? ()
 ?? ()
 ?? ()
Title: f-spot.exe crashed with SIGSEGV
Uname: Linux 2.6.24-11-generic i686
UserGroups: adm admin audio cdrom dialout dip disk floppy fuse lp lpadmin plugdev scanner video www-data

Revision history for this message
hackel (hackel) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
toggle_refs_notify (object=<value optimized out>, is_last_ref=1)
global_program_unref () at gnome-program.c:159
exit () from /lib/tls/i686/cmov/libc.so.6
__libc_start_main () from /lib/tls/i686/cmov/libc.so.6

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
hackel (hackel) wrote : Re: Launching F-Spot crashes with SIGSEGV

I believe the problem is caused by the DB auto-update process (migrating sqlite2 to 3?). If I move ~/.gnome2/f-spot out of the way, f-spot launches fine.

It still segfaults when I quit it, however I believe this is documented in other bug reports.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Changed in f-spot:
status: New → Invalid
Revision history for this message
hackel (hackel) wrote :

Ugh, this is NOT a dupe of Bug 197629! Do you not think I looked at all the other similar bugs first before reporting? Did you even read and compare the two bug reports? They are completely different. MY bug is about converting the database from version 6 to 7. The other bug is the segfault on exit bug (which I am also experiencing, and is a completely separate issue).

It's really frustrating to have to clean up your work... Remove this dupe status immediately.

Changed in f-spot:
status: Invalid → New
Changed in f-spot:
status: Unknown → Incomplete
Revision history for this message
Guillermo Pérez (bisho) wrote :

I confirm this bug. I also have same problem, and moving ~/.gnome2/f-spot to any other place you are able to start f-spot

Changed in f-spot:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Stephane Delcroix (stephane-delcroix) wrote :

fixed upstream, in trunk and F_SPOT_0_4_2_STABLE branch

Changed in f-spot:
status: Incomplete → Fix Released
Changed in f-spot:
status: Incomplete → Fix Committed
Revision history for this message
Wilbur Harvey (wilbur-harvey-spirentcom) wrote :

My f-spot crashes immediately on startup as follows.

Deleting .gnome2/f-spot didn't make any difference.

I have all updates as of this morning.

Stacktrace:

  at FSpot.Global..cctor () <0xffffffff>
  at FSpot.Global..cctor () <0x0000d>
  at (wrapper runtime-invoke) FSpot.Defines.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at FSpot.Driver.Main (string[]) <0xffffffff>
  at FSpot.Driver.Main (string[]) <0x00144>
  at (wrapper runtime-invoke) FSpot.Driver.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>

Revision history for this message
Sebastien Bacher (seb128) wrote :

that should be fixed in hardy, feel free to reopen if you still get the issue though

Changed in f-spot:
status: Fix Committed → Fix Released
Changed in f-spot:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.