From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B5773858C41; Wed, 15 Nov 2023 09:12:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B5773858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700039577; bh=MpUMf02c2kmeBrHbQ9sBLmCT6Vp+MiHcesawhzojwlg=; h=From:To:Subject:Date:From; b=H7t3rIVOXF+1DFgZNr3BQ7AM9xtQidKfWrmZnE3fvS4EnTscDsbm4/FpLcQOl3Ll6 FBJ+60tOzr5yE/Sti/9RA96+SqcHCyg0mGgKNTCei9OfJwkEq647+c6q/sevFEXimR 8xWucRj4CeK3PiKVjsvGuM9hfwYcyhcLqw4o5HrA= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc Date: Wed, 15 Nov 2023 09:12:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112541 Bug ID: 112541 Summary: FAIL: 19_diagnostics/stacktrace/current.cc Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- Target: armv8l-unknown-linux-gnueabihf /home/tcwg-buildslave/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/lib= stdc++-v3/testsuite/19_diagnostics/stacktrace/current.cc:52: test_max_depth()::::::::::::::::: Assertion '! t.empty()' failed. timeout: the monitored command dumped core FAIL: 19_diagnostics/stacktrace/current.cc -std=3Dgnu++23 execution test Also: terminate called after throwing an instance of 'std::out_of_range' what(): basic_stack_trace::at: bad frame number timeout: the monitored command dumped core FAIL: 19_diagnostics/stacktrace/entry.cc -std=3Dgnu++23 execution test It appears that __stacktrace_impl::_S_current returns an empty sequence of frames. It's possible that all the lambda frames are inlined, or skip+2 in stacktrace.cc causes us to skip real frames that we should keep, or maybe libbacktrace just doesn't work on this target.=