www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22123] New: [REG] compilable: issue15574.sh and issue19243.sh

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

          Issue ID: 22123
           Summary: [REG] compilable: issue15574.sh and issue19243.sh
                    segfault on Ubuntu 21.04
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

================================================================================
 ... compilable/issue15574.sh
 ... compilable/issue19243.sh
==============================
Test compilable/issue15574.sh failed. The logged output:
compilable/issue15574.sh: line 58: 110961 Segmentation fault      (core dumped)
${APP}
==============================
Test compilable/issue15574.sh failed. The xtrace output:
+ source compilable/issue15574.sh
++ [[ linux = *\w\i\n* ]]
++ '[' .a = .a ']'
++ LIB_PREFIX=lib
++ TEST_DIR=test_results/compilable/issue15574
++ C_FILE=test_results/compilable/issue15574/square.c
++ C_LIB=test_results/compilable/issue15574/libcsquare.a
++ D_FILE=test_results/compilable/issue15574/square.d
++ D_LIB=test_results/compilable/issue15574/libdsquare.a
++ APP_FILE=test_results/compilable/issue15574/app.d
++ APP=test_results/compilable/issue15574/app
++ mkdir -p test_results/compilable/issue15574
++ cat
++ cat
++ cat
++ c++ -m64 -c -o test_results/compilable/issue15574/square.c.o
test_results/compilable/issue15574/square.c
++ ar rcs test_results/compilable/issue15574/libcsquare.a
test_results/compilable/issue15574/square.c.o
++ dmd/generated/linux/release/64/dmd -m64 -lib
-oftest_results/compilable/issue15574/libdsquare.a
test_results/compilable/issue15574/square.d
++ dmd/generated/linux/release/64/dmd -m64
-oftest_results/compilable/issue15574/app
test_results/compilable/issue15574/app.d -Itest_results/compilable/issue15574
test_results/compilable/issue15574/libdsquare.a
-L-Ltest_results/compilable/issue15574 -L-lcsquare
++ test_results/compilable/issue15574/app
+ finish 139
+ set +x
 TARGET FAILED: compilable/issue15574.sh
============================== Test compilable/issue19243.sh failed. The logged output: Error: program killed by signal 11 ============================== Test compilable/issue19243.sh failed. The xtrace output: + source compilable/issue19243.sh ++ [[ linux = *\w\i\n* ]] ++ [[ linux = *\f\r\e\e\b\s\d* ]] ++ '[' 1 == 0 ']' ++ TEST_DIR=test_results/compilable/issue19243 ++ ORIG_D=test_results/compilable/issue19243/orig.d ++ ORIG_SO=test_results/compilable/issue19243/liborig.so ++ OVERRIDE_D=test_results/compilable/issue19243/override.d ++ OVERRIDE_SO=test_results/compilable/issue19243/liboverride.so ++ APP_D=test_results/compilable/issue19243/app.d ++ mkdir -p test_results/compilable/issue19243 ++ cat ++ dmd/generated/linux/release/64/dmd -m64 -fPIC -shared -oftest_results/compilable/issue19243/liborig.so - ++ cat ++ dmd/generated/linux/release/64/dmd -m64 -fPIC -shared -oftest_results/compilable/issue19243/liboverride.so - ++ cat ++ LD_LIBRARY_PATH=test_results/compilable/issue19243 ++ dmd/generated/linux/release/64/dmd -m64 -L-Ltest_results/compilable/issue19243 -Ltest_results/compilable/issue19243/liboverride.so -run - + finish 1 + set +x
 TARGET FAILED: compilable/issue19243.sh
FAILED targets: - compilable/issue15574.sh - compilable/issue19243.sh make: *** [Makefile:191: run_compilable_tests] Error 1 --
Jul 13