https://bugs.kde.org/show_bug.cgi?id=435160
Bug ID: 435160 Summary: drd/tests/swapcontext.c: threads are interrupted in nanosleep Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: drd Assignee: bart.vanassche+...@gmail.com Reporter: yifan...@windriver.com Target Milestone: --- SUMMARY on yocto/oe-core qemux86-64 glibc 3.17.0 release: swapcontext.c fails because the threads were killed inside of nanosleep STEPS TO REPRODUCE OBSERVED RESULT ``` runqemu kvm valgrind --tool=drd --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 ./swapcontext ==277== drd, a thread error detector ==277== Copyright (C) 2006-2020, and GNU GPL'd, by Bart Van Assche. ==277== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info ==277== Command: ./swapcontext ==277== ==277== ==277== Process terminating with default action of signal 14 (SIGALRM) ==277== at 0x36C74C3943: clock_nanosleep@@GLIBC_2.17 (clock_nanosleep.c:43) ==277== by 0x36C74C8726: nanosleep (nanosleep.c:25) ==277== ==277== For lists of detected and suppressed errors, rerun with: -s ==277== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 26 from 2) Alarm clock ``` EXPECTED RESULT i think the test should pass because it generated 0 error. the nanosleep is called inside of f -- You are receiving this mail because: You are watching all bug changes.