https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104745

            Bug ID: 104745
           Summary: [12 regression] gdc.test/runnable/testaa.d FAILs
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc*-sun-solaris2.11

Since 20211130, the gdc.test/runnable/testaa.d test FAILs on 64-bit SPARC:

+FAIL: gdc.test/runnable/testaa.d   execution test
+FAIL: gdc.test/runnable/testaa.d -fPIC   execution test
+FAIL: gdc.test/runnable/testaa.d -fPIC -shared-libphobos   execution test
+FAIL: gdc.test/runnable/testaa.d -shared-libphobos   execution test

Thread 2 received signal SIGBUS, Bus error.
[Switching to Thread 1 (LWP 1)]
_d_newitemU (_ti=0xffffffff7f1f26e0) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/lifetime.d:1110
1110            *cast(TypeInfo*)(p + itemSize) = null; // the GC might not have
cleared this area
(gdb) bt
#0  _d_newitemU (_ti=0xffffffff7f1f26e0) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/lifetime.d:1110
#1  0x0000000100176fa4 in rt.aaA.allocEntry(scope const(rt.aaA.Impl*), scope
const(void*)) (aa=0xffffffff7f1f03c0, pkey=0xffffffff7fffe358) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:214
#2  0x000000010017786c in _aaGetX (paa=<optimized out>, ti=0x1000ff8f8
<initializer for TypeInfo_HAyaS6testaa__T10Array10970TCQy6C10970ZQy>,
valsz=<optimized out>, pkey=0xffffffff7fffe358, found=<optimized out>) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:563
#3  0x0000000100177940 in _aaGetY (paa=0xffffffff7d399610, ti=0x1000ff8f8
<initializer for TypeInfo_HAyaS6testaa__T10Array10970TCQy6C10970ZQy>, valsz=1,
pkey=0xffffffff7fffe358) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:511
#4  0x000000010011dbfc in testaa.C10970.this(immutable(char)[]) ()
#5  0x000000010011dc98 in testaa.test10970() ()
#6  0x0000000100120324 in D main ()

This could well be another instance of PR d/104743.

Reply via email to