Bug 198462 - The system stops calling SIGPROF handler after some time
Summary: The system stops calling SIGPROF handler after some time
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 17:57 UTC by ikosarev
Modified: 2017-04-23 18:26 UTC (History)
1 user (show)

See Also:


Attachments
The test source. (1.00 KB, text/plain)
2015-03-09 17:57 UTC, ikosarev
no flags Details
The VirtualBox config used to repoduce the defect. (7.68 KB, text/xml)
2015-03-09 17:58 UTC, ikosarev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.