[Mono-bugs] [Bug 40827][Nor] Changed - mcs fails using certain optimizations for mini
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 7 Apr 2003 07:52:57 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=40827
--- shadow/40827 Sun Apr 6 03:32:42 2003
+++ shadow/40827.tmp.4642 Mon Apr 7 07:52:57 2003
@@ -1,14 +1,14 @@
Bug#: 40827
Product: Mono/Runtime
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: mathpup@mylinuxisp.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -65,6 +65,48 @@
Additional Information:
If you want more specific information on reproducing the problem with Qt#, let me
know.
+
+------- Additional Comments From lupus@ximian.com 2003-04-07 07:52 -------
+Yes, please provide more info about the qtsharp version you're compiling
+and where to get it.
+Dietmar already fixed a bug in deadce, please test if mini from cvs
+works for you now.
+While compiling qtsharp 0.6 I found a bug that may be close to the
+last issue your report, though you don't tell us what kind of code is
+at line 335 of QtSupport.cs.
+Anyway, the test file is:
+public class Item {
+
+ internal Item () {}
+
+ ~Item ()
+ {
+ }
+}
+
+This compile correctly for me unless inlining is enabled.
+The error looks like:
+GC Warning: Out of Memory! Returning NIL!
+Exception caught by the compiler while compiling:
+ Block that caused the problem begin at: /tmp/item.cs: (7)
+
+Unhandled Exception: System.NullReferenceException: A null value was
+found where an object instance was required
+in (unmanaged) /lib/libc.so.6(memcpy+0x2f) [0x401c506b]
+in (unmanaged)
+/home/lupus/opt/ximian/mono/mono/mini/mini(glob64+0x1bc) [0x805a5d4]
+in <0x0024f> 00 Mono.CSharp.EmitContext:EmitTopBlock
+(Mono.CSharp.Block,Mono.CSharp.InternalParameters,Mono.CSharp.Location)
+in <0x000b4> 00 Mono.CSharp.MethodData:EmitDestructor
+(Mono.CSharp.EmitContext,Mono.CSharp.Block)in <0x003c9> 00
+Mono.CSharp.MethodData:Emit
+(Mono.CSharp.TypeContainer,Mono.CSharp.Block,object)
+in <0x00028> 00 Mono.CSharp.Method:Emit (Mono.CSharp.TypeContainer)
+in <0x001c9> 00 Mono.CSharp.TypeContainer:Emit ()
+in <0x0044f> 00 Mono.CSharp.RootContext:EmitCode ()
+in <0x00839> 00 Mono.CSharp.Driver:MainDriver (string[])
+in <0x0000d> 00 Mono.CSharp.Driver:Main (string[])
+