Date: Wed, 27 Sep 2006 13:21:17 +0200 From: Divacky Roman <xdivac02@stud.fit.vutbr.cz> To: Jung-uk Kim <jkim@freebsd.org> Cc: freebsd-emulation@freebsd.org Subject: Re: linuxulator on -CURRENT Message-ID: <20060927112117.GA69141@stud.fit.vutbr.cz> In-Reply-To: <200609261733.48398.jkim@FreeBSD.org> References: <200609261733.48398.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 26, 2006 at 05:33:44PM -0400, Jung-uk Kim wrote: > I was little annoyed by linuxulator breakage on amd64, which fails to > run Acrobat Reader. (Well, actually it's not Acrobat's fault. It's > just that wrapper is failing. If you run 'sh /usr/X11R6/bin/acroread' > instead, it runs okay.) All seem to boil down to one problem: > > %cat test.sh > #!/usr/compat/linux/bin/sh > bar=`true` > foo=`false` > %sh -x test.sh > + true > + bar= > + false > + foo= > %/compat/linux/bin/sh -x test.sh > ++ true > Segmentation fault (core dumped) > > linux_kdump shows this: > > 16618 bash PSIG SIGCHLD caught handler=0x807871f mask=0x0 code=0x0 > 16618 bash CALL linux_waitpid(0xffffffff,0xffffcc7c,0x1) > 16618 bash RET linux_waitpid 16619/0x40eb > 16618 bash CALL linux_waitpid(0xffffffff,0xffffcc7c,0x1) > 16618 bash RET linux_waitpid -1 errno 10 No child processes > 16618 bash PSIG SIGSEGV SIG_DFL > 16618 bash NAMI "bash.core" 1) arent true and false bash builtins? 2) can you compile it with -DDEBUG and show us the trace.. I wonder why the child dies. and the trace could show it. thnx roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060927112117.GA69141>