[Mono-bugs] [Bug 81606][Nor] New - [ARM] StreamWriter fails for arm processors

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 12 19:15:27 EDT 2007


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 everaldo at simios.org.

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

--- shadow/81606	2007-05-12 19:15:27.000000000 -0400
+++ shadow/81606.tmp.8001	2007-05-12 19:15:27.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 81606
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: Nokia N770 and N800 OS
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: everaldo at simios.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [ARM] StreamWriter fails for arm processors
+
+The above code fail on "WriteLine" in arm processors.
+
+using System;
+using System.IO;
+
+class FileIOTest
+{
+    static void Main ()
+    {
+	  StreamWriter log = File.CreateText ("test.txt");
+	  log.WriteLine ("test");
+	  log.Flush ();  
+    }
+}
+
+This is output:
+
+Nokia-N800-48:~# mono file.exe 
+Stacktrace:
+
+  at (wrapper managed-to-native) System.IO.MonoIO.Seek
+(intptr,long,System.IO.SeekOrigin,System.IO.MonoIOError&) <0xffffffff>
+  at System.IO.FileStream.FlushBuffer () <0x00074>
+  at System.IO.FileStream.Flush () <0x0002b>
+  at System.IO.StreamWriter.Flush () <0x0004f>
+  at FileIOTest.Main () <0x0005f>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        mono [0x103fc8]
+        [0x405cb520]
+
+=================================================================
+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.
+=================================================================
+
+Aborted


More information about the mono-bugs mailing list