public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/98680] New: Several 30_threads tests are flaky @ 2021-01-14 12:33 ro at gcc dot gnu.org 2021-01-14 12:33 ` [Bug libstdc++/98680] " ro at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: ro at gcc dot gnu.org @ 2021-01-14 12:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98680 Bug ID: 98680 Summary: Several 30_threads tests are flaky Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: i386-pc-solaris2.11, sparc-sun-solaris2.11, i686-apple-darwin*, x86_64-apple-darwin*, hppa2.0w-hp-hpux11.11 Several 30_threads tests are flaky on Solaris, more often on Solaris/x86 but also on SPARC: For the last couple of days, the counts are like this: 11 30_threads/barrier/arrive_and_wait.cc execution test 11 30_threads/barrier/arrive_and_wait.cc execution test program timed out. 1 30_threads/barrier/arrive.cc execution test 1 30_threads/barrier/arrive.cc execution test program timed out. 20 30_threads/barrier/completion.cc execution test 20 30_threads/barrier/completion.cc execution test program timed out. 14 30_threads/latch/3.cc execution test 14 30_threads/latch/3.cc execution test program timed out. 1 30_threads/semaphore/try_acquire_for.cc execution test 1 30_threads/semaphore/try_acquire_for.cc execution test program timed out. 5 30_threads/semaphore/try_acquire_until.cc execution test 5 30_threads/semaphore/try_acquire_until.cc execution test program timed out. At least Darwin and HP-UX are likewise affected; I haven't looked closer for possible others. As an example, I ran arrive_and_wait.exe for ca. 100 times with the following timing: 93 real 0.01 1 real 0.73 1 real 0.95 1 real 1.03 1 real 1:13.00 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/98680] Several 30_threads tests are flaky 2021-01-14 12:33 [Bug libstdc++/98680] New: Several 30_threads tests are flaky ro at gcc dot gnu.org @ 2021-01-14 12:33 ` ro at gcc dot gnu.org 2021-01-14 13:02 ` redi at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: ro at gcc dot gnu.org @ 2021-01-14 12:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98680 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/98680] Several 30_threads tests are flaky 2021-01-14 12:33 [Bug libstdc++/98680] New: Several 30_threads tests are flaky ro at gcc dot gnu.org 2021-01-14 12:33 ` [Bug libstdc++/98680] " ro at gcc dot gnu.org @ 2021-01-14 13:02 ` redi at gcc dot gnu.org 2021-01-14 13:34 ` ro at CeBiTec dot Uni-Bielefeld.DE ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: redi at gcc dot gnu.org @ 2021-01-14 13:02 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98680 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-01-14 CC| |rodgertq at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, as noted in Bug 97936 comment 12. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/98680] Several 30_threads tests are flaky 2021-01-14 12:33 [Bug libstdc++/98680] New: Several 30_threads tests are flaky ro at gcc dot gnu.org 2021-01-14 12:33 ` [Bug libstdc++/98680] " ro at gcc dot gnu.org 2021-01-14 13:02 ` redi at gcc dot gnu.org @ 2021-01-14 13:34 ` ro at CeBiTec dot Uni-Bielefeld.DE 2021-04-27 11:40 ` jakub at gcc dot gnu.org 2021-04-27 13:05 ` redi at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2021-01-14 13:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98680 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- I've just ran arrive_and_wait.exe a 1000 times, and (at least so far) one instance not only didn't complete within the testsuite's 5 minute timeout, but hang for an hour, so probably deadlocked with this stack trace: 18570: ./arrive_and_wait.exe ------------ lwp# 1 / thread# 1 --------------- fe272989 lwp_park (0, 0, 0) fe26aca7 cond_wait_queue (8062e5c, 8062e44, 0, fe26b22e) + 67 fe26b2ab __cond_wait (8062e5c, 8062e44, feffd938, fe26b2f6) + 8b fe26b304 cond_wait (8062e5c, 8062e44, 0, fe26b34c) + 24 fe26b361 pthread_cond_wait (8062e5c, 8062e44, c70f6907, 8051bdd, fe432a74, fe60dc18) + 21 08051c7c ???????? (feffd9f0, feffd9fd, feffda04, 805221a) 08052351 main (feffdb3c, feffda34, 8051a1d) + 1e1 (arrive_and_wait.cc:43) 08051986 _start (1, feffdbb8, 0, feffdbce, feffdbee, feffdc08) + 46 ------------ lwp# 2 / thread# 2 --------------- fe272989 lwp_park (0, 0, 0) fe26aca7 cond_wait_queue (8062e5c, 8062e44, 0, fe26b22e) + 67 fe26b2ab __cond_wait (8062e5c, 8062e44, fe09ee98, fe26b2f6) + 8b fe26b304 cond_wait (8062e5c, 8062e44, b803fa4, fe26b34c) + 24 fe26b361 pthread_cond_wait (8062e5c, 8062e44, c70f6907, 8051bdd, fe0c51d8, 1000000) + 21 08051c7c ???????? (feffd9f0, feffd9fd, fe269c02, 8051ee3) 08052034 std::thread::_State_impl<std::thread::_Invoker<std::tuple<main::{lambda()#1}> > >::_M_run() (8067d28, 0, 0, 8, 200, 7) + 184 (arrive_and_wait.cc:40) fe516a2d execute_native_thread_routine (8067d28, fe2c3000, fe09efc8, fe272587) + 1d (unique_ptr.h:85) fe2725db _thrp_setup (fe2f0240) + 9b fe272930 _lwp_start (0, 0, 0, 0, 0, 0) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/98680] Several 30_threads tests are flaky 2021-01-14 12:33 [Bug libstdc++/98680] New: Several 30_threads tests are flaky ro at gcc dot gnu.org ` (2 preceding siblings ...) 2021-01-14 13:34 ` ro at CeBiTec dot Uni-Bielefeld.DE @ 2021-04-27 11:40 ` jakub at gcc dot gnu.org 2021-04-27 13:05 ` redi at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2021-04-27 11:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98680 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|11.0 |11.2 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 11.1 has been released, retargeting bugs to GCC 11.2. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/98680] Several 30_threads tests are flaky 2021-01-14 12:33 [Bug libstdc++/98680] New: Several 30_threads tests are flaky ro at gcc dot gnu.org ` (3 preceding siblings ...) 2021-04-27 11:40 ` jakub at gcc dot gnu.org @ 2021-04-27 13:05 ` redi at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: redi at gcc dot gnu.org @ 2021-04-27 13:05 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98680 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|11.2 |11.0 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- This should be fixed now, please reopen if not. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-27 13:05 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-01-14 12:33 [Bug libstdc++/98680] New: Several 30_threads tests are flaky ro at gcc dot gnu.org 2021-01-14 12:33 ` [Bug libstdc++/98680] " ro at gcc dot gnu.org 2021-01-14 13:02 ` redi at gcc dot gnu.org 2021-01-14 13:34 ` ro at CeBiTec dot Uni-Bielefeld.DE 2021-04-27 11:40 ` jakub at gcc dot gnu.org 2021-04-27 13:05 ` 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).