Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Intel Composer 2015 will throw a Segmentation fault when installed to a docker container

$
0
0

Intel Composer 2015 will throw a Segmentation fault when installed to a docker container. Steps to reproduce (using ubuntu as a host): mkdir data cd data wget http://registrationcenter-download.intel.com/akdlm/irc_nas/4933/l_compxe... tar xvzf l_compxe_2015.1.133.tgz docker run -i -t -v `pwd`:/data ubuntu /bin/bash data/l_compxe_2015.1.133/install.sh # This step will throw segfault ############################## root@8d5781f9642a:/# sh -x data/l_compxe_2015.1.133/install.sh ...... + //data/l_compxe_2015.1.133/pset/32e/install --TEMP_FOLDER=/tmp/install.KErWQr --log-disable --__get_string__=/tmp/intel.pset.strings..8d5781f9642a Segmentation fault (core dumped) .... root@8d5781f9642a:/# dmesg [ 8350.149422] install[4080]: segfault at 0 ip 00007f526644e67a sp 00007fff6d345538 error 4 in libc-2.19.so[7f52663c5000+1bb000] root@8d5781f9642a:/data# strace //data/l_compxe_2015.1.133/pset/32e/install --TEMP_FOLDER=/tmp/install.KErWQr --log-disable --__get_string__=/tmp/intel.pset.strings..8d5781f9642a ... futex(0x7fffccffec00, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f02321c3780) = -1 EAGAIN (Resource temporarily unavailable) rt_sigaction(SIGRTMIN, {0x7f02314709f0, [], SA_RESTORER|SA_SIGINFO, 0x7f023147a340}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7f0231470a80, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f023147a340}, 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(0) = 0x2373000 brk(0x2394000) = 0x2394000 rt_sigaction(SIGINT, {0x410b40, ~[RTMIN RT_1], SA_RESTORER, 0x7f023147a340}, NULL, 8) = 0 pipe2([3, 4], O_CLOEXEC) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f02321c3a50) = 789 close(4) = 0 fcntl(3, F_SETFD, 0) = 0 fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f02321cb000 read(3, "01.28.01.23.19.2015\n", 4096) = 20 read(3, "", 4096) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=789, si_status=0, si_utime=0, si_stime=0} --- close(3) = 0 wait4(789, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 789 munmap(0x7f02321cb000, 4096) = 0 pipe2([3, 4], O_CLOEXEC) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f02321c3a50) = 791 close(4) = 0 fcntl(3, F_SETFD, 0) = 0 fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=791, si_status=0, si_utime=0, si_stime=0} --- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f02321cb000 read(3, "8d5781f9642a\n", 4096) = 13 read(3, "", 4096) = 0 close(3) = 0 wait4(791, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 791 munmap(0x7f02321cb000, 4096) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped) ####################################### Looks like problem is related to not having a user with a ID != 0, not sure Adding a user and executing the installer through that user works correctly.


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>