[Mono-bugs] [Bug 59900][Nor] New - Running Tao.Glut example crashes inside mono runtime

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Jun 2004 17:26:49 -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 nazgul@omega.pl.

http://bugzilla.ximian.com/show_bug.cgi?id=59900

--- shadow/59900	2004-06-09 17:26:49.000000000 -0400
+++ shadow/59900.tmp.7478	2004-06-09 17:26:49.000000000 -0400
@@ -0,0 +1,62 @@
+Bug#: 59900
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Mandrake Linux 10.0, Mono 0.92 Beta2, Tao from mono cvs
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: nazgul@omega.pl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Running Tao.Glut example crashes inside mono runtime
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing. 
+Description of Problem: 
+I've tried Tao library from mono cvs with Mono Beta2 runtime and when 
+running Redbook.Aaindex example I've got  
+Unhandled Exception: System.NullReferenceException: A null value was 
+found where an object instance was required. 
+in (unmanaged) (wrapper managed-to-native) 
+System.Object:__icall_wrapper_mono_string_to_utf8 (object) 
+in <0x00004> (wrapper managed-to-native) 
+System.Object:__icall_wrapper_mono_string_to_utf8 (object) 
+in <0x000d0> (wrapper managed-to-native) Tao.Glut.Glut:glutInit 
+(int&,System.Text.StringBuilder[]) 
+in <0x000c4> Tao.Glut.Glut:glutInit () 
+in <0x00009> Redbook.Aaindex:Main (string[]) 
+ 
+message at runtime 
+ 
+Steps to reproduce the problem: 
+1. Fix CLSCompliant attribute in Tao.OpenGl to false to make it compile 
+2. Compile Tao.OpenGl  
+mcs -t:library -out:Tao.OpenGl.dll -d:LINUX -unsafe *.cs 
+3. Compile Tao.Glut 
+ mcs -t:library -out:Tao.Glut.dll -d:LINUX -unsafe *.cs 
+-r ../Tao.OpenGl/Tao.OpenGl.dll 
+4. Compile Redbook.Aaindex  
+ mcs -d:LINUX -unsafe *.cs 
+-r ../../../Framework/Projects/Tao.OpenGl/Tao.OpenGl.dll 
+-r ../../../Framework/Projects/Tao.Glut/Tao.Glut.dll 
+5. Run it 
+mono Aaindex.exe 
+ 
+Actual Results: 
+Unhandled Exception: System.NullReferenceException: A null value was 
+found where an object instance was required. 
+ 
+Expected Results: 
+Window with some 3D gfx 
+ 
+How often does this happen?  
+Always 
+ 
+Additional Information: 
+You need to have libGl and libglut (freeglut) installed