Bug 198462

Summary: The system stops calling SIGPROF handler after some time
Product: Base System Reporter: Ivan Kosarev <ivan>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: ivan
Priority: ---    
Version: 10.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
The test source.
none
The VirtualBox config used to repoduce the defect. none

Description Ivan Kosarev 2015-03-09 17:57:22 UTC
Created attachment 154094 [details]
The test source.

The output of the attached test indicates that after about a minute of run the system doesn't call the SIGPROF handler anymore. The test works as expected on Linux.

How to reproduce:
$ gcc test.cc  # or clang test.cc
$ ./a.out

Actual output:
0
1
2
3
...
*0
*1
*2
*3
...

Expected output:
0
1
2
3
...
(with rare inclusions of the asterix-prefixed lines).
Comment 1 Ivan Kosarev 2015-03-09 17:58:23 UTC
Created attachment 154095 [details]
The VirtualBox config used to repoduce the defect.