Thread overview
[Issue 1689] New: Segfaults for nested array allocation with GDC
Nov 24, 2007
d-bugmail
Feb 25, 2008
d-bugmail
Aug 10, 2010
Iain Buclaw
November 24, 2007
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);
}


-- 

February 25, 2008
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


-- 

August 10, 2010
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: -------