public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/104743] New: [12 regression] gdc.dg/torture/pr96152.d FAILs
@ 2022-03-01 13:20 ro at gcc dot gnu.org
2022-03-01 14:01 ` [Bug d/104743] " rguenth at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 13:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104743
Bug ID: 104743
Summary: [12 regression] gdc.dg/torture/pr96152.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.dg/torture/pr96152.d test FAILs on 64-bit SPARC:
FAIL: gdc.dg/torture/pr96152.d -O0 execution test
FAIL: gdc.dg/torture/pr96152.d -O0 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O0 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O0 -g execution test
FAIL: gdc.dg/torture/pr96152.d -O1 execution test
FAIL: gdc.dg/torture/pr96152.d -O1 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O1 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O1 -g execution test
FAIL: gdc.dg/torture/pr96152.d -O2 execution test
FAIL: gdc.dg/torture/pr96152.d -O2 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O2 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O2 -g execution test
FAIL: gdc.dg/torture/pr96152.d -O3 execution test
FAIL: gdc.dg/torture/pr96152.d -O3 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O3 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O3 -g execution test
FAIL: gdc.dg/torture/pr96152.d -Os execution test
FAIL: gdc.dg/torture/pr96152.d -Os -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -Os -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -Os -g execution test
Segmentation fault while running unittests:
----------------
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:572 extern
(C) void core.runtime.runModuleUnitTests().unittestSegvHandler(int,
core.sys.posix.signal.siginfo_t*, void*) [0x10009643b]
??:? __sighndlr [0xffffffff7e8dda27]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/lifetime.d:1121
_d_newitemU [0x1000870d4]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:214 void*
rt.aaA.allocEntry(scope const(rt.aaA.Implconst *), void*) [0x10007b83f]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:767
_d_assocarrayliteralTX [0x10007c82b]
??:? pure @trusted void*
object.aaLiteral!(pr96152.__unittest_L20_C7().ThrowingElement,
int).aaLiteral(pr96152.__unittest_L20_C7().ThrowingElement[], int[])
[0x10007afbb]
??:? pure @safe int[pr96152.__unittest_L20_C7().ThrowingElement]
pr96152.assocArray!(pr96152.__unittest_L20_C7().ThrowingElement[],
int[]).assocArray(pr96152.__unittest_L20_C7().ThrowingElement[], int[])
[0x10007af2f]
??:? @safe void pr96152.__unittest_L20_C7() [0x10007abb7]
??:? void pr96152.__modtest() [0x10007aff3]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:641
__foreachbody6 [0x10009624f]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/object.d:2268 __lambda2
[0x10008e8c7]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/minfo.d:777
__foreachbody2 [0x10008a89f]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/sections/elf.d:106 int
gcc.sections.elf.DSO.opApply(scope int delegate(ref gcc.sections.elf.DSO))
[0x10007efd3]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/minfo.d:770 int
rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*)))
[0x10008bcf7]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/object.d:2267 int
object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)) [0x10008ffef]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:629
runModuleUnitTests [0x100096933]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:493 runAll
[0x10007e873]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:467 tryExec
[0x10007eafb]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:526 _d_run_main2
[0x10007eafb]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:318 _d_run_main
[0x10007ec4b]
??:? main [0x10007b1cf]
??:? _start [0x10007a90b]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug d/104743] [12 regression] gdc.dg/torture/pr96152.d FAILs
2022-03-01 13:20 [Bug d/104743] New: [12 regression] gdc.dg/torture/pr96152.d FAILs ro at gcc dot gnu.org
@ 2022-03-01 14:01 ` rguenth at gcc dot gnu.org
2022-03-01 21:45 ` ibuclaw at gdcproject dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-01 14:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104743
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug d/104743] [12 regression] gdc.dg/torture/pr96152.d FAILs
2022-03-01 13:20 [Bug d/104743] New: [12 regression] gdc.dg/torture/pr96152.d FAILs ro at gcc dot gnu.org
2022-03-01 14:01 ` [Bug d/104743] " rguenth at gcc dot gnu.org
@ 2022-03-01 21:45 ` ibuclaw at gdcproject dot org
2022-03-02 9:47 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-03-04 12:41 ` ibuclaw at gdcproject dot org
3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-03-01 21:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104743
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Does anything change if you compile the test with
`-ftrivial-auto-var-init=zero` ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug d/104743] [12 regression] gdc.dg/torture/pr96152.d FAILs
2022-03-01 13:20 [Bug d/104743] New: [12 regression] gdc.dg/torture/pr96152.d FAILs ro at gcc dot gnu.org
2022-03-01 14:01 ` [Bug d/104743] " rguenth at gcc dot gnu.org
2022-03-01 21:45 ` ibuclaw at gdcproject dot org
@ 2022-03-02 9:47 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-03-04 12:41 ` ibuclaw at gdcproject dot org
3 siblings, 0 replies; 5+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2022-03-02 9:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104743
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
> Does anything change if you compile the test with
> `-ftrivial-auto-var-init=zero` ?
No, the test fails just the same.
gdb shows
Thread 2 received signal SIGBUS, Bus error.
[Switching to Thread 1 (LWP 1)]
_d_newitemU (_ti=0xffffffff7f1f3000) 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=0xffffffff7f1f3000) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/lifetime.d:1110
#1 0x000000010007bd64 in rt.aaA.allocEntry(scope const(rt.aaA.Impl*), scope
const(void*)) (aa=0xffffffff7f1f2000, pkey=0xffffffff7f1f0000) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:214
#2 0x000000010007cd14 in _d_assocarrayliteralTX (ti=0x100071db8 <initializer
for TypeInfo_HS7pr9615217__unittest_L20_C7FNfZ15ThrowingElementi>, keys=...,
vals=...) at /vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:767
#3 0x000000010007b57c in
object.aaLiteral!(pr96152.__unittest_L20_C7().ThrowingElement,
int).aaLiteral(pr96152.__unittest_L20_C7().ThrowingElement[], int[]) (keys=...,
values=...) at /vol/gcc/src/hg/master/local/libphobos/libdruntime/object.d:2868
...
1: x/i $pc
=> 0x100087080 <_d_newitemU+100>: clrx [ %o0 + %i2 ]
(gdb) p/x $o0 + $i2
$3 = 0xffffffff7f1f0054
i.e. the address isn't properly 8-byte aligned as required on a
strict-alignment target like SPARC.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug d/104743] [12 regression] gdc.dg/torture/pr96152.d FAILs
2022-03-01 13:20 [Bug d/104743] New: [12 regression] gdc.dg/torture/pr96152.d FAILs ro at gcc dot gnu.org
` (2 preceding siblings ...)
2022-03-02 9:47 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2022-03-04 12:41 ` ibuclaw at gdcproject dot org
3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-03-04 12:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104743
Iain Buclaw <ibuclaw at gdcproject dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Confirmed is a duplicate.
*** This bug has been marked as a duplicate of bug 104745 ***
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-03-04 12:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 13:20 [Bug d/104743] New: [12 regression] gdc.dg/torture/pr96152.d FAILs ro at gcc dot gnu.org
2022-03-01 14:01 ` [Bug d/104743] " rguenth at gcc dot gnu.org
2022-03-01 21:45 ` ibuclaw at gdcproject dot org
2022-03-02 9:47 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-03-04 12:41 ` ibuclaw at gdcproject dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).