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. =================================================================