Re: Re: Debugging help for fork failure: resource temporarily unavailable

2011-04-13 Thread Ryan Johnson
On 2:59 PM, Jon TURNEY wrote: On 15/03/2011 13:53, Ryan Johnson wrote: All of this assumes Windows is consistent in choosing locations when conflicts It's assumed that CreateProcess() produces the same layout, yes. This assumption is due to what? - Documented Windows feature? - An observation

Re: Re: Re: Debugging help for fork failure: resource temporarily unavailable

2011-04-13 Thread Ryan Johnson
On 2:59 PM, Ryan Johnson wrote: On 2:59 PM, Jon TURNEY wrote: I look forward to reading your patches :-) I think it's still rather premature to be cooking up a patch, unfortunately -- I'm not convinced I know yet where the real problem lies. Without some data to back up my speculation (which

Re: Re: Debugging help for fork failure: resource temporarily unavailable

2011-03-15 Thread Ryan Johnson
On 2:59 PM, Jon TURNEY wrote: On 09/03/2011 17:04, Ryan Johnson wrote BTW, while looking at the code I noticed a potential source of remap problems: if B depends on A, and we remap A first, then only A's location will be checked carefully; B will be pulled in wherever it happens to end up when

Re: Re: Debugging help for fork failure: resource temporarily unavailable

2011-03-09 Thread Ryan Johnson
On 2:59 PM, Corinna Vinschen wrote: On Mar 5 17:15, Ryan Johnson wrote: Might it be possible to do an LD_PRELOAD of some sort which hooks into fork() at the critical moment and prints the differences between /proc/$parent/maps and /proc/$child/maps? The code doesn't even need to be efficient;