• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ivmai / bdwgc / 1289
73%
master: 77%

Build:
Build:
LAST BUILD BRANCH: draft-travis
DEFAULT BRANCH: master
Ran 21 Apr 2022 06:27PM UTC
Jobs 1
Files 58
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Apr 2022 06:17PM UTC coverage: 72.86% (+0.1%) from 72.725%
1289

push

travis-ci-com

ivmai
Fix hang in select() called from suspend signal handler if TSan
(a cherry-pick of commits c207ad8ee, cae46fbdc from 'master')

Issue #236 (bdwgc).

Previously select() was used to sleep in the suspend signal handler
while the thread is manually suspended.  This is changed to use
sigsuspend() instead.  (But select() is still used for a reason when
the thread is self-suspended.)

* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_ENABLE_SUSPEND_THREAD] (GC_suspend_handler_inner): Remove
calls of GC_store_stack_ptr(), sem_post(), GC_suspend_self_inner(),
RESTORE_CANCEL() (dedicated to manual thread suspend).
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_ENABLE_SUSPEND_THREAD && E2K] (GC_suspend_handler_inner): Remove
backing_store_end and backing_store_ptr set and clear dedicated to
manual thread suspend.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_ENABLE_SUSPEND_THREAD] (GC_suspend_handler_inner): Do not return
quickly on a duplicate signal if suspend_cnt&1; repeat sigsuspend()
while suspend_cnt&1 and me->stop_info.ext_suspend_cnt is not updated.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_ENABLE_SUSPEND_THREAD] (GC_suspend_self_inner): Add
DISABLE_CANCEL() and RESTORE_CANCEL(); refine TODO item.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_ENABLE_SUSPEND_THREAD && DEBUG_THREADS] (GC_suspend_self_inner):
Log "suspend self" and "resume self" events.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_ENABLE_SUSPEND_THREAD] (GC_suspend_thread): Add assertion
that self thread is not suspended; replace sem_wait() in a loop to
suspend_restart_barrier(1).
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_ENABLE_SUSPEND_THREAD] (GC_resume_thread): Call
raise_signal(GC_sig_thr_restart) and suspend_restart_barrier(1).

7176 of 9849 relevant lines covered (72.86%)

10554373.01 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1289.4 (CONF_OPTIONS="--enable-gcov --enable-single-obj-compilation --enable-cplusplus --disable-shared --enable-gc-assertions" CFLAGS_EXTRA="-D USE_CUSTOM_SPECIFIC" CC_FOR_CHECK=g++ MAKEFILE_TARGETS="all" MAKEFILE_TARGETS_CHECK="check" NO_CLONE_LIBATOMIC_OPS=true REPORT_COVERAGE=true TESTS_CUSTOM_RUN=true) 21 Apr 2022 06:27PM UTC 0
72.86
Travis Job 1289.4
Source Files on build 1289
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1289
  • 94eb5251 on github
  • Prev Build on release-8_2 (#1282)
  • Next Build on release-8_2 (#1294)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc