Thread overview
[Issue 1607] New: Segmentation fault on x86_64
Oct 23, 2007
d-bugmail
Oct 23, 2007
d-bugmail
Oct 23, 2007
d-bugmail
October 23, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1607

           Summary: Segmentation fault on x86_64
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: pop.atry@gmail.com


the error is:

/home/yangbo/trunk/tango/tango/text/convert/Format.d:0: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This bug will appear anywhere I write Layout!(char).


-- 

October 23, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1607





------- Comment #1 from pop.atry@gmail.com  2007-10-23 01:59 -------
module test;

void foo(int n, ...) {

  TypeInfo[] arguments = _arguments;

  void* args = _argptr;  // this line causes crash.

}

void main() {
  foo(1,4,5);
}


-- 

October 23, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1607


pop.atry@gmail.com changed:

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




------- Comment #2 from pop.atry@gmail.com  2007-10-23 02:05 -------


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


--