From: "Serge E. Hallyn" Subject: Re: [PATCH 1/2][cryo] Save/restore state of unnamed pipes Date: Tue, 24 Jun 2008 14:36:59 -0500 Message-ID: <20080624193659.GB27816@us.ibm.com> References: <20080624032343.GA27394@us.ibm.com> <20080624032536.GA27493@us.ibm.com> <20080624161531.GC14761@us.ibm.com> <20080624173804.GB26945@us.ibm.com> <20080624175853.GA17526@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20080624175853.GA17526-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org Cc: Containers List-Id: containers.vger.kernel.org Quoting sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org (sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org): > Serge E. Hallyn [serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org] wrote: > | Quoting sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org (sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org): > | > | + } else > | > | + ERROR("Unexpected item, '%s'\n", item); > | > | + } > | > | + DEBUG("restore_fifo() fd %d, len %d, got 'END FIFO'\n", > | > | + fifofdinfo->fi_fd, fifofdinfo->fi_length); > | > | + return 0; > | > | +} > | > > | > fifofdinfo can be NULL if application does not have any fifos and > | > the above DEBUG() will SIGSEGV. Following updated patch fixes this. > | > Thanks Serge for reporting the bug. > | > | Thanks, Suka. This version works for both pipe and sleep testcases. > | > | Though, interestingly, it segfaults on the -lxc kernel. It succeeds on > | a recent -git from Linus' tree, though. > > I have been testing 2.6.25-mm1. > > I run into the semun_undo underflow bug with -lxc. Is that the same > bug you are running into ? I'm not sure... Not looking into it too deeply. Hopefully Kathy is coming out with a new -lxc in the next few days, and if it still causes me problems then I'll really look into it. -serge