Python 2.7 в Ejudge 2.3.29.1

Обсуждение вопросов, связанных с системой проведения турниров ejudge.
Post Reply
helen80
Posts:21
Joined:06 October 2011, 19:48
Python 2.7 в Ejudge 2.3.29.1

Post by helen80 » 22 January 2014, 19:03

Здравствуйте, поставили Gentoo c пропатченым ядром 3.12.8. Python 3.3 проверяется нормально (в режиме Run programs securely) , а вот 2.7.6 по прежнему выдает Runtime error. Что-то неправильно настроено?

cher
Posts:1153
Joined:13 March 2004, 17:00
Contact:

Re: Python 2.7 в Ejudge 2.3.29.1

Post by cher » 23 January 2014, 12:44

Скорее всего, установка python2 использует какие-то нестандартные пути.

Попробуйте сделать strace на какой-нибудь простой программе, например

Code: Select all

print "OK"

helen80
Posts:21
Joined:06 October 2011, 19:48

Re: Python 2.7 в Ejudge 2.3.29.1

Post by helen80 » 23 January 2014, 20:16

Code: Select all

ejudge@ejudge_main ~/test $ strace python test.py
execve("/usr/bin/python", ["python", "test.py"], [/* 35 vars */]) = 0
brk(0)                                  = 0x603000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0fed4bb000
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=78572, ...}) = 0
mmap(NULL, 78572, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0fed4a7000
close(3)                                = 0
open("/lib64/libc.so.6", 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\0M\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1728760, ...}) = 0
mmap(NULL, 3841080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0fecef1000
mprotect(0x7f0fed091000, 2097152, PROT_NONE) = 0
mmap(0x7f0fed291000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a0000) = 0x7f0fed291000
mmap(0x7f0fed297000, 15416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0fed297000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0fed4a6000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0fed4a5000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0fed4a4000
arch_prctl(ARCH_SET_FS, 0x7f0fed4a5700) = 0
mprotect(0x7f0fed291000, 16384, PROT_READ) = 0
mprotect(0x601000, 4096, PROT_READ)     = 0
mprotect(0x7f0fed4bc000, 4096, PROT_READ) = 0
munmap(0x7f0fed4a7000, 78572)           = 0
brk(0)                                  = 0x603000
brk(0x624000)                           = 0x624000
open("/etc/env.d/python/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0fed4ba000
read(3, "python2.7\n", 4096)            = 10
close(3)                                = 0
munmap(0x7f0fed4ba000, 4096)            = 0
stat("/bin/python", 0x7fff91639b70)     = -1 ENOENT (No such file or directory)
stat("/usr/bin/python", {st_mode=S_IFREG|0755, st_size=10384, ...}) = 0
execve("/usr/bin/python2.7", ["/usr/bin/python2.7", "test.py"], [/* 35 vars */]) = 0
brk(0)                                  = 0x602000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6b000
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=78572, ...}) = 0
mmap(NULL, 78572, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2c7ee57000
close(3)                                = 0
open("/usr/lib64/libpython2.7.so.1.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\260\30\4\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=1766312, ...}) = 0
mmap(NULL, 3923632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c7e88d000
mprotect(0x7f2c7e9fd000, 2097152, PROT_NONE) = 0
mmap(0x7f2c7ebfd000, 258048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x170000) = 0x7f2c7ebfd000
mmap(0x7f2c7ec3c000, 61104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ec3c000
close(3)                                = 0
open("/lib64/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\20}\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=134916, ...}) = 0
mmap(NULL, 2212816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c7e670000
mprotect(0x7f2c7e688000, 2093056, PROT_NONE) = 0
mmap(0x7f2c7e887000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f2c7e887000
mmap(0x7f2c7e889000, 13264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2c7e889000
close(3)                                = 0
open("/lib64/libc.so.6", 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\0M\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1728760, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee56000
mmap(NULL, 3841080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c7e2c6000
mprotect(0x7f2c7e466000, 2097152, PROT_NONE) = 0
mmap(0x7f2c7e666000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a0000) = 0x7f2c7e666000
mmap(0x7f2c7e66c000, 15416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2c7e66c000
close(3)                                = 0
open("/lib64/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\220\20\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14480, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c7e0c2000
mprotect(0x7f2c7e0c5000, 2093056, PROT_NONE) = 0
mmap(0x7f2c7e2c4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f2c7e2c4000
close(3)                                = 0
open("/lib64/libutil.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\20\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=10496, ...}) = 0
mmap(NULL, 2105624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c7debf000
mprotect(0x7f2c7dec1000, 2093056, PROT_NONE) = 0
mmap(0x7f2c7e0c0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f2c7e0c0000
close(3)                                = 0
open("/lib64/libm.so.6", 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\220i\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1005768, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee55000
mmap(NULL, 3100968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c7dbc9000
mprotect(0x7f2c7dcbe000, 2093056, PROT_NONE) = 0
mmap(0x7f2c7debd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf4000) = 0x7f2c7debd000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee54000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee53000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee52000
arch_prctl(ARCH_SET_FS, 0x7f2c7ee53700) = 0
mprotect(0x7f2c7e666000, 16384, PROT_READ) = 0
mprotect(0x7f2c7debd000, 4096, PROT_READ) = 0
mprotect(0x7f2c7e0c0000, 4096, PROT_READ) = 0
mprotect(0x7f2c7e2c4000, 4096, PROT_READ) = 0
mprotect(0x7f2c7e887000, 4096, PROT_READ) = 0
mprotect(0x7f2c7ebfd000, 4096, PROT_READ) = 0
mprotect(0x600000, 4096, PROT_READ)     = 0
mprotect(0x7f2c7ee6c000, 4096, PROT_READ) = 0
munmap(0x7f2c7ee57000, 78572)           = 0
set_tid_address(0x7f2c7ee539d0)         = 12742
set_robust_list(0x7f2c7ee539e0, 24)     = 0
futex(0x7fffcf883b18, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fffcf883b18, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f2c7ee53700) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f2c7e6777a0, [], SA_RESTORER|SA_SIGINFO, 0x7f2c7e680b10}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f2c7e677820, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f2c7e680b10}, 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
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
brk(0)                                  = 0x602000
brk(0x623000)                           = 0x623000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee11000
brk(0x644000)                           = 0x644000
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
readlink("/usr/bin/python2.7", 0x7fffcf882900, 4096) = -1 EINVAL (Invalid argument)
stat("/usr/bin/Modules/Setup", 0x7fffcf880830) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib64/python2.7/os.py", 0x7fffcf880820) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib64/python2.7/os.pyc", 0x7fffcf880820) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/os.py", {st_mode=S_IFREG|0644, st_size=25769, ...}) = 0
stat("/usr/bin/pybuilddir.txt", 0x7fffcf880830) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib64/python2.7/lib-dynload", 0x7fffcf880830) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7edd0000
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f2c7e680b10}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {SIG_IGN, [], SA_RESTORER, 0x7f2c7e680b10}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGILL, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTRAP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGABRT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGKILL, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR1, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR2, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [], SA_RESTORER, 0x7f2c7e680b10}, 8) = 0
rt_sigaction(SIGALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSTKFLT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCONT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSTOP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTTIN, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTTOU, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGURG, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, NULL, {SIG_IGN, [], SA_RESTORER, 0x7f2c7e680b10}, 8) = 0
rt_sigaction(SIGVTALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGIO, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPWR, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSYS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_2, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_3, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_4, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_5, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_6, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_7, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_8, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_9, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_10, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_11, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_12, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_13, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_14, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_15, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_16, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_17, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_18, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_19, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_20, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_21, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_22, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_23, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_24, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_25, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_26, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_27, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_28, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_29, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_30, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_31, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_32, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x7f2c7e99c900, [], SA_RESTORER, 0x7f2c7e680b10}, {SIG_DFL, [], 0}, 8) = 0
brk(0x665000)                           = 0x665000
stat("/usr/lib64/python27.zip", 0x7fffcf8813f0) = -1 ENOENT (No such file or directory)
stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
stat("/usr/lib64/python27.zip", 0x7fffcf882380) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib64/python2.7/", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib64/python2.7/site", 0x7fffcf882550) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sitemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site.py", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=19677, ...}) = 0
open("/usr/lib64/python2.7/site.pyc", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=19322, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(4, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0sp\1\0\0d\0"..., 4096) = 4096
fstat(4, {st_mode=S_IFREG|0644, st_size=19322, ...}) = 0
read(4, "\1\0\0\0R\0\0\0\0t\5\0\0\0isdirR\10\0\0\0R\24\0\0\0t\t\0"..., 12288) = 12288
read(4, "\203\0\0\214\0\0\1qc\0t\3\0j\10\0\4d\3\0\2IJn\1\0Xd\2\0S("..., 4096) = 2938
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/os", 0x7fffcf881f40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/os.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/osmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/os.py", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=25769, ...}) = 0
open("/usr/lib64/python2.7/os.pyc", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=25557, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\16\0\0\0@\0\0\0s\372\6\0\0d\0"..., 4096) = 4096
fstat(5, {st_mode=S_IFREG|0644, st_size=25557, ...}) = 0
read(5, "ive.\n\n    N(\t\0\0\0R\t\0\0\0t\5\0\0\0splitt"..., 20480) = 20480
read(5, "\"\0\0\0t\24\0\0\0builtin_module_namest\6\0"..., 4096) = 981
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
fcntl(5, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "MemTotal:        8136684 kB\nMemF"..., 1024) = 986
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
brk(0x687000)                           = 0x687000
stat("/usr/lib64/python2.7/posixpath", 0x7fffcf881930) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/posixpath.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/posixpathmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/posixpath.py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=13591, ...}) = 0
open("/usr/lib64/python2.7/posixpath.pyc", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=11297, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(6, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0&\0\0\0@\0\0\0s\31\2\0\0d\0"..., 4096) = 4096
fstat(6, {st_mode=S_IFREG|0644, st_size=11297, ...}) = 0
read(6, "ISLNKt\7\0\0\0st_mode(\2\0\0\0R3\0\0\0t\2\0\0\0"..., 4096) = 4096
read(6, "\0\0R6\0\0\0(\7\0\0\0R3\0\0\0Rn\0\0\0R8\0\0\0t\1\0\0\0"..., 4096) = 3105
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/stat", 0x7fffcf881320) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/stat.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/statmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/stat.py", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=1842, ...}) = 0
open("/usr/lib64/python2.7/stat.pyc", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=2751, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(8, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\1\0\0\0@\0\0\0s{\1\0\0d\0"..., 4096) = 2751
fstat(8, {st_mode=S_IFREG|0644, st_size=2751, ...}) = 0
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(6)                                = 0
stat("/usr/lib64/python2.7/genericpath", 0x7fffcf881320) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/genericpath.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/genericpathmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/genericpath.py", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=3015, ...}) = 0
open("/usr/lib64/python2.7/genericpath.pyc", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=3263, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(8, "\3\363\r\n>\275\273Rc\0\0\0\0\0\0\0\0\10\0\0\0@\0\0\0s\221\0\0\0d\0"..., 4096) = 3263
fstat(8, {st_mode=S_IFREG|0644, st_size=3263, ...}) = 0
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(6)                                = 0
stat("/usr/lib64/python2.7/warnings", 0x7fffcf881320) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/warnings.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/warningsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/warnings.py", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=14044, ...}) = 0
open("/usr/lib64/python2.7/warnings.pyc", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=13150, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(8, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\7\0\0\0@\0\0\0sS\2\0\0d\0"..., 4096) = 4096
fstat(8, {st_mode=S_IFREG|0644, st_size=13150, ...}) = 0
read(8, "yss\7\0\0\0defaults\6\0\0\0modules\4\0\0\0on"..., 8192) = 8192
read(8, "\0\0(\0\0\0\0s \0\0\0/usr/lib64/python2.7"..., 4096) = 862
read(8, "", 4096)                       = 0
mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ed9f000
close(8)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/linecache", 0x7fffcf880d10) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/linecache.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/linecachemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/linecache.py", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=3964, ...}) = 0
open("/usr/lib64/python2.7/linecache.pyc", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=3211, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(9, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0sp\0\0\0d\0"..., 4096) = 3211
fstat(9, {st_mode=S_IFREG|0644, st_size=3211, ...}) = 0
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(8)                                = 0
stat("/usr/lib64/python2.7/types", 0x7fffcf880d10) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/types.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/typesmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/types.py", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=2040, ...}) = 0
open("/usr/lib64/python2.7/types.pyc", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=2506, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(9, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\5\0\0\0@\0\0\0s/\2\0\0d\0"..., 4096) = 2506
fstat(9, {st_mode=S_IFREG|0644, st_size=2506, ...}) = 0
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(8)                                = 0
close(6)                                = 0
close(5)                                = 0
stat("/usr/lib64/python2.7/UserDict", 0x7fffcf881930) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/UserDict.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/UserDictmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/UserDict.py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=5811, ...}) = 0
open("/usr/lib64/python2.7/UserDict.pyc", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=8820, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(6, "\3\363\r\n>\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0sb\0\0\0d\0"..., 4096) = 4096
fstat(6, {st_mode=S_IFREG|0644, st_size=8820, ...}) = 0
read(6, "/lib64/python2.7/UserDict.pyR*\0\0"..., 4096) = 4096
read(6, "\6\0\0\0R\2\0\0\0R\v\0\0\0R8\0\0\0R\6\0\0\0R\35\0\0\0R\f\0"..., 4096) = 628
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/_abcoll", 0x7fffcf881320) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_abcoll.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_abcollmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_abcoll.py", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=17865, ...}) = 0
open("/usr/lib64/python2.7/_abcoll.pyc", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=24982, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(8, "\3\363\r\n>\275\273Rc\0\0\0\0\0\0\0\0\20\0\0\0@\0\0\0sI\2\0\0d\0"..., 4096) = 4096
fstat(8, {st_mode=S_IFREG|0644, st_size=24982, ...}) = 0
read(8, "\1\0\0\0R(\0\0\0(\2\0\0\0R\34\0\0\0t\1\0\0\0x(\0\0\0\0(\0"..., 20480) = 20480
read(8, "\4\17\5\t\4\t\6\t\5\f\10\t\6(\0\0\0\0(\0\0\0\0(\0\0\0\0(\0\0\0"..., 4096) = 406
read(8, "", 4096)                       = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ed5e000
close(8)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/abc", 0x7fffcf880d10) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/abc.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/abcmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/abc.py", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=7145, ...}) = 0
open("/usr/lib64/python2.7/abc.pyc", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=6143, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(9, "\3\363\r\n>\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0s}\0\0\0d\0"..., 4096) = 4096
fstat(9, {st_mode=S_IFREG|0644, st_size=6143, ...}) = 0
read(9, "abc.pyt\10\0\0\0registeri\0\0\0s\20\0\0\0\0\2\30\1"..., 4096) = 2047
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/_weakrefset", 0x7fffcf880700) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_weakrefset.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_weakrefsetmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_weakrefset.py", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=5607, ...}) = 0
open("/usr/lib64/python2.7/_weakrefset.pyc", O_RDONLY) = 10
fstat(10, {st_mode=S_IFREG|0644, st_size=9477, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(10, "\3\363\r\n>\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0sI\0\0\0d\0"..., 4096) = 4096
fstat(10, {st_mode=S_IFREG|0644, st_size=9477, ...}) = 0
read(10, "sr/lib64/python2.7/_weakrefset.p"..., 4096) = 4096
read(10, "\0}\1\0t\0\0|\1\0\210\0\0j\1\0\203\2\0V\1q\3\0d\0\0S(\1\0\0"..., 4096) = 1285
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(9)                                = 0
close(8)                                = 0
close(6)                                = 0
close(5)                                = 0
stat("/usr/lib64/python2.7/copy_reg", 0x7fffcf881930) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/copy_reg.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/copy_regmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/copy_reg.py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=6800, ...}) = 0
open("/usr/lib64/python2.7/copy_reg.pyc", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=5113, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(6, "\3\363\r\n>\275\273Rc\0\0\0\0\0\0\0\0\5\0\0\0@\0\0\0s\326\0\0\0d\0"..., 4096) = 4096
fstat(6, {st_mode=S_IFREG|0644, st_size=5113, ...}) = 0
read(6, "e for key %s(\5\0\0\0t\3\0\0\0intt\n\0\0\0Va"..., 4096) = 1017
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(5)                                = 0
close(4)                                = 0
stat("/usr/lib64/python2.7/traceback", 0x7fffcf881f40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/traceback.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/tracebackmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/traceback.py", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=11255, ...}) = 0
open("/usr/lib64/python2.7/traceback.pyc", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=11623, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\16\0\0\0@\0\0\0sB\1\0\0d\0"..., 4096) = 4096
fstat(5, {st_mode=S_IFREG|0644, st_size=11623, ...}) = 0
read(5, "None.\n    R!\0\0\0i\0\0\0\0i\1\0\0\0N(\20\0\0\0R"..., 4096) = 4096
read(5, "\1\0\203\5\0\1Wd\1\0d\1\0\4}\2\0\4}\3\0}\4\0Xd\1\0S(\2\0"..., 4096) = 3431
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(4)                                = 0
geteuid()                               = 1001
getuid()                                = 1001
getegid()                               = 1001
getgid()                                = 1001
stat("/usr/lib64/python2.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib64/python2.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib64/python2.7/sysconfig", 0x7fffcf881740) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sysconfig.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sysconfigmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sysconfig.py", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=22400, ...}) = 0
open("/usr/lib64/python2.7/sysconfig.pyc", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=17620, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\10\0\0\0@\0\0\0s\v\5\0\0d\0"..., 4096) = 4096
fstat(5, {st_mode=S_IFREG|0644, st_size=17620, ...}) = 0
brk(0x6a9000)                           = 0x6a9000
read(5, "sixs\2\0\0\0nt(\v\0\0\0t\4\0\0\0NoneR0\0\0\0t\17\0"..., 12288) = 12288
read(5, "\0\0d\1\0t\0\0j\1\0k\6\0r\32\0t\2\0\203\0\0\1d\2\0Sd\3\0t"..., 4096) = 1236
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
lstat("/usr/bin/python2.7", {st_mode=S_IFREG|0755, st_size=6144, ...}) = 0
stat("/usr/bin/Modules/Setup.dist", 0x7fffcf882000) = -1 ENOENT (No such file or directory)
stat("/usr/bin/Modules/Setup.local", 0x7fffcf882000) = -1 ENOENT (No such file or directory)
close(4)                                = 0
stat("/usr/lib64/python2.7/re", 0x7fffcf881290) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/re.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/remodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/re.py", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=12959, ...}) = 0
open("/usr/lib64/python2.7/re.pyc", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=13094, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\27\0\0\0@\0\0\0s'\2\0\0d\0"..., 4096) = 4096
fstat(5, {st_mode=S_IFREG|0644, st_size=13094, ...}) = 0
read(5, "  Match a regular expression pat"..., 8192) = 8192
read(5, "\0\0\1\6\1\t\1\25\1\6\1\3\1\t\1\6\1\4\1\f\1\f\1\4\1\30\1\17\1\t\1\30"..., 4096) = 806
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/sre_compile", 0x7fffcf880c80) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_compile.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_compilemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_compile.py", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=16454, ...}) = 0
open("/usr/lib64/python2.7/sre_compile.pyc", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=11088, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(6, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\5\0\0\0@\0\0\0s~\1\0\0d\0"..., 4096) = 4096
fstat(6, {st_mode=S_IFREG|0644, st_size=11088, ...}) = 0
read(6, "\24\1\16\1\27\2\16\1\f\0\n\1\16\1\16\1\24\1\24\1\f\1\21\2\21\1\f\1\n\1\16\1"..., 4096) = 4096
read(6, "\6\0k\10\0r\330\1|\v\0d\2\0\31r\330\1|\v\0d\2\0\31d\1\0\31\\\2\0"..., 4096) = 2896
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/sre_parse", 0x7fffcf880670) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_parse.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_parsemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_parse.py", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=27505, ...}) = 0
open("/usr/lib64/python2.7/sre_parse.pyc", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=19488, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(8, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\4\0\0\0@\0\0\0s\332\2\0\0d\0"..., 4096) = 4096
fstat(8, {st_mode=S_IFREG|0644, st_size=19488, ...}) = 0
read(8, "sr/lib64/python2.7/sre_parse.pyt"..., 12288) = 12288
read(8, "\3\f\2\f\1\f\1\t\1\t\2\22\2\f\1\f\1\f\1\6\1\f\2\n\1\r\2\33\3\23\2c"..., 4096) = 3104
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/sre_constants", 0x7fffcf880060) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_constants.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_constantsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sre_constants.py", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=7113, ...}) = 0
open("/usr/lib64/python2.7/sre_constants.pyc", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=6117, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(9, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0 \0\0\0@\0\0\0s\371\4\0\0d\0"..., 4096) = 4096
fstat(9, {st_mode=S_IFREG|0644, st_size=6117, ...}) = 0
read(9, "efine SRE_INFO_CHARSET %d\nt\4\0\0\0d"..., 4096) = 2021
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(8)                                = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ed1d000
close(6)                                = 0
close(5)                                = 0
close(4)                                = 0
stat("/usr/lib64/python2.7/_sysconfigdata", 0x7fffcf881090) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_sysconfigdata.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_sysconfigdatamodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/_sysconfigdata.py", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=16080, ...}) = 0
open("/usr/lib64/python2.7/_sysconfigdata.pyc", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=19119, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "\3\363\r\n?\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0se\16\0\0i\r"..., 4096) = 4096
fstat(5, {st_mode=S_IFREG|0644, st_size=19119, ...}) = 0
brk(0x6cb000)                           = 0x6cb000
read(5, "ILESsN\0\0\0/var/tmp/portage/dev-la"..., 12288) = 12288
read(5, "__BOOLs\3\0\0\0.sot\2\0\0\0SOs)\0\0\0Parser"..., 4096) = 2735
read(5, "", 4096)                       = 0
brk(0x6c6000)                           = 0x6c6000
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(4)                                = 0
brk(0x6e7000)                           = 0x6e7000
brk(0x6d8000)                           = 0x6d8000
stat("/home/ejudge/.local/lib64/python2.7/site-packages", 0x7fffcf882c10) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib64/python2.7/site-packages", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 29 entries */, 32768)    = 976
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0
stat("/usr/lib64/site-python", 0x7fffcf882c10) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/sitecustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/plat-linux2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib64/python2.7/plat-linux2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib64/python2.7/plat-linux2/sitecustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/lib-tk", 0x7fffcf8809e0) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib64/python2.7/lib-tk", 0x7fffcf881970) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/lib-old", 0x7fffcf8809e0) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib64/python2.7/lib-old", 0x7fffcf881970) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib64/python2.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib64/python2.7/lib-dynload/sitecustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib64/python2.7/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib64/python2.7/site-packages/sitecustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/usercustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/plat-linux2/usercustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/plat-linux2/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/lib-dynload/usercustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/lib-dynload/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/site-packages/usercustomize", 0x7fffcf881b40) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/site-packages/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3590880, ...}) = 0
mmap(NULL, 3590880, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2c7d85c000
close(3)                                = 0
stat("/usr/lib64/python2.7/encodings", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib64/python2.7/encodings/__init__.py", {st_mode=S_IFREG|0644, st_size=5698, ...}) = 0
stat("/usr/lib64/python2.7/encodings/__init__", 0x7fffcf882660) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/__init__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/__init__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/__init__.py", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=5698, ...}) = 0
open("/usr/lib64/python2.7/encodings/__init__.pyc", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=4378, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(4, "\3\363\r\n@\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0s\216\0\0\0d\0"..., 4096) = 4096
fstat(4, {st_mode=S_IFREG|0644, st_size=4378, ...}) = 0
read(4, "\1\26\1\24\1\24\1$\1$\0016\0016\1\3\1\3\1\26\1\"\0015\1\22\3\n\4\3\1\20"..., 4096) = 282
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("/usr/lib64/python2.7/encodings", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib64/python2.7/encodings", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib64/python2.7/encodings/codecs", 0x7fffcf882050) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/codecs.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/codecsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/codecs.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/codecs.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/codecs", 0x7fffcf882050) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/codecs.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/codecsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/codecs.py", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=35266, ...}) = 0
open("/usr/lib64/python2.7/codecs.pyc", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=36602, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "\3\363\r\n>\275\273Rc\0\0\0\0\0\0\0\0\30\0\0\0@\0\0\0s7\3\0\0d\0"..., 4096) = 4096
fstat(5, {st_mode=S_IFREG|0644, st_size=36602, ...}) = 0
read(5, "\0\0t\0\0\202\1\0d\1\0S(\2\0\0\0s\372\2\0\0 Decodes t"..., 28672) = 28672
read(5, "\0\0/usr/lib64/python2.7/codecs.py"..., 4096) = 3834
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(4)                                = 0
stat("/usr/lib64/python2.7/encodings/encodings", 0x7fffcf882050) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/encodings.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/encodingsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/encodings.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/encodings.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/python2.7/encodings/aliases", 0x7fffcf882040) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/aliases.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/aliasesmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/aliases.py", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=14848, ...}) = 0
open("/usr/lib64/python2.7/encodings/aliases.pyc", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=8770, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(5, "\3\363\r\n@\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0su\10\0\0d\0"..., 4096) = 4096
fstat(5, {st_mode=S_IFREG|0644, st_size=8770, ...}) = 0
read(5, "ibm860t\6\0\0\0ibm860t\5\0\0\0cp861t\3\0\0\0"..., 4096) = 4096
read(5, "\7\3\7\3\7\1\7\1\7\1\7\1\7\1\7\1\7\1\7\3\7\1\7\1\7\3\7\1\7\3\7\1"..., 4096) = 578
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(4)                                = 0
stat("/usr/lib64/python2.7/encodings/__builtin__", 0x7fffcf882050) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/__builtin__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/__builtin__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/__builtin__.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/__builtin__.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
close(3)                                = 0
stat("/usr/lib64/python2.7/encodings/utf_8", 0x7fffcf8822e0) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/utf_8.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/utf_8module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.7/encodings/utf_8.py", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1005, ...}) = 0
open("/usr/lib64/python2.7/encodings/utf_8.pyc", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1966, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
read(4, "\3\363\r\nA\275\273Rc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0s\230\0\0\0d\0"..., 4096) = 1966
fstat(4, {st_mode=S_IFREG|0644, st_size=1966, ...}) = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
close(3)                                = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
readlink("test.py", 0x7fffcf880a20, 4096) = -1 EINVAL (Invalid argument)
getcwd("/home/ejudge/test", 4096)       = 18
lstat("/home/ejudge/test/test.py", {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
stat("test.py", {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
open("test.py", O_RDONLY)               = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
fstat(3, {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
lseek(3, 18446744073709547520, SEEK_SET) = -1 EINVAL (Invalid argument)
close(3)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
stat("test.py", {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
open("test.py", O_RDONLY)               = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffcf8839b0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(3, {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
lseek(3, 0, SEEK_CUR)                   = 0
read(3, "print \"OK\"", 4096)           = 10
lseek(3, 10, SEEK_SET)                  = 10
brk(0x6f9000)                           = 0x6f9000
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f2c7ee6a000, 4096)            = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7ee6a000
write(1, "OK\n", 3OK
)                     = 3
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f2c7e680b10}, {0x7f2c7e99c900, [], SA_RESTORER, 0x7f2c7e680b10}, 8) = 0
brk(0x6ea000)                           = 0x6ea000
exit_group(0)                           = ?
+++ exited with 0 +++
ejudge@ejudge_main ~/test $

cher
Posts:1153
Joined:13 March 2004, 17:00
Contact:

Re: Python 2.7 в Ejudge 2.3.29.1

Post by cher » 30 January 2014, 11:58

А что происходит, если запустить в безопасном режиме?

Code: Select all

strace -f ejudge-execute --secure-exec --security-violation ./pytest.py

helen80
Posts:21
Joined:06 October 2011, 19:48

Re: Python 2.7 в Ejudge 2.3.29.1

Post by helen80 » 30 January 2014, 12:09

Спасибо, большое, я розобралась!
Ваш ответ навел на мысль проверить как запускается питон из скрипта. Оказалось, что /usr/bin/python ведет ссылкой на python-wrapper, который при запуске читает версию питона из текстового файла (т.е. пытается открыть файл - запрещенное действие) а потом уже запускает нужную версию. Поменяла в конфигах питона путь прямо к интерпретатору версии 2 и безопасный режим для этой версии теперь тоже работает.
Last edited by helen80 on 30 January 2014, 13:03, edited 1 time in total.

cher
Posts:1153
Joined:13 March 2004, 17:00
Contact:

Re: Python 2.7 в Ejudge 2.3.29.1

Post by cher » 30 January 2014, 12:19

права на test.py правильно установлены? должно быть установлено право выполнения 'x'

helen80
Posts:21
Joined:06 October 2011, 19:48

Re: Python 2.7 в Ejudge 2.3.29.1

Post by helen80 » 30 January 2014, 13:05

спасибо большое, отредактировала ответ сверху. Все работает

Post Reply