dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #4861] Segmentation fault on duplicated definitio


From: nobody
Subject: [Pnet-developers] [bug #4861] Segmentation fault on duplicated definition for overriden methods
Date: Sun, 24 Aug 2003 06:30:40 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030720

=================== BUG #4861: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4861&group_id=353

Changes by: Mario Luca Bernardi <address@hidden>
Date: Sun 08/24/2003 at 10:30 (GMT)

------------------ Additional Follow-up Comments ----------------------------
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.




=================== BUG #4861: FULL BUG SNAPSHOT ===================


Submitted by: mrlc                    Project: DotGNU Portable.NET          
Submitted on: Wed 08/20/2003 at 13:29
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Segmentation fault on duplicated definition for overriden methods

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. 

Follow-up Comments
*******************

-------------------------------------------------------
Date: Sun 08/24/2003 at 10:30       By: mrlc
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.



CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Wed 08/20/2003 at 13:29  Name: dummy.cs  Size: 0KB   By: mrlc
This dummy.cs file has to be substituted to the one in pnetlib/samples. After 
the substitution run make and you'ìll reproduce the segmentation fault.
http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=4861&amp;bug_file_id=610


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4861&group_id=353

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]