Closed
Description
I'm on Linux Deepin ( Debian Jessie) using the bintray DEB package
Stack trace:
_strace ponyc
execve("/usr/bin/ponyc", ["ponyc"], [/* 59 vars */]) = 0
brk(NULL) = 0x3187000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad9f33f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=206760, ...}) = 0
mmap(NULL, 206760, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fad9f30c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=105088, ...}) = 0
mmap(NULL, 2200072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9ef06000
mprotect(0x7fad9ef1f000, 2093056, PROT_NONE) = 0
mmap(0x7fad9f11e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7fad9f11e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\315\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=170776, ...}) = 0
mmap(NULL, 2267936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9ecdc000
mprotect(0x7fad9ed02000, 2093056, PROT_NONE) = 0
mmap(0x7fad9ef01000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7fad9ef01000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340`\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135448, ...}) = 0
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9eabf000
mprotect(0x7fad9ead7000, 2093056, PROT_NONE) = 0
mmap(0x7fad9ecd6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fad9ecd6000
mmap(0x7fad9ecd8000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fad9ecd8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9e8bb000
mprotect(0x7fad9e8bd000, 2097152, PROT_NONE) = 0
mmap(0x7fad9eabd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fad9eabd000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\270\10\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1562040, ...}) = 0
mmap(NULL, 3670624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9e53a000
mprotect(0x7fad9e6ab000, 2097152, PROT_NONE) = 0
mmap(0x7fad9e8ab000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x171000) = 0x7fad9e8ab000
mmap(0x7fad9e8b7000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fad9e8b7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad9f30a000
mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9e236000
mprotect(0x7fad9e339000, 2093056, PROT_NONE) = 0
mmap(0x7fad9e538000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7fad9e538000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p*\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=89760, ...}) = 0
mmap(NULL, 2185552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9e020000
mprotect(0x7fad9e036000, 2093056, PROT_NONE) = 0
mmap(0x7fad9e235000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fad9e235000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\3\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1685264, ...}) = 0
mmap(NULL, 3791264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad9dc82000
mprotect(0x7fad9de17000, 2093056, PROT_NONE) = 0
mmap(0x7fad9e016000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7fad9e016000
mmap(0x7fad9e01c000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fad9e01c000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad9f308000
arch_prctl(ARCH_SET_FS, 0x7fad9f309380) = 0
mprotect(0x7fad9e016000, 16384, PROT_READ) = 0
mprotect(0x7fad9e538000, 4096, PROT_READ) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad9f306000
mprotect(0x7fad9e8ab000, 40960, PROT_READ) = 0
mprotect(0x7fad9eabd000, 4096, PROT_READ) = 0
mprotect(0x7fad9ecd6000, 4096, PROT_READ) = 0
mprotect(0x7fad9ef01000, 16384, PROT_READ) = 0
mprotect(0x7fad9f11e000, 4096, PROT_READ) = 0
mprotect(0x244c000, 2998272, PROT_READ) = 0
mprotect(0x7fad9f342000, 4096, PROT_READ) = 0
munmap(0x7fad9f30c000, 206760) = 0
set_tid_address(0x7fad9f309650) = 584
set_robust_list(0x7fad9f309660, 24) = 0
rt_sigaction(SIGRTMIN, {0x7fad9eac4b80, [], SA_RESTORER|SA_SIGINFO, 0x7fad9ead0100}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fad9eac4c10, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fad9ead0100}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x3187000
brk(0x31b9000) = 0x31b9000
futex(0x2766810, FUTEX_WAKE_PRIVATE, 2147483647) = 0
--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x7167d9} ---
+++ killed by SIGILL +++
Illegal instruction
_
Metadata
Assignees
Labels
No labels
Activity
SeanTAllen commentedon Mar 12, 2017
@azzuwan can you try building from source and seeing if you have the same problem?
Also, what type of CPU do you have?
azzuwan commentedon Mar 12, 2017
I'm on x86 64 bit intel CPU. I just compiled from source. The compilation process was smooth but executing hello world gives me this:
davidgiven commentedon Mar 12, 2017
This is happening to me, using the ponyc-release from the Debian archive. ponyc simply won't start. Bare metal, no virtualisation.
shlx is AVX2, right? I don't have that.
SeanTAllen commentedon Mar 12, 2017
@azzuwan do you know which specific cpu you have, AVX and AVX2 are somewhat regular sources of problems on certain CPUs.
SeanTAllen commentedon Mar 12, 2017
@davidgiven looks like you have an IvyBridge, I don't believe shlx is supported on it.
Sorry you are having difficulties getting started. Can you try building ponyc from source and seeing if that addresses the issue?
SeanTAllen commentedon Mar 12, 2017
@azzuwan try building the helloworld app from within the examples/helloworld directory
you would do that by running
ponyc
in the directory. with the pony compiler, it will compile everything in the directory so you don't give it the name of a specific file.azzuwan commentedon Mar 12, 2017
@SeanTAllen You are right the source compile works without the file name. A careless mistake on my side. Regarding the deb installer, I will try again on my other machines later. This one will do for me now. Thank you!
SeanTAllen commentedon Mar 12, 2017
@davidgiven @azzuwan sorry for the issues you hit. this has been a festering problem with AVX and prebuilts for a while. @sylvanc and I are figuring out the best "basic" prebuilts we can do that might sacrifice performance but should work across more machines. Once we get that figured out, I'll try updating our CI.
I'm going to leave this open and once Sylvan and I have a solution to try, will ping you both and ask you to try again.
7 remaining items