NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/45718 (processes sometimes get stuck and spin in vm_map)

   Date: Sun, 15 Apr 2012 05:14:06 +1000
   From: matthew green <>

   this looks like the execargs pool leak that greg oster has a patch for.
   (reproduced below.)

   @@ -1991,6 +1991,8 @@ spawn_return(void *arg)

   +    execve_free_data(&spawn_data->sed_exec);

Isn't that code path reachable only if someone uses posix_spawn?
Certainly nothing in a 5.1 userland will use posix_spawn, and although
I suppose my having run the 6.99.4 tests in a chroot might have
triggered it, it wouldn't explain the earlier problem I reported,
because I believe I reported that before posix_spawn was imported.

Home | Main Index | Thread Index | Old Index