http://bugzilla.novell.com/show_bug.cgi?id=588540
http://bugzilla.novell.com/show_bug.cgi?id=588540#c0 Summary: Internal compiler error when compiling banshee-community-extensions Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: All OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100216 Fedora/3.5.8-1.fc11 Firefox/3.5.8 When compiling the banshee-community-extensions gmcs sometimes dies with an Internal compiler error. Reproducible: Sometimes Steps to Reproduce: 1. compile banshee-community-extensions I have not seen this problem with other mono software so far. Actual Results: /usr/bin/gmcs -define:RELEASE -debug -target:library -out:../../bin/Banshee.AlarmClock.dll -r:/usr/lib/banshee-1/Banshee.Core.dll -r:/usr/lib/banshee-1/Banshee.Services.dll -r:/usr/lib/banshee-1/Banshee.ThickClient.dll -r:/usr/lib/banshee-1/Banshee.Widgets.dll -r:/usr/lib/banshee-1/Hyena.Gui.dll -r:/usr/lib/banshee-1/Hyena.dll -r:/usr/lib/banshee-1/Mono.Data.Sqlite -r:/usr/lib/banshee-1/Mono.Media.dll -r:/usr/lib/banshee-1/MusicBrainz.dll -r:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/mono/mono-addins/Mono.Addins.dll -r:/usr/lib/mono/ndesk-dbus-1.0/NDesk.DBus.dll -r:/usr/lib/mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll -r:/usr/lib/mono/taglib-sharp/taglib-sharp.dll -r:Mono.Cairo -r:Mono.Posix -r:System -r:System.Data -resource:./AlarmClock.addin.xml,AlarmClock.addin.xml -resource:./Resources/AlarmMenu.xml,AlarmMenu.xml ./Banshee.AlarmClock/Alarm.cs /Banshee.AlarmClock/AlarmClockService.cs /Banshee.AlarmClock/AlarmConfigDialog.cs /Banshee.AlarmClock/ConfigurationDialog.cs /Banshee.AlarmClock/ConfigurationSchema.cs /Banshee.AlarmClock/SleepTimerConfigDialog.cs /Banshee.AlarmClock/VolumeFade.cs ../../src/AssemblyInfo.cs Internal compiler error at ./Banshee.AlarmClock/AlarmClockService.cs(56,32):: exception caught while emitting MethodBuilder [AlarmClockService::Banshee.ServiceStack.IExtensionService.Initialize] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Mono.CSharp.DelegateCreation.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0 at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.New.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0 at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.Assign.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0 at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0 at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching parent, Mono.CSharp.BlockContext rc, Mono.CSharp.ParametersCompiled ip, IMethodData md) [0x00000] in <filename unknown>:0 Expected Results: no compile error ;-) Unfortunately I can't provide a small and specific test case here. Probably the following additional observations will help: - the source of the example crash can be found here: http://gitorious.org/banshee-community-extensions/banshee-community-extensions/blobs/master/src/AlarmClock/Banshee.AlarmClock/AlarmClockService.cs - it happens in different modules of banshee-community-extensions - it happens randomly - approx. 30% of the time the gmcs is successful, 70% the compiler error is reported - however, I have also a system where I cannot reproduce the issue with the same compiler - gmcs --version Mono C# compiler version 2.6.1.0 - I'm setting the severity to critical since an internal compiler error should never happen and usually indicates a severe problem. If there is anything else what I can do to help to identify and fix the problem, please don't hesitate to ask. -- Configure bugmail: http://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
