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 326468 - f-spot crashes randomly (probably related to mono)
f-spot crashes randomly (probably related to mono)
Status: RESOLVED DUPLICATE of bug 323431
Product: f-spot
Classification: Other
Component: General
0.1.5
Other All
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-10 14:39 UTC by sfabel
Modified: 2006-01-11 12:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sfabel 2006-01-10 14:39:12 UTC
Steps to reproduce:
1. start the application
2. do something (like scrolling down or importing pictures, sometimes it doesn't
even start)
3. watch it crash


Stack trace:
Output when crashing on start-up:
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:

in <0xb> (wrapper managed-to-native)
System.Runtime.InteropServices.Marshal:PtrToStringAnsi (intptr)
in <0xfffffffffffff8a5> (wrapper managed-to-native)
System.Runtime.InteropServices.Marshal:PtrToStringAnsi (intptr)
in [0x91] Mono.Data.SqliteClient.SqliteDataReader:ReadpVm (intptr,int)
in [0x46] Mono.Data.SqliteClient.SqliteDataReader:.ctor
(Mono.Data.SqliteClient.SqliteCommand,intptr,int)
in <0xffffffffffffa405> (wrapper remoting-invoke-with-check)
Mono.Data.SqliteClient.SqliteDataReader:.ctor
(Mono.Data.SqliteClient.SqliteCommand,intptr,int)
in [0x68] Mono.Data.SqliteClient.SqliteCommand:ExecuteReader
(System.Data.CommandBehavior,bool,int&)
in [0x5] Mono.Data.SqliteClient.SqliteCommand:ExecuteReader
(System.Data.CommandBehavior)
in [0x2] Mono.Data.SqliteClient.SqliteCommand:ExecuteReader ()
in <0xcf> TagStore:LoadAllTags ()
in <0x8d> TagStore:.ctor (Mono.Data.SqliteClient.SqliteConnection,bool)
in <0xf8> Db:.ctor (string,bool)
in <0x280> Driver:Main (string[])
in <0xffffffffc047826e> (wrapper runtime-invoke)
System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr)

Native stacktrace:

        mono(mono_handle_native_sigsegv+0x88) [0x504ad8]
        mono [0x4f180c]
        /lib/tls/libpthread.so.0 [0x2aaaab18c270]
        /lib/tls/libc.so.6(strlen+0x30) [0x2aaaab593260]
        mono(mono_string_new+0x2d) [0x48fc1d]
        [0x40252a43]


Output when scrolling:
Starting new FSpot server

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an objectin (wrapper unknown) Gdk.Rectangle:PtrToStructure
(intptr,object)
in <0x00000> <unknown method>
in (wrapper managed-to-native)
System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
in <0x000d4> Gdk.Region:GetRectangles ()
in <0x00044> IconView:PreloadRegion (Gdk.Region region, Int32 step)
in <0x00601> IconView:Scroll ()
in <0x0001a> IconView:HandleAdjustmentValueChanged (System.Object sender,
System.EventArgs args)
in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x000c9> 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 <0x00008> Gtk.Application:Run ()
in <0x0000c> Gnome.Program:Run ()
in <0x00514> Driver:Main (System.String[] args)

Sometimes it works longer than other times:
[...lots of scrolling...]
scroll -273, x 513
scroll -263, x 512

[...clicking on a picture...]
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an objectin (wrapper unknown) Gdk.Rectangle:PtrToStructure
(intptr,object)
in <0x00000> <unknown method>
in (wrapper managed-to-native)
System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
in <0x000d4> Gdk.Region:GetRectangles ()
in <0x00044> IconView:PreloadRegion (Gdk.Region region, Int32 step)
in <0x00601> IconView:Scroll ()
in <0x0001a> IconView:HandleAdjustmentValueChanged (System.Object sender,
System.EventArgs args)
in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x000c9> 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 <0x00008> Gtk.Application:Run ()
in <0x0000c> Gnome.Program:Run ()
in <0x00514> Driver:Main (System.String[] args)

Other information:
This is on an AMD64 x86_64 SMP kernel.

mono -V:
Mono JIT compiler version 1.1.12.1, (C) 2002-2005 Novell, Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal
Comment 1 Larry Ewing 2006-01-11 05:06:19 UTC
what distribution?
Comment 2 sfabel 2006-01-11 07:50:03 UTC
Gentoo 2005.1

Compiled from sources.
Comment 3 Jonas Bergler 2006-01-11 10:11:35 UTC
update your mono.
im on gentoo, not having the problem, however this might be related to the SMP crashing reported in #323431
Comment 4 sfabel 2006-01-11 10:59:53 UTC
etcat -v gives me 1.1.12.1 as the latest as of today?

You want me to install from sources (go-mono.com)?
Comment 5 Jonas Bergler 2006-01-11 11:06:25 UTC
my mistake, i misread something somewhere when checking the version, however may i suggest trying a non smp kernel to see if you can confirm http://bugzilla.gnome.org/show_bug.cgi?id=323431
Comment 6 sfabel 2006-01-11 12:00:21 UTC
OK, tried it with 2.6.14 non-smp. Doesn't crash so I guess I can confirm
http://bugzilla.gnome.org/show_bug.cgi?id=323431

*** This bug has been marked as a duplicate of 323431 ***