Hello, > For some reason Mono raises an Illegal Instruction exception when it > runs out of stack space, instead of raising a StackOverflow > exception, which is what people want. I don't know why.
When you are out of stack, there is no stack left to actually handle the exception and throw the StackOverflow exception. Although Mono could take advantage of a feature in the kernel to use a separate stack in these conditions, it turns out that this stack is also used for other operations, and can confuse the GC, so we recommend that people not use it. Miguel > That might be your problem - too much recursion? > > Chris Seaton > > On 9 Mar 2007, at 04:28, Anitha wrote: > > > > > Hi, > > > > I'm working in Mac MONO. I'm getting an exception as "Illegal > > Instruction" > > while trying to run the C#.Net 2005 code in Mac. But i'm getting > > the output > > for the same in linux CentOS MONO. > > > > Thanks for your help in advance. > > > > Thanks, > > Anitha > > -- > > View this message in context: http://www.nabble.com/Illegal- > > Instruction-tf3373717.html#a9388369 > > Sent from the Mono - General mailing list archive at Nabble.com. > > > > _______________________________________________ > > Mono-list maillist - [email protected] > > http://lists.ximian.com/mailman/listinfo/mono-list > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
