bugDotGNU Portable.NET - Bugs: bug #4861, Segmentation fault on duplicated...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4861: Segmentation fault on duplicated definition for overriden methods

Submitter:  Invalid User ID <#20775>
Submitted:  Wed 20 Aug 2003 01:29:26 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Thu 04 Sep 2003 03:57:17 AM UTC, comment #2: 

Fix committed to CVS - 4 Sep 2003

Rhys Weatherley <rweather>
Group administrator
Sun 24 Aug 2003 10:30:40 AM UTC, comment #1: 

Since it seems a pipe problem i've tried to force cscc to not spawn plugin with pipe in line 1291 of cscc.c :

1289   -      DumpCmdLine(cmdline);
1290   -      status = ILSpawnProcessWithPipe(cmdline, ...);

became:

1290   -      status = 0;

so that cscc think the platform can't use pipes and run plugin not using them.
Rebuilding cscc that way the segfault goes away and cscc correctly handle the multiple definition error. So the problem is the way the pipes are used.

Invalid User ID <#20775>
Wed 20 Aug 2003 01:29:26 PM UTC, original submission:  

I've refined the circumstances in which the bug is observable.
Cscc segfaults when a subclass does 2 definition for an overriden method. Attached is a dummy.cs file modified. Put it in pnetlib/samples instead of the old dummy.cs and run make.
If you try to compile only dummy.cs it will complain about duplicate definition in wrong way ( stdin:<wrong line number>: instead of dummy.cs:<correct line number>: ) but it will not  give segmentation fault.

Invalid User ID <#20775>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-09-04 rweather StatusNone None
    Open/ClosedOpen None

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code