Re: Job control bug in revision 3800d4934391b,

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

 



On Fri, May 28, 2010 at 07:01:25PM -0400, Kris Maglione wrote:
>
> That's interesting. I've had three users complain about it so far. strace 
> is attached.

Thanks, I have reproduced it here now.  It looks like it only
happens occasionally on my system.

> [pid 23950] <... read resumed> 0x7fff75f098b7, 1) = ? ERESTARTSYS (To be restarted)
> [pid 23952] <... mmap resumed> )        = 0x2b185172f000
> [pid 23950] --- SIGCHLD (Child exited) @ 0 (0) ---
> [pid 23952] access("/etc/ld.so.preload", R_OK <unfinished ...>
> [pid 23950] rt_sigreturn(0x11 <unfinished ...>
> [pid 23952] <... access resumed> )      = -1 ENOENT (No such file or directory)
> [pid 23950] <... rt_sigreturn resumed> ) = -1 EINTR (Interrupted system call)
> [pid 23953] write(1, "good\n", 5 <unfinished ...>
> [pid 23952] open("/etc/ld.so.cache", O_RDONLY <unfinished ...>
> [pid 23950] exit_group(0)               = ?

So the crux of the issue is that SIGCHLD is causing read to fail
and the shell doing the read to exit.

I'll look into this.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux