https://bugs.kde.org/show_bug.cgi?id=498936

            Bug ID: 498936
           Summary: POSIX timer signal not being delivered
    Classification: Developer tools
           Product: valgrind
           Version: 3.24 GIT
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: taviana...@gmail.com
  Target Milestone: ---

Created attachment 177557
  --> https://bugs.kde.org/attachment.cgi?id=177557&action=edit
Test case

The attached test case creates a POSIX timer that should deliver SIGALRM every
100 microseconds, creates a background thread, blocks SIGALRM in the main
thread, and waits for the SIGALRM handler to fire 100 times.  This runs fine on
bare metal, but on valgrind it hangs forever:

$ gcc -g -Wall vgalrm.c -o vgalrm
$ ./vgalrm
$ valgrind ./vgalrm
==2019420== Memcheck, a memory error detector
==2019420== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==2019420== Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info
==2019420== Command: ./vgalrm
==2019420==

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to