www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1689] New: Segfaults for nested array allocation with GDC

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1689

           Summary: Segfaults for nested array allocation with GDC
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: mariusmuja gmail.com


The following code produces a Segfault at runtime when compiled with GDC:

void main()
{
        float[][] bar;
        bar = new float[][](2,3);
}


-- 
Nov 23 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1689





------- Comment #1 from thomas-dloop kuehne.cn  2008-02-25 05:06 -------
Added to DStress as
http://dstress.kuehne.cn/run/a/array_initialization_26_F.d


-- 
Feb 25 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1689


Iain Buclaw <ibuclaw ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from Iain Buclaw <ibuclaw ubuntu.com> 2010-08-10 16:23:47 PDT ---
Fixed in hg commit 183 / release 0.25

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 10 2010