[Issue 21082] New: Testsuite fails on OSX (runnable/test16096.sh with asserts on)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 28 03:38:56 UTC 2020


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

          Issue ID: 21082
           Summary: Testsuite fails on OSX (runnable/test16096.sh with
                    asserts on)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Keywords: TestSuite
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: pro.mathias.lang at gmail.com

```
 ... runnable/test16096.sh
==============================
Test runnable/test16096.sh failed. The logged output:
runnable/extra-files/test16096a.d(6): Deprecation: interface `test16096a.Class`
Objective-C interfaces have been deprecated
runnable/extra-files/test16096a.d(6):        Representing an Objective-C class
as a D interface has been deprecated. Please use `extern (Objective-C) extern
class` instead
runnable/extra-files/test16096a.d(12): Deprecation: interface
`test16096a.NSObject` Objective-C interfaces have been deprecated
runnable/extra-files/test16096a.d(12):        Representing an Objective-C class
as a D interface has been deprecated. Please use `extern (Objective-C) extern
class` instead
uncaught exception
core.exception.AssertError at dmd/backend/barray.d(172): Assertion failure
----------------
??:? _d_assertp [0x10194919d]
dmd/access.d:394 _ZN6RarrayIP8seg_dataEixEm [0x10186a03e]
dmd/access.d:394 _Z6Offseti [0x10186c19d]
/Users/geod24/projects/dlang/dmd/src/dmd/backend/bcomplex.d:275
_Z14Obj_data_startP6Symbolyi [0x101938a22]
dmd/access.d:394 _ZN3Obj10data_startEP6Symbolyi [0x10186d716]
/Users/geod24/projects/dlang/dmd/src/dmd/backend/bcomplex.d:275
_Z7outdataP6Symbol [0x1018a5e37]
dmd/access.d:394 dmd.backend.cc.Symbol* dmd.objc_glue.Symbols.getModuleInfo(ref
dmd.root.array.Array!(dmd.dclass.ClassDeclaration).Array, ref
dmd.root.array.Array!(dmd.dclass.ClassDeclaration).Array) [0x101856305]
dmd/access.d:394 _ZN9Supported18generateModuleInfoEP6Module [0x101855261]
dmd/access.d:394 _Z10genObjFileP6Moduleb [0x1018524a7]
dmd/access.d:394 _Z18obj_write_deferredP7Library [0x1018514d0]
dmd/access.d:394 int dmd.mars.tryMain(ulong, const(char)**, ref
dmd.globals.Param) [0x1017afae8]
dmd/access.d:394 _Dmain [0x1017b0863]
runnable/test16096.sh: line 8: 63062 Abort trap: 6           $DMD
-I${EXTRA_FILES} -of${OUTPUT_BASE}${LIBEXT} -lib ${EXTRA_FILES}/test16096a.d
```

This does now show up on the auto-tester because we don't have anything that
tests with assert on on OSX.

--


More information about the Digitalmars-d-bugs mailing list