laurentj / slimerjs

A scriptable browser like PhantomJS, based on Firefox
http://slimerjs.org
Other
3k stars 259 forks source link

0.9.5 shows nothing #330

Closed jacekpl closed 9 years ago

jacekpl commented 9 years ago

Hi,

Running slimerjs on Ubuntu 14.04 shows no results (no error, no result, nothing). I use Slimerjs 0.9.5 Standalone Edition (x86_64). libc6 libstdc++6 libgcc1 libgtk2.0-0 libasound2 libxrender1 libraries are installed.

test.js is just: console.log('test');

/slimerjs --debug=yes test.js either doesn't show any log.

Strace log: execve("./slimerjs", ["./slimerjs", "test.js"], [/* 23 vars _/]) = 0 brk(0) = 0x25e2000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1d8a08c000 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=25729, ...}) = 0 mmap(NULL, 25729, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1d8a085000 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\320\303\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=167096, ...}) = 0 mmap(NULL, 2264288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1d89c43000 mprotect(0x7f1d89c68000, 2093056, PROT_NONE) = 0 mmap(0x7f1d89e67000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f1d89e67000 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\320\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=14664, ...}) = 0 mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1d89a3f000 mprotect(0x7f1d89a42000, 2093056, PROT_NONE) = 0 mmap(0x7f1d89c41000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f1d89c41000 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\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\37\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1d8a084000 mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1d8967a000 mprotect(0x7f1d89835000, 2093056, PROT_NONE) = 0 mmap(0x7f1d89a34000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f1d89a34000 mmap(0x7f1d89a3a000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1d89a3a000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1d8a082000 arch_prctl(ARCH_SET_FS, 0x7f1d8a082740) = 0 mprotect(0x7f1d89a34000, 16384, PROT_READ) = 0 mprotect(0x7f1d89c41000, 4096, PROT_READ) = 0 mprotect(0x7f1d89e67000, 16384, PROT_READ) = 0 mprotect(0x6ef000, 4096, PROT_READ) = 0 mprotect(0x7f1d8a08e000, 4096, PROT_READ) = 0 munmap(0x7f1d8a085000, 25729) = 0 open("/dev/tty", O_RDWR|O_NONBLOCK) = 3 close(3) = 0 brk(0) = 0x25e2000 brk(0x25e3000) = 0x25e3000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=2919792, ...}) = 0 mmap(NULL, 2919792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1d893b1000 close(3) = 0 brk(0x25e4000) = 0x25e4000 brk(0x25e5000) = 0x25e5000 getuid() = 1001 getgid() = 1001 geteuid() = 1001 getegid() = 1001 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 brk(0x25e6000) = 0x25e6000 open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1d8a08b000 read(3, "MemTotal: 2050068 kB\nMemF"..., 1024) = 1024 close(3) = 0 munmap(0x7f1d8a08b000, 4096) = 0 brk(0x25e7000) = 0x25e7000 rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 uname({sys="Linux", node="slimerjs", ...}) = 0 brk(0x25e8000) = 0x25e8000 brk(0x25e9000) = 0x25e9000 stat("/home/jacek/slimerjs-0.9.5", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getpid() = 29048 open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0 mmap(NULL, 26258, PROT_READ, MAP_SHARED, 3, 0) = 0x7f1d8a085000 close(3) = 0 brk(0x25ea000) = 0x25ea000 getppid() = 29045 gettimeofday({1427446663, 800595}, NULL) = 0 brk(0x25eb000) = 0x25eb000 brk(0x25ec000) = 0x25ec000 getpgrp() = 29045 rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, 8) = 0 getrlimit(RLIMIT_NPROC, {rlim_cur=15959, rlim_max=15959}) = 0 brk(0x25ed000) = 0x25ed000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("./slimerjs", O_RDONLY) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d7a0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 read(3, "#!/bin/bash\n\n#retrieve full path"..., 80) = 80 lseek(3, 0, SEEK_SET) = 0 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4_1024}) = 0 fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor) dup2(3, 255) = 255 close(3) = 0 fcntl(255, F_SETFD, FD_CLOEXEC) = 0 fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fstat(255, {st_mode=S_IFREG|0755, st_size=7565, ...}) = 0 lseek(255, 0, SEEK_CUR) = 0 brk(0x25ef000) = 0x25ef000 brk(0x25f0000) = 0x25f0000 read(255, "#!/bin/bash\n\n#retrieve full path"..., 7565) = 7565 brk(0x25f1000) = 0x25f1000 lstat("./slimerjs", {st_mode=S_IFREG|0755, st_size=7565, ...}) = 0 brk(0x25f2000) = 0x25f2000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 lseek(255, -6958, SEEK_CUR) = 607 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1d8a082a10) = 29049 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29049, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 29049 wait4(-1, 0x7fffceb3c918, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, 8) = 0 close(4) = 0 read(3, "/home/jacek/slimerjs-0.9.5\n", 128) = 27 read(3, "", 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 read(255, "\nSYSTEM=uname -o 2>&1\nif [ \"$S"..., 7565) = 6958 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 lseek(255, -6934, SEEK_CUR) = 631 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1d8a082a10) = 29052 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, 8) = 0 close(4) = 0 read(3, "GNU/Linux\n", 128) = 10 read(3, "", 128) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29052, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 29052 wait4(-1, 0x7fffceb3cc58, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 read(255, "if [ \"$SYSTEM\" == \"Cygwin\" ]\nthe"..., 7565) = 6934 stat("/home/jacek/slimerjs-0.9.5/xulrunner/xulrunner", {st_mode=S_IFREG|0755, st_size=135520, ...}) = 0 faccessat(AT_FDCWD, "/home/jacek/slimerjs-0.9.5/xulrunner/xulrunner", X_OK) = 0 brk(0x25f3000) = 0x25f3000 brk(0x25f4000) = 0x25f4000 brk(0x25f5000) = 0x25f5000 brk(0x25f6000) = 0x25f6000 brk(0x25f7000) = 0x25f7000 brk(0x25f8000) = 0x25f8000 brk(0x25f9000) = 0x25f9000 brk(0x25fa000) = 0x25fa000 brk(0x25fb000) = 0x25fb000 brk(0x25fc000) = 0x25fc000 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 lseek(255, -1615, SEEK_CUR) = 5950 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1d8a082a10) = 29054 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, 8) = 0 close(4) = 0 read(3, "XDG_SESSIONID=4\nSHELL=/bin/bash"..., 128) = 128 brk(0x25fd000) = 0x25fd000 read(3, "rs=0:di=01;34:ln=01;36:mh=00:pi="..., 128) = 128 read(3, "ow=34;42:st=37;44:ex=01;32:.tar"..., 128) = 128 read(3, "p=01;31:.z=01;31:.Z=01;31:.dz"..., 128) = 128 read(3, "31:.deb=01;31:.rpm=01;31:.jar"..., 128) = 128 read(3, "=01;31:.rz=01;31:.jpg=01;35:."..., 128) = 128 read(3, ".xpm=01;35:.tif=01;35:.tiff=01"..., 128) = 128 brk(0x25fe000) = 0x25fe000 read(3, "01;35:.m2v=01;35:.mkv=01;35:."..., 128) = 128 read(3, ".wmv=01;35:.asf=01;35:.rm=01;3"..., 128) = 128 read(3, ":.xwd=01;35:.yuv=01;35:.cgm=0"..., 128) = 128 read(3, "0;36:.mid=00;36:.midi=00;36:."..., 128) = 128 read(3, "px=00;36:_.xspf=00;36:\nMC_TMPDIR"..., 128) = 128 read(3, "/local/games\nMAIL=/var/mail/jace"..., 128) = 128 read(3, "4\nMC_SID=28944\nLOGNAME=jacek\nSSH"..., 128) = 128 read(3, "=/run/user/1000\nLESSCLOSE=/usr/b"..., 128) = 65 read(3, "", 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 29054 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29054, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, 0x7fffceb3cb58, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 read(255, "OLDIFS=$IFS;\nIFS=$'\n';\nfor v in"..., 7565) = 1615 brk(0x25ff000) = 0x25ff000 brk(0x2600000) = 0x2600000 brk(0x2602000) = 0x2602000 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|OCLOEXEC) = 3 brk(0x2612000) = 0x2612000 getdents(3, /* 12 entries /, 32768) = 376 getdents(3, / 0 entries /, 32768) = 0 brk(0x2602000) = 0x2602000 close(3) = 0 stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 faccessat(AT_FDCWD, "/tmp", W_OK) = 0 statfs("/tmp", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=5125909, f_bfree=4482625, f_bavail=4242705, f_files=1310720, f_ffree=1262043, f_fsid={432655304, -1981066225}, f_namelen=255, f_frsize=4096}) = 0 open("/tmp/sh-thd-1050554266", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "XDG_SESSION_ID=4", 16) = 16 write(3, "\n", 1) = 1 open("/tmp/sh-thd-1050554266", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-1050554266") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "XDG_SESSION_ID=4\n", 128) = 17 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-441587213", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "SHELL=/bin/bash", 15) = 15 write(3, "\n", 1) = 1 open("/tmp/sh-thd-441587213", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-441587213") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "SHELL=/bin/bash\n", 128) = 16 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-93183628", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "TERM=xterm-256color", 19) = 19 write(3, "\n", 1) = 1 open("/tmp/sh-thd-93183628", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-93183628") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "TERM=xterm-256color\n", 128) = 20 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-943562644", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "SSH_CLIENT=88.198.223.110 52646 "..., 34) = 34 write(3, "\n", 1) = 1 open("/tmp/sh-thd-943562644", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-943562644") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "SSH_CLIENT=88.198.223.110 52646 "..., 128) = 35 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-1373538694", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "SSH_TTY=/dev/pts/0", 18) = 18 write(3, "\n", 1) = 1 open("/tmp/sh-thd-1373538694", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-1373538694") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "SSH_TTY=/dev/pts/0\n", 128) = 19 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-4024509708", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "USER=jacek", 10) = 10 write(3, "\n", 1) = 1 open("/tmp/sh-thd-4024509708", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-4024509708") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "USER=jacek\n", 128) = 11 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-6983496877", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 brk(0x2603000) = 0x2603000 brk(0x2604000) = 0x2604000 brk(0x2605000) = 0x2605000 write(3, "LS_COLORS=rs=0:di=01;34:ln=01;36"..., 1312) = 1312 write(3, "\n", 1) = 1 open("/tmp/sh-thd-6983496877", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-6983496877") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "LSCOLORS=rs=0:di=01;34:ln=01;36"..., 128) = 128 read(0, ":tw=30;42:ow=34;42:st=37;44:ex=0"..., 128) = 128 read(0, "01;31:.zip=01;31:.z=01;31:.Z="..., 128) = 128 read(0, "1:.tz=01;31:.deb=01;31:.rpm=0"..., 128) = 128 read(0, "01;31:.7z=01;31:.rz=01;31:.jp"..., 128) = 128 read(0, "bm=01;35:.xpm=01;35:.tif=01;35"..., 128) = 128 read(0, "35:.mpeg=01;35:.m2v=01;35:.mk"..., 128) = 128 read(0, "uv=01;35:.wmv=01;35:.asf=01;35"..., 128) = 128 read(0, ".xcf=01;35:.xwd=01;35:.yuv=01;"..., 128) = 128 read(0, "6:.flac=00;36:.mid=00;36:.mid"..., 128) = 128 read(0, "=00;36:.spx=00;36:.xspf=00;36:"..., 128) = 33 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-14885542729", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "MC_TMPDIR=/tmp/mc-jacek", 23) = 23 write(3, "\n", 1) = 1 open("/tmp/sh-thd-14885542729", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-14885542729") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "MC_TMPDIR=/tmp/mc-jacek\n", 128) = 24 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-28334998340", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "PATH=/usr/local/sbin:/usr/local/"..., 93) = 93 write(3, "\n", 1) = 1 open("/tmp/sh-thd-28334998340", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-28334998340") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "PATH=/usr/local/sbin:/usr/local/"..., 128) = 94 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-56408576186", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "MAIL=/var/mail/jacek", 20) = 20 write(3, "\n", 1) = 1 open("/tmp/sh-thd-56408576186", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-56408576186") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "MAIL=/var/mail/jacek\n", 128) = 21 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-112413840177", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "PWD=/home/jacek/slimerjs-0.9.5", 30) = 30 write(3, "\n", 1) = 1 open("/tmp/sh-thd-112413840177", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-112413840177") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "PWD=/home/jacek/slimerjs-0.9.5\n", 128) = 31 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-224909957942", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "LANG=en_US.UTF-8", 16) = 16 write(3, "\n", 1) = 1 open("/tmp/sh-thd-224909957942", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-224909957942") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "LANG=en_US.UTF-8\n", 128) = 17 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-449914543457", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "HISTCONTROL=ignoreboth", 22) = 22 write(3, "\n", 1) = 1 open("/tmp/sh-thd-449914543457", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-449914543457") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "HISTCONTROL=ignoreboth\n", 128) = 23 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-900154019526", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "HOME=/home/jacek", 16) = 16 write(3, "\n", 1) = 1 open("/tmp/sh-thd-900154019526", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-900154019526") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "HOME=/home/jacek\n", 128) = 17 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-1799697161872", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "SHLVL=4", 7) = 7 write(3, "\n", 1) = 1 open("/tmp/sh-thd-1799697161872", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-1799697161872") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "SHLVL=4\n", 128) = 8 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-3599934305945", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "MC_SID=28944", 12) = 12 write(3, "\n", 1) = 1 open("/tmp/sh-thd-3599934305945", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-3599934305945") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "MC_SID=28944\n", 128) = 13 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-7199939495857", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "LOGNAME=jacek", 13) = 13 write(3, "\n", 1) = 1 open("/tmp/sh-thd-7199939495857", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-7199939495857") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "LOGNAME=jacek\n", 128) = 14 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-14399773935455", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "SSH_CONNECTION=88.198.223.110 52"..., 51) = 51 write(3, "\n", 1) = 1 open("/tmp/sh-thd-14399773935455", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-14399773935455") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "SSH_CONNECTION=88.198.223.110 52"..., 128) = 52 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-28798525860885", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "LESSOPEN=| /usr/bin/lesspipe %s", 31) = 31 write(3, "\n", 1) = 1 open("/tmp/sh-thd-28798525860885", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-28798525860885") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "LESSOPEN=| /usr/bin/lesspipe %s\n", 128) = 32 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-57596642497837", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "XDG_RUNTIME_DIR=/run/user/1000", 30) = 30 write(3, "\n", 1) = 1 open("/tmp/sh-thd-57596642497837", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-57596642497837") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "XDG_RUNTIME_DIR=/run/user/1000\n", 128) = 31 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-115194543367102", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600) = 3 write(3, "LESSCLOSE=/usr/bin/lesspipe %s %"..., 33) = 33 write(3, "\n", 1) = 1 open("/tmp/sh-thd-115194543367102", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-115194543367102") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEK_CUR) = 0 read(0, "LESSCLOSE=/usr/bin/lesspipe %s %"..., 128) = 34 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 open("/tmp/sh-thd-230390261302379", O_WRONLY|O_CREAT|O_EXCL|OTRUNC, 0600) = 3 write(3, "=/usr/bin/env", 14) = 14 write(3, "\n", 1) = 1 open("/tmp/sh-thd-230390261302379", O_RDONLY) = 4 close(3) = 0 unlink("/tmp/sh-thd-230390261302379") = 0 fcntl(0, F_GETFD) = 0 fcntl(0, F_DUPFD, 10) = 10 fcntl(0, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 close(4) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffceb3d0e0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(0, 0, SEEKCUR) = 0 read(0, "=/usr/bin/env\n", 128) = 15 dup2(10, 0) = 0 fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 lseek(255, -516, SEEK_CUR) = 7049 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1d8a082a10) = 29055 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f1d896b0d40}, 8) = 0 close(4) = 0 read(3, "/tmp/slimerjs.aZw8g6dW\n", 128) = 23 read(3, "", 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 29055 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29055, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, 0x7fffceb3c758, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 read(255, "\n# put all arguments in a variab"..., 7565) = 516 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0 rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0 lseek(255, -91, SEEK_CUR) = 7474 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1d8a082a10) = 29056 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 29056 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29056, si_status=1, si_utime=1, si_stime=0} --- wait4(-1, 0x7fffceb3ced8, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 read(255, "\nEXITCODE=$?\n\nif [ \"$PROFILE_DIR"..., 7565) = 91 stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/usr/local/sbin/rm", 0x7fffceb3d380) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/rm", 0x7fffceb3d380) = -1 ENOENT (No such file or directory) stat("/usr/sbin/rm", 0x7fffceb3d380) = -1 ENOENT (No such file or directory) stat("/usr/bin/rm", 0x7fffceb3d380) = -1 ENOENT (No such file or directory) stat("/sbin/rm", 0x7fffceb3d380) = -1 ENOENT (No such file or directory) stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=60160, ...}) = 0 stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=60160, ...}) = 0 geteuid() = 1001 getegid() = 1001 getuid() = 1001 getgid() = 1001 access("/bin/rm", X_OK) = 0 stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=60160, ...}) = 0 geteuid() = 1001 getegid() = 1001 getuid() = 1001 getgid() = 1001 access("/bin/rm", R_OK) = 0 stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=60160, ...}) = 0 stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=60160, ...}) = 0 geteuid() = 1001 getegid() = 1001 getuid() = 1001 getgid() = 1001 access("/bin/rm", X_OK) = 0 stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=60160, ...}) = 0 geteuid() = 1001 getegid() = 1001 getuid() = 1001 getgid() = 1001 access("/bin/rm", R_OK) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 lseek(255, -16, SEEK_CUR) = 7549 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1d8a082a10) = 29058 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 29058 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1d896b0d40}, {0x4438a0, [], SA_RESTORER, 0x7f1d896b0d40}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29058, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, 0x7fffceb3ced8, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 read(255, "\nexit $EXITCODE\n", 7565) = 16 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 exit_group(1) = ? +++ exited with 1 +++

henadzit commented 9 years ago

Ubuntu 14.04.2 LTS.

I see the same behavior but exit code is 255.

henadzit commented 9 years ago

I followed http://docs.slimerjs.org/current/installation.html and managed to make it work.

I had to install packages mentioned on the page and run the tool with xvfb-run.

jacekpl commented 9 years ago

Yes, you're right henadzit. Thanks for the hint.