mono crashes while compiling f-spot from cvs

Bug #64371 reported by digger vermont
10
Affects Status Importance Assigned to Milestone
Banshee
Invalid
High
F-Spot
Unknown
High
mono
Confirmed
Unknown
banshee (Ubuntu)
Invalid
Undecided
Unassigned
mono (Debian)
Confirmed
Unknown
mono (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

run make clean in f-spot directory
update f-spot with cvs up -dP
run ./autogen.sh
run make

exit ends with:

/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll: `Gtk.Widget.InputShapeCombineMask(Gdk.Pixmap, int, int)', name of symbol related to previous warning
./CDExport.cs(90,11): warning CS0219: The variable `changed' is assigned but its value is never used
./ColorDialog.cs(384,32): warning CS0168: The variable `e' is declared but never used
./Core.cs(91,32): warning CS0168: The variable `e' is declared but never used
./Exif.cs(699,32): warning CS0168: The variable `e' is declared but never used
./FileImportBackend.cs(62,47): warning CS0168: The variable `e' is declared but never used
./FileImportBackend.cs(226,31): warning CS0168: The variable `e' is declared but never used
./FindBar.cs(196,20): warning CS0219: The variable `indent' is assigned but its value is never used
./GalleryRemote.cs(300,39): warning CS0168: The variable `e2' is declared but never used
./GalleryRemote.cs(294,38): warning CS0168: The variable `e' is declared but never used
./GalleryRemote.cs(457,39): warning CS0168: The variable `e' is declared but never used
./GalleryRemote.cs(801,39): warning CS0168: The variable `e' is declared but never used
./GalleryRemote.cs(1037,39): warning CS0168: The variable `e' is declared but never used

** (/usr/lib/mono/2.0/gmcs.exe:29619): WARNING **: The following assembly referenced from /usr/lib/mono/gac/gdk-sharp/2.10.0.0__35e10195dab3c99f/gdk-sharp.dll could not be loaded:
     Assembly: Mono.Cairo (assemblyref_index=2)
     Version: 1.0.5000.0
     Public Key: 0738eb9f132ed756
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0).

** (/usr/lib/mono/2.0/gmcs.exe:29619): WARNING **: Could not load file or assembly 'Mono.Cairo, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.

=================================================================
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:

  at (wrapper managed-to-native) System.Reflection.MonoMethodInfo.get_method_info (intptr,System.Reflection.MonoMethodInfo&) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethodInfo.get_method_info (intptr,System.Reflection.MonoMethodInfo&) <0x00088>
  at System.Reflection.MonoMethod.get_Attributes () <0x00038>
  at System.Reflection.MethodBase.get_IsVirtual () <0x00028>
  at Mono.CSharp.MemberCache.AddMethods (System.Reflection.BindingFlags,System.Type) <0x00284>
  at Mono.CSharp.MemberCache.AddMethods (System.Type) <0x00048>
  at Mono.CSharp.MemberCache..ctor (Mono.CSharp.IMemberContainer) <0x001fc>
  at Mono.CSharp.TypeHandle..ctor (System.Type) <0x001e8>
  at Mono.CSharp.TypeHandle.GetTypeHandle (System.Type) <0x00090>
  at Mono.CSharp.TypeHandle.GetMemberCache (System.Type) <0x00018>
  at Mono.CSharp.TypeManager.MemberLookup_FindMembers (System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags,string,bool&) <0x003dc>
  at Mono.CSharp.TypeManager.RealMemberLookup (System.Type,System.Type,System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags,string,System.Collections.IList) <0x00260>
  at Mono.CSharp.TypeManager.MemberLookup (System.Type,System.Type,System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags,string,System.Collections.IList) <0x0004c>
  at Mono.CSharp.Expression.MemberLookup (System.Type,System.Type,System.Type,string,System.Reflection.MemberTypes,System.Reflection.BindingFlags,Mono.CSharp.Location) <0x000c4>
  at Mono.CSharp.Expression.MemberLookup (System.Type,System.Type,System.Type,string,Mono.CSharp.Location) <0x0003c>
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext,Mono.CSharp.Expression) <0x00340>
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext) <0x00020>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x00254>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00028>
  at Mono.CSharp.Binary.DoResolve (Mono.CSharp.EmitContext) <0x0017c>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x00254>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00028>
  at Mono.CSharp.Argument.Resolve (Mono.CSharp.EmitContext,Mono.CSharp.Location) <0x00094>
  at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext) <0x002fc>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x00254>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00028>
  at Mono.CSharp.Assign.DoResolve (Mono.CSharp.EmitContext) <0x00138>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x00254>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00028>
  at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.EmitContext) <0x0002c>
  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext) <0x00044>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x00318>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x00318>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x00318>
  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext,Mono.CSharp.ToplevelBlock,Mono.CSharp.Parameters,Mono.CSharp.IMethodData,bool&) <0x00214>
  at Mono.CSharp.EmitContext.EmitTopBlock (Mono.CSharp.IMethodData,Mono.CSharp.ToplevelBlock) <0x00074>
  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x00210>
  at Mono.CSharp.Method.Emit () <0x00028>
  at Mono.CSharp.TypeContainer.EmitType () <0x00394>
  at Mono.CSharp.RootContext.EmitCode () <0x002f4>
  at Mono.CSharp.Driver.MainDriver (string[]) <0x00e28>
  at Mono.CSharp.Driver.Main (string[]) <0x00068>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0x00068>

Native stacktrace:

        /usr/bin/mono(mono_handle_native_sigsegv+0xec) [0x1012308c]
        /usr/bin/mono [0x100eca20]
        [0x100380]
        /usr/bin/mono [0x10051788]
        [0x30f71058]
        [0x32326b9c]
        [0x32360b9c]
        [0x32360288]
        [0x3234be64]
        [0x323524e0]
        [0x3234bd4c]
        [0x3234badc]
        [0x3234b90c]
        [0x3236a848]
        [0x3236989c]
        [0x323695f0]
        [0x32368e38]
        [0x323caab0]
        [0x323ca484]
        [0x323ca104]
        [0x32367c00]
        [0x323678bc]
        [0x337cc2a0]
        [0x32367c00]
        [0x323678bc]
        [0x32367458]
        [0x337d0c20]
        [0x32367c00]
        [0x323678bc]
        [0x337c713c]
        [0x32367c00]
        [0x323678bc]
        [0x323cb678]
        [0x3381a380]
        [0x33811c4c]
        [0x33811c4c]
        [0x33811c4c]
        [0x33811568]
        [0x33809a80]
        [0x338090bc]
        [0x33808dd4]
        [0x33807398]
        [0x337fe960]
        [0x30ca0384]
        [0x30c9a80c]
        [0x3095a1b4]
        /usr/bin/mono [0x1010bba8]
        /usr/bin/mono(mono_runtime_invoke+0x28) [0x10044c58]
        /usr/bin/mono(mono_runtime_exec_main+0xd4) [0x1004a264]
        /usr/bin/mono(mono_runtime_run_main+0x1e4) [0x1004a554]
        /usr/bin/mono(mono_jit_exec+0xa0) [0x10013f40]
        /usr/bin/mono(mono_main+0x1094) [0x10015014]
        /usr/bin/mono [0x10013900]
        /lib/libc.so.6 [0xfc1b728]
        /lib/libc.so.6 [0xfc1b978]
make[2]: *** [f-spot.exe] Aborted (core dumped)
make[2]: Leaving directory `/home/digger/src/CVS/f-spot/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/digger/src/CVS/f-spot'
make: *** [all] Error 2

Revision history for this message
Sebastian Dröge (slomo) wrote :

Please install libmono-cairo2.0-cil to fix this build failure

Changed in mono:
status: Unconfirmed → Rejected
Revision history for this message
Sebastian Dröge (slomo) wrote :

Ok, this is more a bug in gtk# and mono. gtk#'s pkgconfig file should just include the mono-cairo one. And mono should ship two pkg-config files for Mono.Cairo, one 1.0 and one 2.0 which specify the complete path to the assembly instead of just doing -r:Mono.Cairo

When you do -r:something it will only look in /usr/lib/mono/[12].0, depending on with which compiler you build

Changed in mono:
importance: Undecided → Medium
status: Rejected → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

Please see bug #65238 for the mono part of this

Revision history for this message
Sebastian Dröge (slomo) wrote :

Ok, so this is a bug in f-spot instead. It should use Mono.Cairo's pkg-config file instead of using -r:Mono.Cairo. I'll file this bug upstream (same happens for banshee btw).

Changed in mono:
status: Unconfirmed → Rejected
Changed in banshee:
status: Unconfirmed → Confirmed
Changed in banshee:
status: Unknown → Unconfirmed
Changed in f-spot:
status: Unknown → Unconfirmed
Changed in banshee:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastian Dröge (slomo) wrote :

Ok, the banshee part of this was invalid... the f-spot part is still valid

Changed in banshee:
status: Confirmed → Rejected
Revision history for this message
Sebastian Dröge (slomo) wrote :

Most probably a bug in mono...

Changed in mono:
status: Rejected → Unknown
Changed in mono:
status: Unknown → Confirmed
Changed in banshee:
status: Needs Info → Rejected
Changed in f-spot:
status: Unconfirmed → Rejected
Changed in mono:
status: Confirmed → Rejected
Revision history for this message
Andrew Mitchell (ajmitch) wrote :

No longer relevant with recent f-spot releases.

Changed in f-spot:
status: Confirmed → Rejected
Changed in mono:
status: Rejected → Confirmed
Sebastian Dröge (slomo)
Changed in f-spot:
status: Rejected → Confirmed
Changed in mono:
status: Unknown → Confirmed
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 alpha?

Changed in mono:
status: Confirmed → Incomplete
Revision history for this message
Jo Shields (directhex) wrote :

No, not remotely. This is a problem with the runtime lib remapper in antique Mono releases. It's never been an issue in Intrepid.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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