[erlang-questions] weird problem with erl and ouput to stdout(?)

Justin Heesemann jh-erlang@REDACTED
Wed Jan 24 18:37:05 CET 2007


hi..
i've successfully compiled erlang on a amd64 with selinux/grsecurity kernel.
gcc version 4.1.1 (Gentoo 4.1.1-r1)
glibc version 2.4

now when i run "erl" for example, it simply segfaults.

# ./erl
Segmentation fault

funny thing is:
# ./erl | cat
Eshell V5.5.2  (abort with ^G)
1>

works just fine! and so it does, when i redirect the output of erl in any 
other way.. 

the last things the non working ( output to stdout) version does is:
stat("/usr/local/src/otp_src_R11B-2/lib/stdlib/ebin/io_lib_format.beam", 
{st_mode=S_IFREG|0644, st_size=193
84, ...}) = 0
open("/usr/local/src/otp_src_R11B-2/lib/stdlib/ebin/io_lib_format.beam", 
O_RDONLY) = 3
read(3, "FOR1\0\0K\260BEAMAtom\0\0\2d\0\0\0G\rio_lib_"..., 19384) = 19384
close(3)                                = 0
getcwd("/usr/local/src/otp_src_R11B-2/bin", 8191) = 34
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 10240 detached




oh.. and i tried it with hipe and without, with threads and without, with smp 
and without...


-- 
Justin



More information about the erlang-questions mailing list