Hey Ruben, thanks for your reply. On Thu, 2009-12-03 at 10:43 +0100, Ruben Vermeersch wrote: > It seems as if you miss .mdb (debug symbols), which is why it can't make > a trace. I'm not sure if that's the real issue here. I see all those missing *.mdb lines, but debugger will still go on without'em, the problem --I believe-- when an exception is caught... Then I figured out actually a System.DllNotFoundException is thrown and that's because /home/exalted/unstable/f-spot/lib/f-spot/libfspot.so.0 is not there. Apparently you have to install f-spot before debugging to path where you've specified in autogen.sh (or configure) with prefix parameter. Once you issue "make install" on build directory then debugger will run that's because all *.so* files are where they should be. > On Mon, 2009-11-30 at 16:59 +0100, Ali Servet Donmez wrote: > > Hi, > > > > simply trying to debug f-spot using mdb, but no luck there. > > > > Having: > > > > ---------------------------------------------------------------------- > > NAME="f-spot" > > DEV_DIR="$HOME/dev" > > BUILD_DIR="$HOME/build" > > INSTALL_DIR="$HOME/unstable" > > MONO_PATH="/home/exalted/build/f-spot/lib/dpap-sharp/dpap-client:/home/exalted/build/f-spot/lib/dpap-sharp/dpap-server:/home/exalted/build/f-spot/lib/unique-sharp/unique:/home/exalted/build/f-spot/lib/gnome-keyring-sharp:/home/exalted/build/f-spot/lib/libgphoto2-sharp:/home/exalted/build/f-spot/lib/gtk-sharp-beans:/home/exalted/build/f-spot/lib/GKeyFile:/home/exalted/build/f-spot/lib/semweb:/home/exalted/build/f-spot/lib/gio-sharp/gio:/home/exalted/build/f-spot/src:/home/exalted/build/f-spot/extensions/Services/DBusService:/home/exalted/build/f-spot/extensions/Services/BeagleService:/home/exalted/build/f-spot/extensions/Exporters/TabbloExport:/home/exalted/build/f-spot/extensions/Exporters/TabbloExport/Tabblo:/home/exalted/build/f-spot/extensions/Exporters/SmugMugExport:/home/exalted/build/f-spot/extensions/Exporters/SmugMugExport/SmugMugNet:/home/exalted/build/f-spot/extensions/Exporters/FlickrExport:/home/exalted/build/f-spot/extensions/Exporters/FlickrExport/FlickrNet:/home/exalted/build/f-spot/extensions/Exporters/FacebookExport:/home/exalted/build/f-spot/extensions/Exporters/CDExport:/home/exalted/build/f-spot/extensions/Exporters/PicasaWebExport/google-sharp:/home/exalted/build/f-spot/extensions/Exporters/PicasaWebExport:/home/exalted/build/f-spot/extensions/Exporters/FolderExport:/home/exalted/build/f-spot/extensions/Exporters/ZipExport:/home/exalted/build/f-spot/extensions/Exporters/GalleryExport:/home/exalted/build/f-spot/extensions/Tools/HashJob:/home/exalted/build/f-spot/extensions/Tools/LiveWebGallery:/home/exalted/build/f-spot/extensions/Tools/ChangePhotoPath:/home/exalted/build/f-spot/extensions/Tools/MergeDb:/home/exalted/build/f-spot/extensions/Tools/DevelopInUFraw:/home/exalted/build/f-spot/extensions/Tools/RawPlusJpeg:/home/exalted/build/f-spot/extensions/Tools/ScreensaverConfig:/home/exalted/build/f-spot/extensions/Transitions/CoverTransition" > > ---------------------------------------------------------------------- > > > > Doing: > > > > ---------------------------------------------------------------------- > > $ cd "$DEV_DIRECTORY"; > > $git clone git://git.gnome.org/f-spot; > > $cp -a "$DEV_DIR/$NAME" "$BUILD_DIR/$NAME"; > > $cd "$BUILD_DIR/$NAME"; > > $./autogen.sh --prefix="$INSTALL_DIR/$NAME" --disable-scrollkeeper; > > $make all; > > > > (Output goes like this: http://pastebin.com/m25a3c5cb) > > > > $mdb src/f-spot.exe > > > > (Here inside mdb session) > > > > $run -basedir /tmp/somedir -photodir /tmp/somedir > > ---------------------------------------------------------------------- > > > > I get: > > > > ---------------------------------------------------------------------- > > Starting program: src/f-spot.exe -basedir /tmp/somedir -photodir /tmp/somedir > > Cannot read symbol file `/usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll.mdb". > > Cannot read symbol file `/usr/lib/mono/gac/Mono.Addins.Setup/0.4.0.0__0738eb9f132ed756/Mono.Addins.Setup.dll.mdb': Could not find file "/usr/lib/mono/gac/Mono.Addins.Setup/0.4.0.0__0738eb9f132ed756/Mono.Addins.Setup.dll.mdb". > > Cannot read symbol file `/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll.mdb". > > Cannot read symbol file `/usr/lib/mono/gac/atk-sharp/2.12.0.0__35e10195dab3c99f/atk-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/atk-sharp/2.12.0.0__35e10195dab3c99f/atk-sharp.dll.mdb". > > Cannot read symbol file `/usr/lib/mono/gac/Mono.Addins/0.4.0.0__0738eb9f132ed756/Mono.Addins.dll.mdb': Could not find file "/usr/lib/mono/gac/Mono.Addins/0.4.0.0__0738eb9f132ed756/Mono.Addins.dll.mdb". > > Cannot read symbol file `/usr/lib/mono/gac/gnome-vfs-sharp/2.24.0.0__35e10195dab3c99f/gnome-vfs-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/gnome-vfs-sharp/2.24.0.0__35e10195dab3c99f/gnome-vfs-sharp.dll.mdb". > > Cannot read symbol file `/usr/lib/mono/gac/gdk-sharp/2.12.0.0__35e10195dab3c99f/gdk-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/gdk-sharp/2.12.0.0__35e10195dab3c99f/gdk-sharp.dll.mdb". > > Thread @1 stopped at #0: 0x41ce94a0 in FSpot.Driver.Main(string[])+0xc0 at /home/exalted/build/f-spot/src/main.cs:61. > > 61 bool empty = false; > > ---------------------------------------------------------------------- > > > > If I hit "continue": > > > > ---------------------------------------------------------------------- > > Cannot read symbol file `/usr/lib/mono/gac/gconf-sharp/2.24.0.0__35e10195dab3c99f/gconf-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/gconf-sharp/2.24.0.0__35e10195dab3c99f/gconf-sharp.dll.mdb". > > [Info 16:53:49.821] BaseDirectory is now /tmp/somedir > > [Info 16:53:49.829] PhotoDirectory is now /tmp/somedir > > [Info 16:53:49.829] Initializing Mono.Addins > > Cannot find thread 3253 in /usr/bin/mono:--inside-mdb:src/f-spot.exe:-basedir:/tmp/somedir:-photodir:/tmp/somedir > > Process #1 created new thread @4. > > Thread @4 exited. > > Process #1 created new thread @5. > > Cannot read symbol file `/usr/lib/mono/gac/gnome-sharp/2.24.0.0__35e10195dab3c99f/gnome-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/gnome-sharp/2.24.0.0__35e10195dab3c99f/gnome-sharp.dll.mdb". > > Cannot read symbol file `/usr/lib/mono/gac/pango-sharp/2.12.0.0__35e10195dab3c99f/pango-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/pango-sharp/2.12.0.0__35e10195dab3c99f/pango-sharp.dll.mdb". > > [Info 16:53:52.927] Hack for gnome-settings-daemon engaged > > Cannot read symbol file `/usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll.mdb". > > Process #1 created new thread @6. > > Process #1 created new thread @7. > > Process #1 created new thread @8. > > Thread @6 exited. > > Process #1 created new thread @9. > > Process #1 created new thread @10. > > Thread @9 exited. > > Thread @10 exited. > > [Warn 16:53:54.637] Caught an exception - /home/exalted/unstable/f-spot/lib/f-spot/libgphoto2glue.so.0 (in `libgphoto2-sharp') > > at (wrapper managed-to-native) GPhoto2.Context:gp_glue_context_new (System.Runtime.InteropServices.HandleRef) > > at GPhoto2.Context..ctor () [0x00017] in /home/exalted/build/f-spot/lib/libgphoto2-sharp/Context.cs:43 > > at GPhotoCamera..ctor () [0x00006] in /home/exalted/build/f-spot/src/GPhotoCamera.cs:26 > > at ImportCommand+SourceMenu..ctor (.ImportCommand command) [0x00145] in /home/exalted/build/f-spot/src/ImportCommand.cs:236 > > at ImportCommand.ImportFromFile (.PhotoStore store, System.String path) [0x000a5] in /home/exalted/build/f-spot/src/ImportCommand.cs:620 > > at FSpot.MainWindow.ImportFile (System.String path) [0x0000c] in /home/exalted/build/f-spot/src/MainWindow.cs:1188 > > at FSpot.App.HandleImport (System.String path) [0x0006d] in /home/exalted/build/f-spot/src/Core/App.cs:198 > > at FSpot.App.HandleOrganize () [0x00010] in /home/exalted/build/f-spot/src/Core/App.cs:204 > > at FSpot.App.Organize () [0x00014] in /home/exalted/build/f-spot/src/Core/App.cs:82 > > at FSpot.Driver.Main (System.String[] args) [0x007b9] in /home/exalted/build/f-spot/src/main.cs:239 > > > > (f-spot:12865): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. > > Exception in Gtk# callback delegate > > Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. > > System.DllNotFoundException: /home/exalted/unstable/f-spot/lib/f-spot/libfspot.so.0 > > at (wrapper managed-to-native) Cms.NativeMethods:FScreenGetProfile (intptr) > > at Cms.Profile.GetScreenProfile (Gdk.Screen screen) [0x00011] in /home/exalted/build/f-spot/src/Cms/Profile.cs:89 > > at FSpot.ColorManagement.get_XProfile () [0x0000a] in /home/exalted/build/f-spot/src/Core/ColorManagement.cs:51 > > at FSpot.ColorManagement.get_Profiles () [0x000a5] in /home/exalted/build/f-spot/src/Core/ColorManagement.cs:39 > > at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x0003f] in /home/exalted/build/f-spot/src/TagSelectionWidget.cs:190 > > at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] > > at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) > > at GtkSharp.TreeCellDataFuncWrapper.NativeCallback(IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) > > at Gtk.Dialog.gtk_dialog_run(IntPtr ) > > at Gtk.Dialog.Run() > > at FSpot.Driver.Main(System.String[] args) in /home/exalted/build/f-spot/src/main.cs:line 248 > > Daemon thread @3 received signal 11 at #0: 0x414f000a in GPhotoCamera.ReleaseGPhotoResources()+0x1ea at /home/exalted/build/f-spot/src/GPhotoCamera.cs:239. > > 239 context.Dispose (); > > ---------------------------------------------------------------------- > > > > And F-Spot UI will popup with a dialog window saying "F-Spot Encountered > > a Fatal Error". > > > > How do you guys debug F-Spot please? > > > > Thanks. > > > > Regards, > > _______________________________________________ > > F-spot-list mailing list > > F-spot-list gnome org > > http://mail.gnome.org/mailman/listinfo/f-spot-list > > -- Ali Servet Donmez <asd pittle org>
Attachment:
signature.asc
Description: This is a digitally signed message part