#13081: Can only run any program a limited number of times before hanging
----------------------+--------------------------------------
Reporter: AGMS | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System | Version: R1/Development
Resolution: | Keywords: relocate_image, system()
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------+--------------------------------------
Comment (by AGMS):
It happens less often on real hardware. I was using VirtualBox on a Linux
system with background CPU usage at full use by another program (running
at a "nice" low priority).
I found that running about 10 parallel tests (10 Terminal windows open,
stdout redirected to /dev/null) does make it happen faster on real
hardware. Same failure point in relocate_image.
By the way, is program loading single threaded? I can open several
windows to run the test on a 4 core machine, but it maxes out at 1 core
equivalent of CPU usage.
It would also be nice if load_image() returned after you kill a partially
loaded but not yet running dead child program. Right now the parent
remains stuck even after the child is killed and disappears from the
ProcessController thread listing.
--
Ticket URL: <https://dev.haiku-os.org/ticket/13081#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.