Opened 12 years ago
Closed 11 years ago
#9686 closed bug (fixed)
"vfork: Invalid Argument" while executing processes that involve large amounts of fork/exec
Reported by: | anevilyak | Owned by: | bonefish |
---|---|---|---|
Priority: | high | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | ASLR PAE | Cc: | |
Blocked By: | Blocking: | #9752 | |
Platform: | All |
Description
Since the ASLR changes, attempting a jam -qj8 build of Haiku under Haiku itself frequently fails with the above error message. Rerunning the command works for a while longer, then eventually fails again the same way. Nothing of interest shows up in syslog though, and I've been unable to reproduce it while running with strace so I assume a race of some form is involved. Hardware here is a quad core i7 w/ hyperthreading and 8GB of RAM, ergo PAE is active.
Change History (10)
comment:1 by , 12 years ago
Status: | new → in-progress |
---|
follow-up: 3 comment:2 by , 12 years ago
comment:3 by , 12 years ago
comment:4 by , 12 years ago
Keywords: | ASLR PAE added |
---|
comment:5 by , 11 years ago
Since the ASLR changes, mmap will map over existing areas (particularly those at the top of the user address space -- commpage and thread stacks) if you request a large enough mapping. If the area insertion logic is broken, that could be the cause of both these issues.
You can reproduce this by mapping a few large anonymous areas (500MB+).
comment:6 by , 11 years ago
Blocking: | 9752 added |
---|
comment:7 by , 11 years ago
comment:8 by , 11 years ago
Unfortunately it is still observed on hrev45711. :-(
PS: building Haiku on Haiku platform with -j 8 is the way to provoke this issue.
I have a real problem reproducing that error (only one out of several builds failed). Hopefully fixed in hrev45550. Please confirm.