JohannesEbke/a4 — Issue #51: ptrace deadlock
Author: pwaller
Created: 2012-01-12 10:29:08+00:00
State: open
Labels: Blocker, Bug

I'm observing root2a4 freezing without any printout when it encounters a fatal error. (Discovered this the hard way, on the grid). It's apparent running "strace -ff" that:

open("/user1/pwaller/.cache/a4/last-fatal-error", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7
write(7, "A4 FATAL ERROR: Only compression"..., 285) = 285
write(7, "FULL BACKTRACE:\n", 16) = 16
write(7, "ptrace: Operation not permitted."..., 48) = 48

.. shortly afterwards the process appears stuck, doing nothing. Any idea for a quick fix?