www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22122] New: [REG 2.097][ICE] Segmentation fault in in

https://issues.dlang.org/show_bug.cgi?id=22122

          Issue ID: 22122
           Summary: [REG 2.097][ICE] Segmentation fault in in
                    dmd.access.hasPackageAccess
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Program received signal SIGSEGV, Segmentation fault.
0x000055555586148e in dmd.access.hasPackageAccess(dmd.dmodule.Module,
dmd.dsymbol.Dsymbol) (s=0x7ffff72c3f80, mod=0x0) at src/dmd/access.d:107

dmd.dsymbol.Dsymbol) (
    s=0x7ffff72c3f80, mod=0x0) at src/dmd/access.d:107

dmd.dsymbol.Dsymbol) (
    s=0x7ffff72c5ca0, mod=0x0) at src/dmd/access.d:254

dmd.dsymbol.Dsymbol) (
    s=0x7ffff72c5ca0, origin=0x7ffff72ec570) at src/dmd/access.d:265

(this=0x7ffff72ec570, 
    loc=..., ident=0x7ffff7b2bd20, flags=16) at src/dmd/dsymbol.d:1362

dmd.identifier.Identifier, dmd.dsymbol.Dsymbol*, int).searchScopes(int)
(__capture=0x7fffffffa4e8, flags=16) at src/dmd/dscope.d:464

int) (this=..., loc=..., 
    ident=0x7ffff7b2bd20, pscopesym=0x7fffffffa558, flags=0) at
src/dmd/dscope.d:507

const(dmd.globals.Loc), dmd.dscope.Scope*, out dmd.expression.Expression, out
dmd.mtype.Type, out dmd.dsymbol.Dsymbol,
bool).visitIdentifier(dmd.mtype.TypeIdentifier) (__capture=0x7fffffffa5f0,
mt=0x7ffff7b2bd60) at src/dmd/typesem.d:2817

const(dmd.globals.Loc), dmd.dscope.Scope*, out dmd.expression.Expression, out
dmd.mtype.Type, out dmd.dsymbol.Dsymbol, bool) (intypeid=false, 
    ps= 0x7fffffffa650: 0x0, pt= 0x7fffffffa640: 0x0, pe= 0x7fffffffa648: 0x0,
sc=0x7ffff72de970, 
    loc=..., mt=0x7ffff7b2bd60) at src/dmd/typesem.d:3146

const(dmd.globals.Loc), dmd.dscope.Scope*,
dmd.root.array.Array!(dmd.root.rootobject.RootObject).Array*, int) (flags=0, 
    tiargs=0x7ffff7b2bd40, sc=0x7ffff72de970, loc=...) at
src/dmd/dtemplate.d:6594

dmd.dtemplate.TemplateInstance.semanticTiargs(dmd.dscope.Scope*) (
    this=0x7ffff7b2be30, sc=0x7ffff72de970) at src/dmd/dtemplate.d:6841

dmd.expressionsem.semanticY(dmd.expression.DotTemplateInstanceExp,
dmd.dscope.Scope*, int) (flag=1, sc=0x7ffff72de970, exp=0x7ffff7b2bdf0) at
src/dmd/expressionsem.d:12256

ExpressionSemanticVisitor::visit(DotTemplateInstanceExp*) (
    this=0x7fffffffaab8, exp=0x7ffff7b2bdf0) at src/dmd/expressionsem.d:6571

(this=0x7ffff7b2bdf0, 
    v=0x7fffffffaab8) at src/dmd/expression.d:4972

(e=0x7ffff7b2bdf0, sc=0x7ffff72de970)
    at src/dmd/expressionsem.d:11732

(this=0x7fffffffac38, 
    ws=0x7ffff7b2c040) at src/dmd/statementsem.d:3799

v=0x7fffffffac38)
    at src/dmd/statement.d:2008

(s=0x7ffff7b2c040, sc=0x7ffff72de970)
    at src/dmd/statementsem.d:137

(this=0x7fffffffaf78, 
    cs=0x7ffff72ec0c0) at src/dmd/statementsem.d:250

(this=0x7ffff72ec0c0, v=0x7fffffffaf78)
    at src/dmd/statement.d:967

(s=0x7ffff72ec0c0, sc=0x7ffff72de970)
    at src/dmd/statementsem.d:137

dmd.statementsem.semanticNoScope(dmd.statement.Statement, dmd.dscope.Scope*) (
    sc=0x7ffff72de970, s=0x7ffff72ec0c0) at src/dmd/statementsem.d:4443

(this=0x7fffffffb0b8, 
    fs=0x7ffff72ec110) at src/dmd/statementsem.d:641

v=0x7fffffffb0b8)
    at src/dmd/statement.d:1298

(s=0x7ffff72ec110, sc=0x7ffff72dc180)
    at src/dmd/statementsem.d:137

--
Jul 13