[Issue 22874] New: ICE: Segmentation fault building druntime on mips64el-linux

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 11 18:09:07 UTC 2022


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

          Issue ID: 22874
           Summary: ICE: Segmentation fault building druntime on
                    mips64el-linux
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

Looks like the D version of `new(&ue)`, `emplaceExp!()` is stack corrupting.

d21: internal compiler error: Segmentation fault
0x1203cbc7f
_D3dmd10dinterpret11Interpreter21interpretAssignCommonMFCQCd10expression6BinExpPFKxS
QDe7globals3LocCQDu5mtype4TypeCQEjQCg10ExpressionQtZSQFfQDc8UnionExpiZv
        ../../src/gcc/d/dmd/dinterpret.d:3678
0x1203b7de3
_D3dmd10dinterpret9interpretFPSQBd10expression8UnionExpCQCcQz10ExpressionPSQCvQCu10I
nterStateEQDoQDn8CTFEGoalZQCd
        ../../src/gcc/d/dmd/dinterpret.d:6420
0x1203b7de3
_D3dmd10dinterpret15interpretRegionFCQBj10expression10ExpressionPSQCmQCl10InterState
EQDfQDe8CTFEGoalZQCn
        ../../src/gcc/d/dmd/dinterpret.d:6448
0x1203cf5a3 Interpreter::visit(CallExp*)
        ../../src/gcc/d/dmd/dinterpret.d:4843
0x1203b855b
_D3dmd10dinterpret9interpretFPSQBd10expression8UnionExpCQCcQz10ExpressionPSQCvQCu10I
nterStateEQDoQDn8CTFEGoalZQCd
        ../../src/gcc/d/dmd/dinterpret.d:6420
0x1203b855b Interpreter::visit(ExpStatement*)
        ../../src/gcc/d/dmd/dinterpret.d:805
0x1203b855b Interpreter::visit(ExpStatement*)
        ../../src/gcc/d/dmd/dinterpret.d:790
0x1203b8c7b
_D3dmd10dinterpret9interpretFPSQBd10expression8UnionExpCQCc9statement9StatementPSQDbQDa10InterStateZCQDvQCs10Expression
        ../../src/gcc/d/dmd/dinterpret.d:6485
0x1203b8c7b Interpreter::visit(IfStatement*)
        ../../src/gcc/d/dmd/dinterpret.d:907
0x1203b577b
_D3dmd10dinterpret9interpretFPSQBd10expression8UnionExpCQCc9statement9StatementPSQDbQDa10InterStateZCQDvQCs10Expression
        ../../src/gcc/d/dmd/dinterpret.d:6485
0x1203b577b Interpreter::visit(CompoundStatement*)
        ../../src/gcc/d/dmd/dinterpret.d:823
0x1203b577b
_D3dmd10dinterpret9interpretFPSQBd10expression8UnionExpCQCc9statement9StatementPSQDbQDa10InterStateZCQDvQCs10Expression
        ../../src/gcc/d/dmd/dinterpret.d:6485
0x1203b577b Interpreter::visit(CompoundStatement*)
        ../../src/gcc/d/dmd/dinterpret.d:823
0x1203c5b97
_D3dmd10dinterpret9interpretFPSQBd10expression8UnionExpCQCc9statement9StatementPSQDbQDa10InterStateZCQDvQCs10Expression
        ../../src/gcc/d/dmd/dinterpret.d:6485
0x1203c5b97
_D3dmd10dinterpret17interpretFunctionFPSQBm10expression8UnionExpCQCl4func15FuncDeclarationPSQDmQDl10InterStatePSQEg4root5array__T5ArrayTCQFfQDt10ExpressionZQBbQxZQBa
        ../../src/gcc/d/dmd/dinterpret.d:644
0x1203cefcf Interpreter::visit(CallExp*)
        ../../src/gcc/d/dmd/dinterpret.d:4962
0x1203b9483
_D3dmd10dinterpret9interpretFPSQBd10expression8UnionExpCQCcQz10ExpressionPSQCvQCu10InterStateEQDoQDn8CTFEGoalZQCd
        ../../src/gcc/d/dmd/dinterpret.d:6420
0x1203b9483 Interpreter::visit(ReturnStatement*)
        ../../src/gcc/d/dmd/dinterpret.d:1037
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.
make[7]: *** [Makefile:2475: core/internal/parseoptions.lo] Error 1

--


More information about the Digitalmars-d-bugs mailing list