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 336758 - crash on colour adjustments on powerpc32
crash on colour adjustments on powerpc32
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Editing
0.2.0
Other All
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-31 18:18 UTC by sam tygier
Modified: 2006-12-01 23:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sam tygier 2006-03-31 18:18:11 UTC
Steps to reproduce:
to reproduce.
open f-spot
import some jpegs
go to edit mode
click the convert to black and white
or click on colour adjust and move a slider.

Stack trace:
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 (wrapper managed-to-native) Cms.Profile:f_cmsCreateBCHSWabstractProfile (int,
double,double,double,double,double,Cms.ColorCIExyY,Cms.ColorCIExyY,System.Runtim
e.InteropServices.HandleRef[]) <0xffffffff>
in (wrapper managed-to-native) Cms.Profile:f_cmsCreateBCHSWabstractProfile (int,
double,double,double,double,double,Cms.ColorCIExyY,Cms.ColorCIExyY,System.Runtim
e.InteropServices.HandleRef[]) <0xec>
in Cms.Profile:CreateAbstract (int,double,double,double,double,double,Cms.GammaT
able[],Cms.ColorCIExyY,Cms.ColorCIExyY) <0x238>
in FSpot.Desaturate:GenerateProfile () <0x100>
in FSpot.ColorAdjustment:Adjust () <0x190>
in PhotoView:HandleDesaturateButtonClicked (object,System.EventArgs) <0xf4>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventAr
gs (object,System.EventArgs) <0x8c>
in GLib.Signal:voidObjectCallback (intptr,intptr) <0x108>
in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) <0
x38>
in (wrapper managed-to-native) Gtk.Application:gtk_main () <0xffffffff>
in (wrapper managed-to-native) Gtk.Application:gtk_main () <0x80>
in Gtk.Application:Run () <0xc>
in Gnome.Program:Run () <0x10>
in FSpot.Driver:Main (string[]) <0x6c8>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] (object,i
ntptr,intptr,intptr) <0x64>

Native stacktrace:

        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0x94) [0xfe74918]
        /usr/lib/libmono.so.0 [0xfe36724]
        [0x100380]
        [0x7fca3480]
        [0x3274505c]
        [0x32744ae4]
        [0x327446ac]
        [0x32742e04]
        [0x327428c8]
        [0x31fc5aa8]
        [0x325a51c4]
        [0x3215480c]
        /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x70) [0xeb7d
c54]
        /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16c) [0xeb6d720]
        /usr/lib/libgobject-2.0.so.0 [0xeb8214c]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6f4) [0xeb832b8]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x6c) [0xeb836fc]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x7c) [0xf2a4fe0]
        /usr/lib/libgtk-x11-2.0.so.0 [0xf2a7404]
        /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x70) [0xeb7d
c54]
        /usr/lib/libgobject-2.0.so.0 [0xeb6ce3c]
        /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16c) [0xeb6d720]
        /usr/lib/libgobject-2.0.so.0 [0xeb818ec]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6f4) [0xeb832b8]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x6c) [0xeb836fc]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x7c) [0xf2a4f10]
        /usr/lib/libgtk-x11-2.0.so.0 [0xf2a6444]
        /usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_BOOLEAN__BOXED+0x88) [0xf396bd c]
        /usr/lib/libgobject-2.0.so.0 [0xeb6ce3c]
        /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16c) [0xeb6d720]
        /usr/lib/libgobject-2.0.so.0 [0xeb81c64]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x410) [0xeb82fd4]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x6c) [0xeb836fc]
        /usr/lib/libgtk-x11-2.0.so.0 [0xf4b8654]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xf4) [0xf394978]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x3e4) [0xf394ef8]
        /usr/lib/libgdk-x11-2.0.so.0 [0xf1aa1ac]
        /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x280) [0xfcf1544]
        /usr/lib/libglib-2.0.so.0 [0xfcf593c]
        /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x280) [0xfcf5d94]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0x104) [0xf393cd8]
        [0x32551ba8]
        [0x32551ad0]
        [0x32551a84]
        [0x309f49ac]
        [0x309f2c38]
        /usr/lib/libmono.so.0 [0xfe522c0]
        /usr/lib/libmono.so.0(mono_runtime_invoke+0x30) [0xfeb3d24]
        /usr/lib/libmono.so.0(mono_runtime_exec_main+0x94) [0xfeb7628]
        /usr/lib/libmono.so.0(mono_runtime_run_main+0x180) [0xfebb2f4]
        /usr/lib/libmono.so.0(mono_jit_exec+0xb4) [0xfe67598]
        /usr/lib/libmono.so.0(mono_main+0xd54) [0xfe683a8]
        mono [0x10001650]
        /lib/libc.so.6 [0xfa578ec]
        /lib/libc.so.6 [0xfa57a34]

Other information:
f-spot crashes when adjusting colors or converting to black and white or sepia,
on jpegs.

this is on an up to date ubuntu dapper, f-spot 0.1.11-0ubuntu1 on powerpc.
also reported at https://launchpad.net/distros/ubuntu/+source/f-spot/+bug/37412
Comment 1 Larry Ewing 2006-03-31 19:26:31 UTC
http://bugzilla.ximian.com/show_bug.cgi?id=77968 is a mono jit bug covering this issue.
Comment 2 Bengt Thuree 2006-05-17 15:42:20 UTC
Should this one be closed then, since the problem is in mono jit?
Comment 3 Larry Ewing 2006-07-20 19:44:42 UTC
re #2, lets keep it open to track the issue.
Comment 4 sam tygier 2006-10-06 06:48:03 UTC
this is still present in f-spot 0.2 in ubuntu edgy.

it is confirmed by someone on the ubuntu bug tracker, and by the mono developers.

the mono developers suggest fixing it in f-spot

"If this is code in f-spot that you can change it would be better long
term as well: passing structures bigger than 16 bytes by value should
be avoided in C# as in C because of performance." [http://bugzilla.ximian.com/show_bug.cgi?id=77968]
Comment 5 Larry Ewing 2006-12-01 23:30:26 UTC
I took another look at where we are actually using this and worked around the issue.  It should be fixed CVS and will be released in 0.3.1.