Bug 508576

Summary: Seg fault when compiling code with cyclic dependency
Product: [Mono] Mono: Compilers Reporter: Marcos Magalhaes <mjsmagalhaes.insc>
Component: C#Assignee: Mono Bugs <mono-bugs>
Status: RESOLVED DUPLICATE QA Contact: Mono Bugs <mono-bugs>
Severity: Critical    
Priority: P2 - High    
Version: 2.4.x   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X 10.5   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marcos Magalhaes 2009-05-31 15:55:16 UTC
[+] Description of Problem:


[+] Steps to reproduce the problem:

Compile the following code:

unsafe public struct a
{
	a * l;
	b * u;
}

unsafe public struct b
{
	a * l;
}

[+] Actual Results:

Segmentation fault.

[+] Expected Results:

A library or CS5001.

[+] How often does this happen? 

Always.

Additional Information:

This bug was found with the specified hardware/software but it is unknown if it happens in any other platform.
Comment 1 Marek Safar 2009-06-01 10:16:47 UTC
dup

*** This bug has been marked as a duplicate of bug 495112 ***