Bug 312623 (MONO46612) - Segmentation fault on self-referencing property
Summary: Segmentation fault on self-referencing property
Status: RESOLVED MOVED
Alias: MONO46612
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-19 15:15 UTC by Sebastian Nowozin
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Crash with mono-0.25, and mono-cvs 20030718 (209 bytes, text/plain)
2003-07-19 15:15 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:13:21 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"