[Issue 10370] New: ICE when loading imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 16 00:35:07 PDT 2013


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

           Summary: ICE when loading imports
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-06-16 11:35:04 MSD ---
`Package::resolve` returns NULL as the last `pkg` in loop is a module with NULL
`symtab` so `Import::load` calls `lookup` on NULL `dst` and segfaults.

The issue is rather nasty as the compiler fails early without any errors.

Sorry, the testcase is huge and non-opensource. One can email me directly if it
is needed.

-- 
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