[Issue 11136] New: ICE on incorrect module declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 28 04:43:15 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11136

           Summary: ICE on incorrect module declaration
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-28 04:43:14 PDT ---
./foo.d:

-----
module foo;
-----

./bar.d:

-----
module foo.bar;  // note: should be 'bar'
-----

$ dmd foo.d bar.d

DMD crashes. Stack trace:

0018f950 00438815 image00400000!_aaGet+0xa
[C:\dmd-git\dmd2\src\dmd\src\root\aav.c @ 65]
0018f974 00407300 image00400000!DsymbolTable::insert+0x1f
[C:\dmd-git\dmd2\src\dmd\src\dsymbol.c @ 1501]
0018fab4 00404f35 image00400000!Module::parse+0x7ed
[C:\dmd-git\dmd2\src\dmd\src\module.c @ 574]
0018ff0c 00405d11 image00400000!tryMain+0x27fa
[C:\dmd-git\dmd2\src\dmd\src\mars.c @ 1477]
0018ff48 0057c24d image00400000!main+0x43 [C:\dmd-git\dmd2\src\dmd\src\mars.c @
1803]

Only tested on Win7.

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


More information about the Digitalmars-d-bugs mailing list