public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/97936] New: [11 Regression] 30_threads/latch/3.cc hangs
@ 2020-11-22  0:34 hjl.tools at gmail dot com
  2020-11-22  0:43 ` [Bug libstdc++/97936] " redi at gcc dot gnu.org
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: hjl.tools at gmail dot com @ 2020-11-22  0:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97936
           Summary: [11 Regression] 30_threads/latch/3.cc hangs
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On Linux/x86-64 with 96 cores, r11-5227 with -m32 compiles30_threads/latch/3.cc
into:

2850299 hjl       20   0   23804   2364   2192 R  99.7   0.0 240:37.77 3.exe

(gdb) bt
#0  0xf7f9155d in __kernel_vsyscall ()
#1  0xf7babd7b in syscall () from /lib/libc.so.6
#2  0x08049566 in std::__detail::__platform_wait<int> (__val=<optimized out>, 
    __addr=<optimized out>)
    at
/export/gnu/import/git/gcc-test-master-intel64-native/bld/x86_64-pc-linux-gnu/32/libstdc++-v3/include/bits/atomic_wait.h:99
#3  std::__atomic_wait<int, std::latch::wait() const::{lambda()#1}>(int const*,
int, std::latch::wait() const::{lambda()#1}) (__addr=0xff85ea30, __old=1, 
    __pred=...)
    at
/export/gnu/import/git/gcc-test-master-intel64-native/bld/x86_64-pc-linux-gnu/32/libstdc++-v3/include/bits/atomic_wait.h:276
#4  0x08049883 in std::latch::wait (this=0xff85ea30)
    at
/export/gnu/import/git/gcc-test-master-intel64-native/bld/x86_64-pc-linux-gnu/32/libstdc++-v3/include/latch:75
#5  std::latch::arrive_and_wait (__update=1, this=0xff85ea30)
    at
/export/gnu/import/git/gcc-test-master-intel64-native/bld/x86_64-pc-linux-gnu/32/libstdc++-v3/include/latch:82
#6  test01 ()
    at
/export/gnu/import/git/gcc-test-master-intel64-native/src-master/libstdc++-v3/testsuite/30_threads/latch/3.cc:43
#7  0x080492ef in main ()
    at
/export/gnu/import/git/gcc-test-master-intel64-native/src-master/libstdc++-v3/testsuite/30_threads/latch/3.cc:66
(gdb) 

futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xff85ea30, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource
temporarily unavailable)

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

end of thread, other threads:[~2023-04-27 13:03 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-22  0:34 [Bug libstdc++/97936] New: [11 Regression] 30_threads/latch/3.cc hangs hjl.tools at gmail dot com
2020-11-22  0:43 ` [Bug libstdc++/97936] " redi at gcc dot gnu.org
2020-11-22  0:44 ` hjl.tools at gmail dot com
2020-11-22 13:17 ` hjl.tools at gmail dot com
2020-11-22 13:19 ` hjl.tools at gmail dot com
2020-11-23  7:33 ` rguenth at gcc dot gnu.org
2020-11-24 23:41 ` cvs-commit at gcc dot gnu.org
2020-11-25  1:30 ` redi at gcc dot gnu.org
2020-11-25 10:33 ` cvs-commit at gcc dot gnu.org
2020-11-25 11:01 ` redi at gcc dot gnu.org
2020-11-25 12:32 ` cvs-commit at gcc dot gnu.org
2020-11-25 18:37 ` cvs-commit at gcc dot gnu.org
2020-11-25 18:43 ` redi at gcc dot gnu.org
2020-11-26 16:25 ` cvs-commit at gcc dot gnu.org
2020-11-27 10:56 ` redi at gcc dot gnu.org
2021-01-18  3:36 ` florin at iucha dot net
2021-01-18  3:38 ` florin at iucha dot net
2021-04-09  7:58 ` rguenth at gcc dot gnu.org
2021-04-09 17:23 ` rodgertq at gcc dot gnu.org
2021-04-27 11:39 ` [Bug libstdc++/97936] [11/12 " jakub at gcc dot gnu.org
2021-04-27 12:03 ` redi at gcc dot gnu.org
2022-06-21 15:12 ` sumbera at volny dot cz
2022-07-06  1:15 ` rodgertq at gcc dot gnu.org
2023-04-27 13:03 ` 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).