Bug 316280 (MONO68639) - mono runtime (1.02) crashes with SIGSERV
Summary: mono runtime (1.02) crashes with SIGSERV
Status: RESOLVED MOVED
Alias: MONO68639
Product: Mono: Runtime
Classification: Mono
Component: packaging (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Duncan Mak
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 19:55 UTC by Borodin A. S.
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
c# code (1.40 KB, text/plain)
2004-10-21 19:56 UTC, Thomas Wiest
Details
c# code (1.40 KB, text/plain)
2004-10-21 19:57 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:56:47 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"