Bugzilla – Bug 316280
mono runtime (1.02) crashes with SIGSERV
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by lite@dgap.mipt.ru 2004-10-21 12:55:49 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Steps to reproduce the problem: 1. compile the program (mcs -g -out:astoxml.exe processer.cs optsparser.cs astoxml.cs) 2. run it Actual Results: crashes Expected Results: works How often does this happen? everytime Additional Information: It seems it crashes due to OptionsParser.PlainArgs (of type ArrayList) If I set a property around it ( public ArrayList PlainArguments {get {return PlainArguments;}} ) and use it in foreach (string s in p.PlainArguments) { Console.Error.WriteLine("loading {0} ...",s); } - it will crash. If I don't use a property but use just p.PlainArgs - everything's ok. ---- Additional Comments From lite@dgap.mipt.ru 2004-10-21 12:56:49 MST ---- Created an attachment (id=166934) c# code ---- Additional Comments From lite@dgap.mipt.ru 2004-10-21 12:57:36 MST ---- Created an attachment (id=166935) c# code ---- Additional Comments From vargaz@gmail.com 2004-10-21 15:21:38 MST ---- This code causes infinite recursion, leading to a stack overflow, which mono can't handle yet: public ArrayList PlainArguments { get {return PlainArguments;} } *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO47689 *** Imported an attachment (id=166934) Imported an attachment (id=166935) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>MSAF 3.0</cf_op_sys_details> This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"