Am 2010-10-08 um 09:59 schrieb Florian Wobbe:

Thank you, but the problem is most probably something in my server setup that doesn't fit something in LuaTeX. As I mentioned: I got no problems calling TeX directly, just from the server process.

All right. I have one more suggestion. If you don't want to dive into debugging via gdb you should try another attempt at strace. Previously you posted a tracedump of context. But it only shows context (the shell script) waiting and nothing related to luatex. You may want to make strace follow forks (-f).


Sorry, I've no experience using strace. Here we are:

This is how my process tree looked:
14025 ? Sl 0:01 | \_ /var/www/xxx/bin/python /var/ www/xxx/.../manage.py runfcgi ... 14116 ? S 0:00 | \_ /bin/sh -c set >> _context.log && strace -f context --batchmode --once hello >> _context.log 14117 ? S 0:00 | \_ strace -f context -- batchmode --once hello 14118 ? T 0:00 | \_ /bin/sh /var/opt/ context/tex/texmf-linux-64/bin/context --batchmode --once hello 14119 ? R 0:11 | \_ texlua /var/opt/ context/tex/texmf-linux-64/bin/mtxrun --script context --batchmode -- once hello

The logfile was empty, texlua seemed to hang. I killed 14119 and got:

execve("/var/opt/context/tex/texmf-linux-64/bin/context", ["context", "--batchmode", "--once", "hello"], [/* 10 vars */]) = 0
brk(0)                                  = 0x8e2e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b08959ac000
uname({sys="Linux", node="aine.fiee.net", ...}) = 0
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) = 0x2b08959ad000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=20573, ...}) = 0
mmap(NULL, 20573, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b08959af000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320% \1\0\0\0\0\0@"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=256288, ...}) = 0
mmap(NULL, 2353152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b0895bad000
mprotect(0x2b0895be8000, 2093056, PROT_NONE) = 0
mmap(0x2b0895de7000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_FIXED|MAP_DENYWRITE, 3, 0x3a000) = 0x2b0895de7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0> \0\1\0\0\0\20\16\0\0\0\0\0\0@"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14616, ...}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b0895dec000
mprotect(0x2b0895dee000, 2097152, PROT_NONE) = 0
mmap(0x2b0895fee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| MAP_DENYWRITE, 3, 0x2000) = 0x2b0895fee000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0> \0\1\0\0\0\300\342\1\0\0\0\0\0@"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, ...}) = 0
mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b0895ff0000
mprotect(0x2b089613a000, 2093056, PROT_NONE) = 0
mmap(0x2b0896339000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2b0896339000 mmap(0x2b089633e000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b089633e000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b0896343000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b0896344000
arch_prctl(ARCH_SET_FS, 0x2b0896343af0) = 0
mprotect(0x2b0896339000, 12288, PROT_READ) = 0
munmap(0x2b08959af000, 20573)           = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address) ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffd5440e70) = -1 EINVAL (Invalid argument)
brk(0)                                  = 0x8e2e000
brk(0x8e2f000)                          = 0x8e2f000
brk(0x8e30000)                          = 0x8e30000
getuid()                                = 1005
getgid()                                = 1006
geteuid()                               = 1005
getegid()                               = 1006
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
brk(0x8e31000)                          = 0x8e31000
open("/proc/meminfo", O_RDONLY)         = 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) = 0x2b08959af000
read(3, "MemTotal:      2097152 kB\nMemFree"..., 4096) = 771
close(3)                                = 0
munmap(0x2b08959af000, 4096)            = 0
brk(0x8e32000)                          = 0x8e32000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="aine.fiee.net", ...}) = 0
stat("/var/www/xxx/_textemp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid()                                = 14118
getppid()                               = 14117
brk(0x8e33000)                          = 0x8e33000
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = 0
sendto(3, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0"..., 19, MSG_NOSIGNAL, NULL, 0) = 19 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) recvmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"passwd\0"..., 7}, {"\270O \3\0\0\0\0\0"..., 8}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {4}}, msg_flags=0}, MSG_CMSG_CLOEXEC) = 15
mmap(NULL, 217016, PROT_READ, MAP_SHARED, 4, 0) = 0x2b08959af000
close(4)                                = 0
close(3)                                = 0
brk(0x8e34000)                          = 0x8e34000
getpgrp()                               = 29995
rt_sigaction(SIGCHLD, {0x439730, [], SA_RESTORER, 0x2b0896021f60}, {SIG_DFL}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=582*1024, rlim_max=582*1024}) = 0
brk(0x8e35000)                          = 0x8e35000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/var/opt/context/tex/texmf-linux-64/bin/context", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffd5440ee0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR)                   = 0
read(3, "#!/bin/sh\nmtxrun --script context"..., 80) = 39
lseek(3, 0, SEEK_SET)                   = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
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=39, ...}) = 0
lseek(255, 0, SEEK_CUR)                 = 0
brk(0x8e36000)                          = 0x8e36000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/sh\nmtxrun --script context"..., 39) = 39
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
brk(0x8e37000)                          = 0x8e37000
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/opt/context/tex/texmf-linux-64/bin/mtxrun", {st_mode=S_IFREG|0755, st_size=428842, ...}) = 0
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
read(3, "65536\n"..., 31)               = 6
close(3)                                = 0
brk(0x8eb7000)                          = 0x8eb7000
getgroups(65536, [1006])                = 1
stat("/var/opt/context/tex/texmf-linux-64/bin/mtxrun", {st_mode=S_IFREG|0755, st_size=428842, ...}) = 0
brk(0x8eb8000)                          = 0x8eb8000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(Process 14119 attached (waiting for parent)
Process 14119 resumed (parent 14118 ready)
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0896343b80) = 14119
[pid 14119] close(255 <unfinished ...>
[pid 14118] rt_sigprocmask(SIG_SETMASK, [],  <unfinished ...>
[pid 14119] <... close resumed> )       = 0
[pid 14118] <... rt_sigprocmask resumed> NULL, 8) = 0
[pid 14119] rt_sigprocmask(SIG_SETMASK, [],  <unfinished ...>
[pid 14118] rt_sigprocmask(SIG_BLOCK, [CHLD],  <unfinished ...>
[pid 14119] <... rt_sigprocmask resumed> NULL, 8) = 0
[pid 14118] <... rt_sigprocmask resumed> [], 8) = 0
[pid 14119] rt_sigaction(SIGTSTP, {SIG_DFL},  <unfinished ...>
[pid 14118] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 14118] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid 14118] rt_sigaction(SIGINT, {0x43a340, [], SA_RESTORER, 0x2b0896021f60}, {SIG_DFL}, 8) = 0
[pid 14118] wait4(-1, Process 14118 suspended
 <unfinished ...>
[pid 14119] <... rt_sigaction resumed> {SIG_DFL}, 8) = 0
[pid 14119] rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 14119] rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 14119] rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 14119] rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
[pid 14119] rt_sigaction(SIGCHLD, {SIG_DFL}, {0x439730, [], SA_RESTORER, 0x2b0896021f60}, 8) = 0 [pid 14119] execve("/var/opt/context/tex/texmf-linux-64/bin/mtxrun", ["mtxrun", "--script", "context", "--batchmode", "--once", "hello"], [/ * 10 vars */]) = 0
[pid 14119] brk(0)                      = 0x14a3b000
[pid 14119] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2ab674fdb000
[pid 14119] uname({sys="Linux", node="aine.fiee.net", ...}) = 0
[pid 14119] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) [pid 14119] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2ab674fdc000 [pid 14119] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 14119] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 14119] fstat(3, {st_mode=S_IFREG|0644, st_size=20573, ...}) = 0
[pid 14119] mmap(NULL, 20573, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ab674fde000
[pid 14119] close(3)                    = 0
[pid 14119] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 14119] open("/lib/libc.so.6", O_RDONLY) = 3
[pid 14119] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0> \0\1\0\0\0\300\342\1\0\0\0\0\0@"..., 832) = 832
[pid 14119] fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, ...}) = 0
[pid 14119] mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x2ab6751dc000
[pid 14119] mprotect(0x2ab675326000, 2093056, PROT_NONE) = 0
[pid 14119] mmap(0x2ab675525000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2ab675525000 [pid 14119] mmap(0x2ab67552a000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab67552a000
[pid 14119] close(3)                    = 0
[pid 14119] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2ab67552f000
[pid 14119] arch_prctl(ARCH_SET_FS, 0x2ab67552f6e0) = 0
[pid 14119] mprotect(0x2ab675525000, 12288, PROT_READ) = 0
[pid 14119] munmap(0x2ab674fde000, 20573) = 0
[pid 14119] brk(0)                      = 0x14a3b000
[pid 14119] brk(0x14a5c000)             = 0x14a5c000
[pid 14119] execve("/var/opt/context/tex/texmf-linux-64/bin/texlua", ["texlua", "/var/opt/context/tex/texmf-linux"..., "--script", "context", "--batchmode", "--once", "hello"], [/* 10 vars */]) = 0
[pid 14119] brk(0)                      = 0xa7bf000
[pid 14119] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2b76c18c6000
[pid 14119] uname({sys="Linux", node="aine.fiee.net", ...}) = 0
[pid 14119] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) [pid 14119] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2b76c18c7000 [pid 14119] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 14119] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 14119] fstat(3, {st_mode=S_IFREG|0644, st_size=20573, ...}) = 0
[pid 14119] mmap(NULL, 20573, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b76c18c9000
[pid 14119] close(3)                    = 0
[pid 14119] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 14119] open("/lib/libdl.so.2", O_RDONLY) = 3
[pid 14119] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0> \0\1\0\0\0\20\16\0\0\0\0\0\0@"..., 832) = 832
[pid 14119] fstat(3, {st_mode=S_IFREG|0644, st_size=14616, ...}) = 0
[pid 14119] mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x2b76c1ac7000
[pid 14119] mprotect(0x2b76c1ac9000, 2097152, PROT_NONE) = 0
[pid 14119] mmap(0x2b76c1cc9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2b76c1cc9000
[pid 14119] close(3)                    = 0
[pid 14119] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 14119] open("/lib/libm.so.6", O_RDONLY) = 3
[pid 14119] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P> \0\0\0\0\0\0@"..., 832) = 832
[pid 14119] fstat(3, {st_mode=S_IFREG|0644, st_size=534736, ...}) = 0
[pid 14119] mmap(NULL, 2629848, PROT_READ|PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x2b76c1ccb000
[pid 14119] mprotect(0x2b76c1d4d000, 2093056, PROT_NONE) = 0
[pid 14119] mmap(0x2b76c1f4c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x2b76c1f4c000
[pid 14119] close(3)                    = 0
[pid 14119] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 14119] open("/lib/libc.so.6", O_RDONLY) = 3
[pid 14119] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0> \0\1\0\0\0\300\342\1\0\0\0\0\0@"..., 832) = 832
[pid 14119] fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, ...}) = 0
[pid 14119] mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x2b76c1f4e000
[pid 14119] mprotect(0x2b76c2098000, 2093056, PROT_NONE) = 0
[pid 14119] mmap(0x2b76c2297000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2b76c2297000 [pid 14119] mmap(0x2b76c229c000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b76c229c000
[pid 14119] close(3)                    = 0
[pid 14119] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2b76c22a1000 [pid 14119] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2b76c22a2000
[pid 14119] arch_prctl(ARCH_SET_FS, 0x2b76c22a1b10) = 0
[pid 14119] mprotect(0x2b76c2297000, 12288, PROT_READ) = 0
[pid 14119] mprotect(0xab0000, 8192, PROT_READ) = 0
[pid 14119] munmap(0x2b76c18c9000, 20573) = 0
[pid 14119] brk(0)                      = 0xa7bf000
[pid 14119] brk(0xa7e0000)              = 0xa7e0000
[pid 14119] rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
[pid 14119] brk(0xa801000)              = 0xa801000
[pid 14119] brk(0xa822000)              = 0xa822000
[pid 14119] brk(0xa843000)              = 0xa843000
[pid 14119] brk(0xa864000)              = 0xa864000
[pid 14119] stat("/var/opt/context/tex/texmf-linux-64/bin/texlua", {st_mode=S_IFREG|0755, st_size=5371656, ...}) = 0
[pid 14119] lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 14119] lstat("/var/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 14119] lstat("/var/opt/context", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 14119] lstat("/var/opt/context/tex", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 14119] lstat("/var/opt/context/tex/texmf-linux-64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 14119] lstat("/var/opt/context/tex/texmf-linux-64/bin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 14119] lstat("/var/opt/context/tex/texmf-linux-64/bin/texlua", {st_mode=S_IFLNK|0777, st_size=6, ...}) = 0 [pid 14119] readlink("/var/opt/context/tex/texmf-linux-64/bin/texlua", "luatex"..., 2048) = 6 [pid 14119] lstat("/var/opt/context/tex/texmf-linux-64/bin/luatex", {st_mode=S_IFREG|0755, st_size=5371656, ...}) = 0 [pid 14119] stat("/var/opt/context/tex/texmf-linux-64/bin/mtxrun", {st_mode=S_IFREG|0755, st_size=428842, ...}) = 0 [pid 14119] open("/var/opt/context/tex/texmf-linux-64/bin/mtxrun", O_RDONLY) = 3
[pid 14119] close(3)                    = 0
[pid 14119] open("/var/opt/context/tex/texmf-linux-64/bin/mtxrun", O_RDONLY) = 3
[pid 14119] fstat(3, {st_mode=S_IFREG|0755, st_size=428842, ...}) = 0
[pid 14119] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2b76c18c9000 [pid 14119] read(3, "#!/usr/bin/env texlua\n\nif not mod"..., 4096) = 4096 [pid 14119] read(3, "tion nextchar(str, index)\n "..., 4096) = 4096 [pid 14119] read(3, "erns.hexadecimal = P(\"0x\") * R("..., 4096) = 4096
[pid 14119] brk(0xa885000)              = 0xa885000
[pid 14119] read(3, " return s\n else\n "..., 4096) = 4096 [pid 14119] read(3, "kind = (kind == 2 and 3) or 1\n "..., 4096) = 4096 [pid 14119] read(3, "t do -- no ipairs here\n if"..., 4096) = 4096
[pid 14119] read(3, "                      do_serializ"..., 4096) = 4096
[pid 14119] read(3, "at(st,\", \")))\n "..., 4096) = 4096 [pid 14119] read(3, "otes,hexify)\n serialize(root,n"..., 4096) = 4096 [pid 14119] read(3, "at(tt,seperator or \" \")\nend\n\nfunc"..., 4096) = 4096 [pid 14119] read(3, "], f\n else\n return nil,"..., 4096) = 4096
[pid 14119] brk(0xa8a6000)              = 0xa8a6000
[pid 14119] read(3, "ocal tabs = { }\nlocal concat = "..., 4096) = 4096
[pid 14119] read(3, "parator, io.pathseparator, os.typ"..., 4096) = 4096
[pid 14119] read(3, " clue what kind of OSX you're run"..., 4096) = 4096
[pid 14119] read(3, "^.+[/\\\\](.-)$\") or name\nend\n\nloca"..., 4096) = 4096 [pid 14119] read(3, "nd\n if n < 1 then\n "..., 4096) = 4096 [pid 14119] read(3, " = \"Hans Hagen, PRAGMA-ADE, Ha"..., 4096) = 4096
[pid 14119] brk(0xa8c7000)              = 0xa8c7000
[pid 14119] read(3, ")\",\"%1:\"))) or filename\nend\n\nfunc"..., 4096) = 4096 [pid 14119] read(3, " = root .. path\n l"..., 4096) = 4096
[pid 14119] read(3, " function dir.expandname(str) -- "..., 4096) = 4096
[pid 14119] read(3, "lib.mkiv\",\n author = \"Hans "..., 4096) = 4096 [pid 14119] read(3, "ult+1] = concat(tmp)\n "..., 4096) = 4096 [pid 14119] read(3, "ies.report(\"merge: inserting %s\","..., 4096) = 4096
[pid 14119] brk(0xa8f0000)              = 0xa8f0000
[pid 14119] read(3, "AGMA ADE / ConTeXt Development Te"..., 4096) = 4096
[pid 14119] read(3, "               t[#t+1] = key .. '"..., 4096) = 4096
[pid 14119] read(3, " = P(\".\")\nlocal zero "..., 4096) = 4096 [pid 14119] read(3, "nt in next, counters do\n i"..., 4096) = 4096 [pid 14119] read(3, "hen\n local stoptime = "..., 4096) = 4096 [pid 14119] read(3, "ompanion to luat-lib.mkiv\",\n a"..., 4096) = 4096
[pid 14119] read(3, "default -- can be set from cnf fi"..., 4096) = 4096
[pid 14119] read(3, "riments.enable(...)\n report(\"e"..., 4096) = 4096
[pid 14119] brk(0xa911000)              = 0xa911000
[pid 14119] read(3, "eded but saves checking when we g"..., 4096) = 4096
[pid 14119] read(3, "s.report(line)\n end\nend\n\nfunct"..., 4096) = 4096 [pid 14119] read(3, " if not m then\n m = { }\n "..., 4096) = 4096 [pid 14119] read(3, "g[ 0] = arg[2]\n for k=3,#arg d"..., 4096) = 4096 [pid 14119] read(3, "\nend\n\nif arg then\n\n -- new, re"..., 4096) = 4096 [pid 14119] read(3, "name)\n end\n els"..., 4096) = 4096
[pid 14119] brk(0xa932000)              = 0xa932000
[pid 14119] read(3, "ot that down to less 7.3 seconds."..., 4096) = 4096
[pid 14119] read(3, "file: \" .. gsub(txt,\"([ \\n\\r\\t]*)"..., 4096) = 4096
[pid 14119] read(3, "resolved entity &%s; -> %s (inter"..., 4096) = 4096
[pid 14119] read(3, "ttributevalue) / add_attribute\n--"..., 4096) = 4096 [pid 14119] read(3, "tion)^0 * V(\"parent\") * trailer,\n"..., 4096) = 4096
[pid 14119] read(3, "n='lpeg'/> from a filehandle so w"..., 4096) = 4096
[pid 14119] read(3, "i=1,#edt do\n local"..., 4096) = 4096 [pid 14119] read(3, " move to lxml-xml\n\nlocal result\n\n"..., 4096) = 4096 [pid 14119] read(3, "nd v.special and v.tg == \"@p...@\" t"..., 4096) = 4096 [pid 14119] read(3, "elative to current\n-- a|b|c : s"..., 4096) = 4096
[pid 14119] brk(0xa953000)              = 0xa953000
[pid 14119] read(3, " p = ll.__p__\n local d = p"..., 4096) = 4096
[pid 14119] read(3, "                          collect"..., 4096) = 4096
[pid 14119] read(3, " Cc(\"')\")\nlocal lp_number = S(\"+"..., 4096) = 4096 [pid 14119] read(3, "-child\" } -- , apply = "..., 4096) = 4096 [pid 14119] read(3, "= (P(\"***/\") + P(\"/\")) * Cc(regi"..., 4096) = 4096 [pid 14119] read(3, " if type(parsed) == \"string\" the"..., 4096) = 4096
[pid 14119] read(3, "     collected = apply_axis[pi.ax"..., 4096) = 4096
[pid 14119] read(3, "== 0 then\n return -- somet"..., 4096) = 4096
[pid 14119] brk(0xa974000)              = 0xa974000
[pid 14119] read(3, " false\n n = tonumber(n) or"..., 4096) = 4096 [pid 14119] read(3, " local s = match(dkm,\"\\n(%s+"..., 4096) = 4096 [pid 14119] read(3, " end\nend\n\nfunction xml.each(roo"..., 4096) = 4096 [pid 14119] read(3, "cal d, k, rri = r.dt, e.ni, r.ri\n"..., 4096) = 4096 [pid 14119] read(3, "]\n if type(str) ~="..., 4096) = 4096 [pid 14119] read(3, "= xml.insertafter\nxml.insert_elem"..., 4096) = 4096 [pid 14119] read(3, " local e = collection[c]\n "..., 4096) = 4096 [pid 14119] read(3, " return next(t) and t or nil\nend\n"..., 4096) = 4096
[pid 14119] brk(0xa995000)              = 0xa995000
[pid 14119] brk(0xa9b6000)              = 0xa9b6000
[pid 14119] read(3, " currentdir function\n "..., 4096) = 4096 [pid 14119] read(3, "(\"resolvers.expansions\", function"..., 4096) = 4096 [pid 14119] read(3, "turn newlist\nend\n\n-- We also put "..., 4096) = 4096
[pid 14119] read(3, "                dirs[#dirs+1] = p"..., 4096) = 4096
[pid 14119] read(3, "ats['base']                      "..., 4096) = 4096
[pid 14119] read(3, " is somewhat dangerous, we want t"..., 4096) = 4096
[pid 14119] read(3, "ache(\"created: %s\",cachepath)\n "..., 4096) = 4096 [pid 14119] read(3, "itable,...)\n else\n "..., 4096) = 4096 [pid 14119] read(3, "m-%d\"),\n time = os.date"..., 4096) = 4096
[pid 14119] read(3, "ile.dirname, file.basename, file."..., 4096) = 4096
[pid 14119] read(3, "alue and value ~= \"\" then\n "..., 4096) = 4096 [pid 14119] read(3, " end\n "..., 4096) = 4096 [pid 14119] read(3, " instance.files[tag] = { }\n"..., 4096) = 4096 [pid 14119] read(3, " if vv ~= \"\" and not h[vv]"..., 4096) = 4096
[pid 14119] brk(0xa9d7000)              = 0xa9d7000
[pid 14119] read(3, "e[ps] then\n ep"..., 4096) = 4096 [pid 14119] read(3, " if not blobfile then\n "..., 4096) = 4096 [pid 14119] read(3, " local forcedname, ok, suffix = \""..., 4096) = 4096 [pid 14119] read(3, "rt_resolvers(\"forcing filetype '%"..., 4096) = 4096 [pid 14119] read(3, "esolvers(\"match to '%s' in hash f"..., 4096) = 4096 [pid 14119] read(3, " bname = files[rname]\n "..., 4096) = 4096
[pid 14119] read(3, "      local result = command(file"..., 4096) = 4096
[pid 14119] read(3, "bsolete.find_file  = resolvers.fi"..., 4096) = 4096
[pid 14119] read(3, "limit\n\nif not modules then module"..., 4096) = 4096
[pid 14119] read(3, " shared = data.unique, data.share"..., 4096) = 4096
[pid 14119] brk(0xa9f8000)              = 0xa9f8000
[pid 14119] read(3, " end\n else\n"..., 4096) = 4096 [pid 14119] read(3, " report_resolvers(\"zip fin"..., 4096) = 4096 [pid 14119] read(3, "\n filter = format(\"^%s/(.+"..., 4096) = 4096
[pid 14119] read(3, "solvers.finders, resolvers.opener"..., 4096) = 4096
[pid 14119] read(3, "olvers(\"! locating '%s'\",name)\n "..., 4096) = 4096 [pid 14119] read(3, "resolvers.cleanpath(oldname)\n "..., 4096) = 4096 [pid 14119] read(3, "olvers = resolvers\n\nlocal functio"..., 4096) = 4096 [pid 14119] read(3, " else\n re"..., 4096) = 4096 [pid 14119] read(3, "os.platform == \"unix\" and \"\\\\\\\\\" "..., 4096) = 4096 [pid 14119] read(3, " .. \"/../../../texmf-dist/tex/con"..., 4096) = 4096
[pid 14119] brk(0xaa19000)              = 0xaa19000
[pid 14119] read(3, "tions = {\n [\"lua\"] = \"luatex -"..., 4096) = 4096 [pid 14119] read(3, "ormat\n local path, nam"..., 4096) = 4096 [pid 14119] read(3, "mpleline()\n logs.simpl"..., 4096) = 4096 [pid 14119] read(3, "\n end\n end\nend\n\nfunctio"..., 4096) = 4096 [pid 14119] read(3, "te but only if --autogenerate\n "..., 4096) = 4096 [pid 14119] read(3, "his script\n-- ... later we will u"..., 4096) = 4096 [pid 14119] read(3, "xecute\") then\n\n -- execute scr"..., 4096) = 4096 [pid 14119] read(3, "guments_after)\n resolvers.dowi"..., 4096) = 2858
[pid 14119] read(3, ""..., 4096)        = 0
[pid 14119] close(3)                    = 0
[pid 14119] munmap(0x2b76c18c9000, 4096) = 0
[pid 14119] brk(0xaa3c000)              = 0xaa3c000
[pid 14119] brk(0xaa5f000)              = 0xaa5f000
[pid 14119] brk(0xaa82000)              = 0xaa82000
[pid 14119] brk(0xaaa3000)              = 0xaaa3000
[pid 14119] uname({sys="Linux", node="aine.fiee.net", ...}) = 0
[pid 14119] --- SIGTERM (Terminated) @ 0 (0) ---
Process 14118 resumed
Process 14119 detached
<... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], 0, NULL) = 14119 write(2, "/var/opt/context/tex/texmf-linux-"..., 116/var/opt/context/ tex/texmf-linux-64/bin/context: line 2: 14119 Terminated mtxrun --script context "$@"
) = 116
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fffd5440bd4, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0x8)                       = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x43a340, [], SA_RESTORER, 0x2b0896021f60}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, ""..., 39)                    = 0
exit_group(143)                         = ?



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to