[Mono-bugs] [Bug 368439] New: Fails to compile gtk-sharp with NullReferenceException on arm/eabi

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 7 22:55:06 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=368439


           Summary: Fails to compile gtk-sharp with NullReferenceException
                    on arm/eabi
           Product: Mono: Compilers
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: slomo at circular-chaos.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Hi,
mcs 1.2.6 fails to compile gtk-sharp with a NullReferenceException on arm/eabi:

ALL6500:~/mono/gtk-sharp2-2.10.4/pango$ mono  --trace=N:nothing --debug
/usr/lib/mono/1.0/mcs.exe -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8
-define:GTK_SHARP_2_10  -nowarn:0169,0612,0618 -unsafe -out:pango-sharp.dll
-target:library /r:../glib/glib-sharp.dll -r:/usr/lib/mono/1.0/Mono.Cairo.dll  
generated/*.cs ./Attribute.cs ./AttrBackground.cs ./AttrFallback.cs
/AttrFamily.cs ./AttrFontDesc.cs ./AttrForeground.cs ./AttrLanguage.cs
/AttrLetterSpacing.cs ./AttrRise.cs ./AttrScale.cs ./AttrShape.cs
/AttrSize.cs ./AttrStretch.cs ./AttrStrikethroughColor.cs
/AttrStrikethrough.cs ./AttrStyle.cs ./AttrUnderlineColor.cs
/AttrUnderline.cs ./AttrVariant.cs ./AttrWeight.cs ./Scale.cs ./ScriptIter.cs
/Units.cs AssemblyInfo.cs
EXCEPTION handling: NullReferenceException

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Mono.CSharp.FieldExpr.EmitAssign (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression source, Boolean leave_copy, Boolean prepare_for_load)
[0x00000]
  at Mono.CSharp.Assign.Emit (Mono.CSharp.EmitContext ec, Boolean is_statement)
[0x00000]
  at Mono.CSharp.Assign.EmitStatement (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.StatementExpression.DoEmit (Mono.CSharp.EmitContext ec)
[0x00000]
  at Mono.CSharp.Statement.Emit (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Block.DoEmit (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Block.Emit (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.EmitContext.EmitResolvedTopBlock (Mono.CSharp.ToplevelBlock
block, Boolean unreachable) [0x00000]
  at Mono.CSharp.Constructor.Emit () [0x00000]
  at Mono.CSharp.TypeContainer.EmitType () [0x00000]
  at Mono.CSharp.RootContext.EmitCode () [0x00000]
  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list