[erlang-questions] R15B segfaults in chroot environment

Attila Rajmund Nohl attila.r.nohl@REDACTED
Thu Feb 23 18:03:57 CET 2012


2012/2/23, Eric Merritt <ericbmerritt@REDACTED>:
> I thought I would post this out to the list, mostly for posterity. I
> have R15B running in ubuntu 11.10. Everything runs fine when erlang is
> run normally. However, if I try to run erlang in a chroot environment
> (namely pbuilder) I get a segfault. This *only* seems to happen in the
> chroot environment. I can solve this problem by adding the '-noinput'
> option to the command line.
>
> So:
>
>     $> erl
>     Segmentation fault
>     $> $?
>     139
>
> while:
>
>     $> erl -noinput
>
> works just fine

Just a crazy idea: do you have /dev/stdin in your chroot?



More information about the erlang-questions mailing list