The following commands work fine:
sfs_code 1 1 -N 500 -n 500 -t 1e-05 -L 1 10000 -B 0 -TE 20
sfs_code 1 1 --ploidy 1 -N 500 -n 500 -t 1e-05 -L 1 10000 -B 0 -TE 20
sfs_code 1 1 -N 500 -n 500 -t 1e-05 -L 1 10000 -B 0 -Tn 1 500 -TE 20
but the following command fails:
sfs_code 1 1 --ploidy 1 -N 500 -n 500 -t 1e-05 -L 1 10000 -B 0 -Tn 1 500 -TE 20
with error
0 [main] sfs_code 6140 cygwin_exception::open_stackdumpfile: Dumping stack trace to sfs_code.exe.stackdump
The above is from Windows, where sfs_code was compiled with cygwin. A similar error was obtained on Linux (Segementation fault (core dumped)).
Anonymous