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 334706 - Web album dialog doesn't handle missing galleries well
Web album dialog doesn't handle missing galleries well
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
CVS
Other All
: Normal major
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-15 23:34 UTC by Ivan Zlatev
Modified: 2006-03-17 04:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed Patch (698 bytes, patch)
2006-03-16 18:19 UTC, Ivan Zlatev
none Details | Review

Description Ivan Zlatev 2006-03-15 23:34:50 UTC
Steps to reproduce:
1. Filtered photos by a sub-tag to Events called "MS Imagine Cup 2006"
2. Selected a couple of them
3. File -> Export to Web Gallery
4. In Album I clicked on Add and the exception/crash occured


Stack trace:
An unhandled exception was thrown: Object reference not set to an instance of an
object
 
in <0x00015> FSpot.GalleryExport:HandleAddAlbum (System.Object sender,
System.EventArgs args)
in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00093> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch)
in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00007> Gnome.Program:Run ()
in <0x00541> FSpot.Driver:Main (System.String[] args)
.NET Version: 1.1.4322.2032
 
Assembly Version Information:
 
System.Xml (1.0.5000.0)
FlickrNet (1.1.0.0)
System.Web (1.0.5000.0)
gconf-sharp (2.8.0.0)
pango-sharp (2.8.0.0)
SemWeb (0.5.0.2)
glade-sharp (2.8.0.0)
gtkhtml-sharp (2.8.0.0)
System.Data (1.0.5000.0)
Mono.Data.SqliteClient (1.0.5000.0)
gdk-sharp (2.8.0.0)
Mono.Posix (1.0.5000.0)
gnome-vfs-sharp (2.8.0.0)
dbus-sharp (0.35.2.0)
System (1.0.5000.0)
atk-sharp (2.8.0.0)
gtk-sharp (2.8.0.0)
glib-sharp (2.8.0.0)
gnome-sharp (2.8.0.0)
f-spot (0.0.0.0)
mscorlib (1.0.5000.0)
 
Platform Information: Linux 2.6.13-15.8-default i686 i386 GNU/Linux
 
Disribution Information:
 
[/etc/lsb-release]
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32"
 
[/etc/SuSE-release]
SUSE LINUX 10.0 (i586)
VERSION = 10.0

Other information:
Using Mono and gtk-sharp from SVN Head.
Comment 1 Ivan Zlatev 2006-03-15 23:40:19 UTC
Native stacktrace:

        f-spot(mono_handle_native_sigsegv+0x82) [0x8147f22]
        f-spot [0x811873b]
        [0xffffe440]
        [0x482c3fd5]
        [0x482c3f25]
        [0x48767b61]
        [0x4221d1c6]
        /opt/gnome/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4b) [0x41de93bb]
        /opt/gnome/lib/libgobject-2.0.so.0(g_closure_invoke+0x139) [0x41ddcd39]
        /opt/gnome/lib/libgobject-2.0.so.0 [0x41decbe5]
        /opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6c0) [0x41deded0]
        /opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit+0x35) [0x41dee245]
        /opt/gnome/lib/libgtk-x11-2.0.so.0 [0x417d994f]
        /opt/gnome/lib/libgtk-x11-2.0.so.0 [0x418b33f3]
        /opt/gnome/lib/libgtk-x11-2.0.so.0 [0x418ba832]
        /opt/gnome/lib/libgobject-2.0.so.0(g_object_run_dispose+0x51) [0x41ddfaf1]
        /opt/gnome/lib/libgtk-x11-2.0.so.0(IA__gtk_object_destroy+0x7e) [0x417d98fe]
        [0x488b6b44]
        [0x488b6b00]
        [0x488b6ae3]
        [0x40ac7594]
        [0x40ac67c3]
        f-spot(mono_runtime_exec_main+0x52) [0x80cee32]
        f-spot(mono_runtime_run_main+0x15e) [0x80d196e]
        f-spot(mono_main+0x107c) [0x805de6c]
        /lib/tls/libc.so.6(__libc_start_main+0xd0) [0x40139ea0]
        f-spot [0x805c8b1]
Comment 2 Larry Ewing 2006-03-15 23:51:37 UTC
it crashes when you try to add albums.  Can you upload to that gallery in an existing ablum?
Comment 3 Larry Ewing 2006-03-16 00:10:16 UTC
if 
Comment 4 Ivan Zlatev 2006-03-16 18:19:15 UTC
Created attachment 61379 [details] [review]
Proposed Patch

Possible patch for this bug.
Comment 5 Larry Ewing 2006-03-17 04:04:16 UTC
I've committed a slightly simpler patch based on this patch that I think will work, can you test it and reopen if not?
Comment 6 Ivan Zlatev 2006-03-17 04:29:41 UTC
Works fine and is the proper way to do it... :)