strace or something else broken?

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Fri Nov 21 14:45:54 PST 2003


Funny bug here.

install strace
touch blah
su -m
# chflags schg blah
^D
rm blah
asks about override: y
error denied

Next:

strace rm blah
-HANG-
ps -ax | grep strace (you should see two processes, look at PID of
second)
gdb
attach PID
quit
y

and watch the strace on rm take place all of a sudden, it then hangs on
user input, enter y and enter and watch the process finish off as it
should.

[23:41] [asmodai at purgatory] (552) {0} $ ps -axl | grep strace 
 1000 73722 69715   0 168   0  1048  632 piocwa IL+   p6    0:00.01 strace ls
 1000 73723 73722   0 168   0  1048  604 -      TL+   p6    0:00.00 strace ls

After the quit it only leaves the first PID:

[23:42] [asmodai at purgatory] (552) {0} $ ps -axl | grep strace
 1000 73722 69715   0 168   0  1052  652 piocwa SL+   p6    0:00.01 strace ls

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://www.in-nomine.org/~asmodai/diary/
Losing your life is not the only way to die...





More information about the Submit mailing list