public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc
@ 2023-11-15  9:12 redi at gcc dot gnu.org
  2023-11-15  9:13 ` [Bug libstdc++/112541] " redi at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2023-11-15  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

            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/libstdc++-v3/testsuite/19_diagnostics/stacktrace/current.cc:52:
test_max_depth()::<lambda()>::<lambda()>::<lambda()>::<lambda()>::<lambda()>::<lambda()>::<lambda()>::<lambda()>:
Assertion '! t.empty()' failed.
timeout: the monitored command dumped core
FAIL: 19_diagnostics/stacktrace/current.cc  -std=gnu++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=gnu++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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc
  2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
@ 2023-11-15  9:13 ` redi at gcc dot gnu.org
  2023-11-15 11:28 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2023-11-15  9:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-11-15
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc
  2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
  2023-11-15  9:13 ` [Bug libstdc++/112541] " redi at gcc dot gnu.org
@ 2023-11-15 11:28 ` cvs-commit at gcc dot gnu.org
  2023-11-15 11:32 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-11-15 11:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:cbd0fe22a5ced9751d2450dc4fd6fe3525c2fc02

commit r14-5484-gcbd0fe22a5ced9751d2450dc4fd6fe3525c2fc02
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Nov 15 09:17:49 2023 +0000

    libstdc++: std::stacktrace tweaks

    Fix a typo in a string literal and make the new hash.cc test gracefully
    handle missing stacktrace data (see PR 112541).

    libstdc++-v3/ChangeLog:

            * include/std/stacktrace (basic_stacktrace::at): Fix class name
            in exception message.
            * testsuite/19_diagnostics/stacktrace/hash.cc: Do not fail if
            current() returns a non-empty stacktrace.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc
  2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
  2023-11-15  9:13 ` [Bug libstdc++/112541] " redi at gcc dot gnu.org
  2023-11-15 11:28 ` cvs-commit at gcc dot gnu.org
@ 2023-11-15 11:32 ` cvs-commit at gcc dot gnu.org
  2023-11-15 11:34 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-11-15 11:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:b51b9e0861548e4b7a77f1d2cfcecb26440a0859

commit r13-8071-gb51b9e0861548e4b7a77f1d2cfcecb26440a0859
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Nov 15 09:17:49 2023 +0000

    libstdc++: std::stacktrace tweaks

    Fix a typo in a string literal and make the new hash.cc test gracefully
    handle missing stacktrace data (see PR 112541).

    libstdc++-v3/ChangeLog:

            * include/std/stacktrace (basic_stacktrace::at): Fix class name
            in exception message.
            * testsuite/19_diagnostics/stacktrace/hash.cc: Do not fail if
            current() returns a non-empty stacktrace.

    (cherry picked from commit cbd0fe22a5ced9751d2450dc4fd6fe3525c2fc02)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc
  2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-11-15 11:32 ` cvs-commit at gcc dot gnu.org
@ 2023-11-15 11:34 ` cvs-commit at gcc dot gnu.org
  2023-11-20 11:47 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-11-15 11:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:c665769c90f6e3844e6aad7b183480dfe2e7d8cc

commit r12-9981-gc665769c90f6e3844e6aad7b183480dfe2e7d8cc
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Nov 15 09:17:49 2023 +0000

    libstdc++: std::stacktrace tweaks

    Fix a typo in a string literal and make the new hash.cc test gracefully
    handle missing stacktrace data (see PR 112541).

    libstdc++-v3/ChangeLog:

            * include/std/stacktrace (basic_stacktrace::at): Fix class name
            in exception message.
            * testsuite/19_diagnostics/stacktrace/hash.cc: Do not fail if
            current() returns a non-empty stacktrace.

    (cherry picked from commit cbd0fe22a5ced9751d2450dc4fd6fe3525c2fc02)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc
  2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-11-15 11:34 ` cvs-commit at gcc dot gnu.org
@ 2023-11-20 11:47 ` redi at gcc dot gnu.org
  2023-11-20 11:48 ` redi at gcc dot gnu.org
  2023-11-23 16:36 ` redi at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2023-11-20 11:47 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|armv8l-unknown-linux-gnueab |
                   |ihf                         |

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Also seen on cris-elf and m68k-linux so not specific to
armv8l-unknown-linux-gnueabihf

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc
  2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2023-11-20 11:47 ` redi at gcc dot gnu.org
@ 2023-11-20 11:48 ` redi at gcc dot gnu.org
  2023-11-23 16:36 ` redi at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2023-11-20 11:48 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 112630 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc
  2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2023-11-20 11:48 ` redi at gcc dot gnu.org
@ 2023-11-23 16:36 ` redi at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2023-11-23 16:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
dup

*** This bug has been marked as a duplicate of bug 111641 ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-23 16:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15  9:12 [Bug libstdc++/112541] New: FAIL: 19_diagnostics/stacktrace/current.cc redi at gcc dot gnu.org
2023-11-15  9:13 ` [Bug libstdc++/112541] " redi at gcc dot gnu.org
2023-11-15 11:28 ` cvs-commit at gcc dot gnu.org
2023-11-15 11:32 ` cvs-commit at gcc dot gnu.org
2023-11-15 11:34 ` cvs-commit at gcc dot gnu.org
2023-11-20 11:47 ` redi at gcc dot gnu.org
2023-11-20 11:48 ` redi at gcc dot gnu.org
2023-11-23 16:36 ` redi at gcc dot gnu.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).