Bug 198462

Summary: The system stops calling SIGPROF handler after some time
Product: Base System Reporter: ikosarev
Component: kernAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Only Me CC: ikosarev
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 ikosarev 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 ikosarev 2015-03-09 17:58:23 UTC
Created attachment 154095 [details]
The VirtualBox config used to repoduce the defect.