Bugzilla – Bug 312623
Segmentation fault on self-referencing property
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by sebastian.nowozin@web.de 2003-07-19 08:15:07 MST ---- Description of Problem: Upon (nonsense, but likely mistyped) constructs such as public int Foobar { get { return (Foobar); } } mono crashes with a Segmentation fault. (Possibly stack internal overrun?) Steps to reproduce the problem: 1. Compile the attached monocrash.cs with "mcs monocrash.cs" 2. mono ./monocrash.exe Actual Results: Segmentation fault. Expected Results: Either an error message by mono, that the stack was overrun, or an endless looping. How often does this happen? Reproducable. Additional Information: Maybe mcs could catch this mistake. (I suspect it may be a not-so-uncommon mistake, as people use lowercased names for their variables and uppercase for their properties, so a mistyping is common). At least, mono should not segfault. ---- Additional Comments From sebastian.nowozin@web.de 2003-07-19 08:15:47 MST ---- Created an attachment (id=164819) Crash with mono-0.25, and mono-cvs 20030718 ---- Additional Comments From vargaz@freemail.hu 2003-09-28 09:32:45 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO47689 *** Imported an attachment (id=164819) Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"