Comment 2 for bug 771805

Revision history for this message
Riku Voipio (riku-voipio) wrote : Re: [armel] ltrace hangs

Confirmed, Beagle B5, linary natty beta2 2.6.38-1002-linaro-omap

strace ltrace /bin/true
write(2, "__libc_start_main(", 18__libc_start_main() = 18
write(2, "36181", 536181) = 5
write(2, ", ", 2, ) = 2
write(2, "1", 11) = 1
write(2, ", ", 2, ) = 2
write(2, "0xbea048f4", 100xbea048f4) = 10
write(2, ", ", 2, ) = 2
write(2, "41393", 541393) = 5
write(2, ", ", 2, ) = 2
ptrace(PTRACE_PEEKDATA, 818, 0xbea048e8, [0xa1f1]) = 0
write(2, "41457", 541457) = 5
ptrace(PTRACE_PEEKTEXT, 818, 0x8b8e, [0xef0ef7ff]) = 0
ptrace(PTRACE_POKETEXT, 818, 0x8b8e, 0xef0ede01) = 0
ptrace(PTRACE_PEEKTEXT, 818, 0x89c4, [0xe7f001f0]) = 0
ptrace(PTRACE_POKETEXT, 818, 0x89c4, 0xe28fc600) = 0
ptrace(PTRACE_POKEUSER, 818, pc, 0x89c4) = 0
ptrace(PTRACE_SINGLESTEP, 818, 0, SIG_0) = -1 EIO (Input/output error)
wait4(-1,

One option is to ditch ltrace and use latrace instead.