j...@turtle:~>ps -ax |grep hpodder Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 8728 ? Ss 0:00 /bin/sh -c hpodder >/dev/null; . $HOME/.environment; mpc update >/dev/null 8729 ? S 5:23 hpodder 8748 ? S 0:00 hpodder 26132 pts/4 S+ 0:00 grep hpodder j...@turtle:~>strace -p 8748 Process 8748 attached - interrupt to quit pause(^C <unfinished ...> Process 8748 detached j...@turtle:~>strace -p 8729 Process 8729 attached - interrupt to quit select(0, [], [], NULL, {1, 4389}) = 0 (Timeout) gettimeofday({1264455824, 65}, NULL) = 0 wait4(8748, 0x41268018, WNOHANG, NULL) = 0 gettimeofday({1264455824, 2650}, NULL) = 0 gettimeofday({1264455824, 3834}, NULL) = 0 select(0, [], [], NULL, {0, 0}) = 0 (Timeout) gettimeofday({1264455824, 6462}, NULL) = 0 gettimeofday({1264455824, 8705}, NULL) = 0 select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) write(1, "\r94% [29 0 B/1 B 0%] "..., 80) = 80 --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- sigreturn() = ? (mask now [QUIT TRAP ABRT FPE KILL USR1 SEGV USR2 ALRM TTIN TTOU URG XCPU]) gettimeofday({1264455824, 47646}, NULL) = 0 gettimeofday({1264455824, 50839}, NULL) = 0 select(0, [], [], NULL, {0, 980000}) = 0 (Timeout) gettimeofday({1264455825, 50065}, NULL) = 0 wait4(8748, 0x41268068, WNOHANG, NULL) = 0 gettimeofday({1264455825, 52410}, NULL) = 0 gettimeofday({1264455825, 53571}, NULL) = 0 select(0, [], [], NULL, {0, 20000}) = 0 (Timeout) gettimeofday({1264455825, 89935}, NULL) = 0 gettimeofday({1264455825, 91316}, NULL) = 0 gettimeofday({1264455825, 93527}, NULL) = 0 gettimeofday({1264455825, 95011}, NULL) = 0 select(0, [], [], NULL, {0, 0}) = 0 (Timeout) select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) write(1, "\r94% [29 0 B/1 B 0%] "..., 80) = 80 gettimeofday({1264455825, 111036}, NULL) = 0 gettimeofday({1264455825, 112180}, NULL) = 0
Hung at 94%, rather than 100% this time. (gdb) bt #0 0x40288330 in pause () from /lib/libc.so.6 #1 0x40288324 in pause () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) After killing the child, the parent jumped to 100% and continued looping until I also killed it. --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- sigreturn() = ? (mask now []) write(1, "\r100% "..., 80) = 80 gettimeofday({1264456102, 298102}, NULL) = 0 gettimeofday({1264456102, 301284}, NULL) = 0 select(0, [], [], NULL, {1, 0}) = 0 (Timeout) gettimeofday({1264456103, 323151}, NULL) = 0 gettimeofday({1264456103, 324496}, NULL) = 0 gettimeofday({1264456103, 326705}, NULL) = 0 select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) write(1, "\r100% "..., 80) = 80 gettimeofday({1264456103, 341614}, NULL) = 0 gettimeofday({1264456103, 345011}, NULL) = 0 select(0, [], [], NULL, {1, 20000}) = 0 (Timeout) gettimeofday({1264456104, 386809}, NULL) = 0 gettimeofday({1264456104, 391024}, NULL) = 0 gettimeofday({1264456104, 393983}, NULL) = 0 select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) write(1, "\r100% "..., 80) = 80 gettimeofday({1264456104, 403470}, NULL) = 0 gettimeofday({1264456104, 406319}, NULL) = 0 select(0, [], [], NULL, {1, 20000}) = 0 (Timeout) gettimeofday({1264456105, 443175}, NULL) = 0 gettimeofday({1264456105, 444518}, NULL) = 0 gettimeofday({1264456105, 446723}, NULL) = 0 select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- sigreturn() = ? (mask now []) write(1, "\r100% "..., 80) = 80 gettimeofday({1264456105, 468001}, NULL) = 0 gettimeofday({1264456105, 470910}, NULL) = 0 select(0, [], [], NULL, {1, 20000}) = 0 (Timeout) gettimeofday({1264456106, 513193}, NULL) = 0 gettimeofday({1264456106, 514540}, NULL) = 0 gettimeofday({1264456106, 516751}, NULL) = 0 select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- -- see shy jo
signature.asc
Description: Digital signature