Matlab not showing up
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Matlab blocks at start-up and shows nothing in one machine (toto) while it runs fine in another machine (titi), which by the way, have slightly the same configuration.
Both machines run Debian:
uname -a
gives on both machines the following:
Linux (toto|titi).hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.48-1 x86_64 GNU/Linux
I tried to investigate the problem using strace
. Actually, Matlab blocks after a 3rd successful call to open
/read
on the file /proc/cpuinfo
(in toto).
In the following, the output of strace
on each machine.
Output of
strace
on toto (Matlab blocks at startup):strace -f -o matlab.toto.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives this (2nd and 3rd calls to open/read are appearing):
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "177ELF2113>12603541"..., 832) = 832
7580 fstat(3, st_mode=S_IFREG) = 0
7580 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc91cba7000
7580 mprotect(0x7fc91ccb0000, 2097152, PROT_NONE) = 0
7580 mmap(0x7fc91ceb0000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fc91ceb0000
7580 mmap(0x7fc91cebb000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc91cebb000
7580 close(3) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "0-3n", 8192) = 4
7580 close(3) = 0
7580 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7580 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 lstat("/users", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7580 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 uname(sys="Linux", node="bailly.lipn.univ-paris13.fr", ...) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
Output of
strace
on titi (Matlab works fine):strace -f -o matlab.titi.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives the following (2nd, 3rd, 4th and 5th calls to open/read are appearing):
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "177ELF2113>12603541"..., 832) = 832
7670 fstat(3, st_mode=S_IFREG) = 0
7670 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbbd64ec000
7670 mprotect(0x7fbbd65f5000, 2097152, PROT_NONE) = 0
7670 mmap(0x7fbbd67f5000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fbbd67f5000
7670 mmap(0x7fbbd6800000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbbd6800000
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
7670 brk(0xec4000) = 0xec4000
7670 brk(0xee5000) = 0xee5000
7670 brk(0xf06000) = 0xf06000
7670 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "0-7n", 8192) = 4
7670 close(3) = 0
7670 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7670 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 lstat("/users", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7670 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 uname(sys="Linux", node="titi.lipn.univ-paris13.fr", ...) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
debian strace matlab
add a comment |Â
up vote
0
down vote
favorite
Matlab blocks at start-up and shows nothing in one machine (toto) while it runs fine in another machine (titi), which by the way, have slightly the same configuration.
Both machines run Debian:
uname -a
gives on both machines the following:
Linux (toto|titi).hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.48-1 x86_64 GNU/Linux
I tried to investigate the problem using strace
. Actually, Matlab blocks after a 3rd successful call to open
/read
on the file /proc/cpuinfo
(in toto).
In the following, the output of strace
on each machine.
Output of
strace
on toto (Matlab blocks at startup):strace -f -o matlab.toto.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives this (2nd and 3rd calls to open/read are appearing):
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "177ELF2113>12603541"..., 832) = 832
7580 fstat(3, st_mode=S_IFREG) = 0
7580 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc91cba7000
7580 mprotect(0x7fc91ccb0000, 2097152, PROT_NONE) = 0
7580 mmap(0x7fc91ceb0000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fc91ceb0000
7580 mmap(0x7fc91cebb000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc91cebb000
7580 close(3) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "0-3n", 8192) = 4
7580 close(3) = 0
7580 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7580 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 lstat("/users", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7580 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 uname(sys="Linux", node="bailly.lipn.univ-paris13.fr", ...) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
Output of
strace
on titi (Matlab works fine):strace -f -o matlab.titi.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives the following (2nd, 3rd, 4th and 5th calls to open/read are appearing):
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "177ELF2113>12603541"..., 832) = 832
7670 fstat(3, st_mode=S_IFREG) = 0
7670 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbbd64ec000
7670 mprotect(0x7fbbd65f5000, 2097152, PROT_NONE) = 0
7670 mmap(0x7fbbd67f5000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fbbd67f5000
7670 mmap(0x7fbbd6800000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbbd6800000
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
7670 brk(0xec4000) = 0xec4000
7670 brk(0xee5000) = 0xee5000
7670 brk(0xf06000) = 0xf06000
7670 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "0-7n", 8192) = 4
7670 close(3) = 0
7670 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7670 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 lstat("/users", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7670 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 uname(sys="Linux", node="titi.lipn.univ-paris13.fr", ...) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
debian strace matlab
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Matlab blocks at start-up and shows nothing in one machine (toto) while it runs fine in another machine (titi), which by the way, have slightly the same configuration.
Both machines run Debian:
uname -a
gives on both machines the following:
Linux (toto|titi).hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.48-1 x86_64 GNU/Linux
I tried to investigate the problem using strace
. Actually, Matlab blocks after a 3rd successful call to open
/read
on the file /proc/cpuinfo
(in toto).
In the following, the output of strace
on each machine.
Output of
strace
on toto (Matlab blocks at startup):strace -f -o matlab.toto.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives this (2nd and 3rd calls to open/read are appearing):
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "177ELF2113>12603541"..., 832) = 832
7580 fstat(3, st_mode=S_IFREG) = 0
7580 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc91cba7000
7580 mprotect(0x7fc91ccb0000, 2097152, PROT_NONE) = 0
7580 mmap(0x7fc91ceb0000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fc91ceb0000
7580 mmap(0x7fc91cebb000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc91cebb000
7580 close(3) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "0-3n", 8192) = 4
7580 close(3) = 0
7580 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7580 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 lstat("/users", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7580 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 uname(sys="Linux", node="bailly.lipn.univ-paris13.fr", ...) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
Output of
strace
on titi (Matlab works fine):strace -f -o matlab.titi.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives the following (2nd, 3rd, 4th and 5th calls to open/read are appearing):
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "177ELF2113>12603541"..., 832) = 832
7670 fstat(3, st_mode=S_IFREG) = 0
7670 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbbd64ec000
7670 mprotect(0x7fbbd65f5000, 2097152, PROT_NONE) = 0
7670 mmap(0x7fbbd67f5000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fbbd67f5000
7670 mmap(0x7fbbd6800000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbbd6800000
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
7670 brk(0xec4000) = 0xec4000
7670 brk(0xee5000) = 0xee5000
7670 brk(0xf06000) = 0xf06000
7670 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "0-7n", 8192) = 4
7670 close(3) = 0
7670 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7670 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 lstat("/users", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7670 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 uname(sys="Linux", node="titi.lipn.univ-paris13.fr", ...) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
debian strace matlab
Matlab blocks at start-up and shows nothing in one machine (toto) while it runs fine in another machine (titi), which by the way, have slightly the same configuration.
Both machines run Debian:
uname -a
gives on both machines the following:
Linux (toto|titi).hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.48-1 x86_64 GNU/Linux
I tried to investigate the problem using strace
. Actually, Matlab blocks after a 3rd successful call to open
/read
on the file /proc/cpuinfo
(in toto).
In the following, the output of strace
on each machine.
Output of
strace
on toto (Matlab blocks at startup):strace -f -o matlab.toto.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives this (2nd and 3rd calls to open/read are appearing):
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7580 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "177ELF2113>12603541"..., 832) = 832
7580 fstat(3, st_mode=S_IFREG) = 0
7580 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc91cba7000
7580 mprotect(0x7fc91ccb0000, 2097152, PROT_NONE) = 0
7580 mmap(0x7fc91ceb0000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fc91ceb0000
7580 mmap(0x7fc91cebb000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc91cebb000
7580 close(3) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 gettimeofday(1522673292, 492915, NULL) = 0
7580 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7580 read(3, "0-3n", 8192) = 4
7580 close(3) = 0
7580 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7580 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 lstat("/users", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7580 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7580 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7580 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7580 read(3, "", 8191) = 0
7580 close(3) = 0
7580 uname(sys="Linux", node="bailly.lipn.univ-paris13.fr", ...) = 0
7580 open("/proc/cpuinfo", O_RDONLY) = 3
7580 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 3129
7580 read(3, "processort: 3nvendor_idt: Genuin"..., 8191) = 1043
7580 read(3, "", 8191) = 0
7580 close(3) = 0
Output of
strace
on titi (Matlab works fine):strace -f -o matlab.titi.strace opt/MATLAB_2017a/bin/glnxa64/MATLAB
gives the following (2nd, 3rd, 4th and 5th calls to open/read are appearing):
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
7670 open("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "177ELF2113>12603541"..., 832) = 832
7670 fstat(3, st_mode=S_IFREG) = 0
7670 mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbbd64ec000
7670 mprotect(0x7fbbd65f5000, 2097152, PROT_NONE) = 0
7670 mmap(0x7fbbd67f5000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x109000) = 0x7fbbd67f5000
7670 mmap(0x7fbbd6800000, 184544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbbd6800000
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
7670 brk(0xec4000) = 0xec4000
7670 brk(0xee5000) = 0xee5000
7670 brk(0xf06000) = 0xf06000
7670 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
7670 read(3, "0-7n", 8192) = 4
7670 close(3) = 0
7670 rt_sigprocmask(SIG_BLOCK, [INT TSTP WINCH], NULL, 8) = 0
7670 stat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 lstat("/users", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64", st_mode=S_IFDIR) = 0
7670 lstat("/users/hamidi/opt/MATLAB_2017a/bin/glnxa64/libmwi18n.so", st_mode=S_IFREG) = 0
7670 open("/users/hamidi/opt/MATLAB_2017a/VersionInfo.xml", O_RDONLY) = 3
7670 read(3, "<?xml version="1.0" encoding="UT"..., 8191) = 300
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 uname(sys="Linux", node="titi.lipn.univ-paris13.fr", ...) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 open("/proc/cpuinfo", O_RDONLY) = 3
7670 read(3, "processort: 0nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "processort: 4nvendor_idt: Genuin"..., 8191) = 4048
7670 read(3, "", 8191) = 0
7670 close(3) = 0
7670 sched_getaffinity(0, 128, ff, 0, 0, 0, 0, 0, 0, 0) = 64
debian strace matlab
asked Apr 2 at 13:29
Massinissa
12
12
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f435054%2fmatlab-not-showing-up%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password