linuxulator on -CURRENT
Divacky Roman
xdivac02 at stud.fit.vutbr.cz
Wed Sep 27 04:21:21 PDT 2006
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
More information about the freebsd-emulation
mailing list