www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 146] New: ICE (segmentation fault)

Date: Wed, 23 Jul 2014 13:17:11 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

http://bugzilla.gdcproject.org/show_bug.cgi?id=146

            Bug ID: 146
           Summary: ICE (segmentation fault)
           Product: GDC
           Version: 4.9.x
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw gdcproject.org
          Reporter: maor weka.io

Created attachment 72
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=72&action=edit
The code that breaks gdc (after reduction using Dumtmite), just untar and run
'gdc main.d bucket.d'

The attached reduced code (2 files) causes gdc on Linux/Intel 64bit to seg
fault while dmd compiles the code (the non reduced code is also running fine).

output of 'gdc --version': gdc (Ubuntu 4.9.0-9ubuntu2) 4.9.0

the backtrace extracted by running 'gdc -wrapper gdb,--args main.d bucket.d
-I.' :
(gdb) run
Starting program: /usr/lib/gcc/x86_64-linux-gnu/4.9/cc1d main.d -quiet
-dumpbase main.d -mtune=generic -march=x86-64 -auxbase main -imultiarch
x86_64-linux-gnu -I . -o /tmp/ccKYPvW3.s

Program received signal SIGSEGV, Segmentation fault.
0x000000000063ef14 in Type::baseElemOf() ()
(gdb) bt






AggregateDeclaration*) ()















    argv=0x7fffffffddd8, init=<optimized out>, fini=<optimized out>,

-- 
You are receiving this mail because:
You are watching all bug changes.
Jul 23 2014