X-Base Bugtracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
000876xShunterConsole commandspublic2012-07-01 23:512012-07-02 22:17
ReporterxOR 
Assigned ToxOR 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformIBM CompatibleOSLinuxOS Version2.6.x
Product Versionv0.2 
Target Versionv0.3Fixed in Versionv0.3 
Summary000876: Console function related crash of Mono and xShunter
DescriptionMono can be crashed with an exception, hence xShunter is crashed too. This only affects Mono, it doesn't happen on any .NET application.

The error shown is:
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Value must be positive and below the buffer height.
Parameter name: top
  at System.TermInfoDriver.SetCursorPosition (Int32 left, Int32 top) [0x00000] in <filename unknown>:0
  at System.TermInfoDriver.WriteSpecialKey (ConsoleKeyInfo key) [0x00000] in <filename unknown>:0
  at System.TermInfoDriver.Echo (ConsoleKeyInfo key) [0x00000] in <filename unknown>:0
  at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
  at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
  at System.Console.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
  at System.Console.ReadKey () [0x00000] in <filename unknown>:0
  at XBase.xShunter.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Steps To Reproduce- run xShunter
- resize the terminal/SSH window so that it is smaller
- press any character, then press backspace
Additional InformationIt happens on 2.11.1 although a very similar sounding bug was fixed for 2.10 - see here: https://bugzilla.xamarin.com/show_bug.cgi?id=874 [^]

Apparently OpenSim had a similar problem but it is not clear how they have fixed it, see here: http://opensimulator.org/mantis/view.php?id=5332 [^]
TagsNo tags attached.
SVN revision
Attached Files

- Relationships
related to 000878resolvedxOR xConsole Console function related crash of Mono and xShunter 

-  Notes
User avatar (0000481)
xOR (administrator)
2012-07-02 00:03

r467 has some exception handling added, tests will have to show whether it improves the situation or at least gives us some more information
User avatar (0000482)
xOR (administrator)
2012-07-02 02:09

r468


Copyright © 2000 - 2011 MantisBT Group
Time: 0.0830 seconds.
memory usage: 7,498 KB
Powered by Mantis Bugtracker