[Mono-bugs] [Bug 81393][Nor] New - Console: IOException after pressing Ctrl-C
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Apr 18 08:19:18 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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=81393
--- shadow/81393 2007-04-18 08:19:18.000000000 -0400
+++ shadow/81393.tmp.17595 2007-04-18 08:19:18.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 81393
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Console: IOException after pressing Ctrl-C
+
+If you cancel an application (launched from another mono application) by
+pressing Ctrl-C while reading characters from the console then the
+following exception is reported:
+
+Unhandled Exception: System.IO.IOException: Invalid handle to
+path "[Unknown]"
+ at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf,
+Int32 offset, Int32 count) [0x00000]
+ at System.IO.FileStream.ReadByte () [0x00000]
+ at System.TermInfoDriver.ReadKeyInternal () [0x00000]
+ at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000]
+ at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000]
+ at System.Console.ReadKey (Boolean intercept) [0x00000]
+ at System.Console.ReadKey () [0x00000]
+ at Program.Main (System.String[] args) [0x00000]
+
+To reproduce, compile and run the attached code snippet.
More information about the mono-bugs
mailing list