DragonFly BSD
DragonFly submit List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

strace or something else broken?


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Fri, 21 Nov 2003 23:44:06 +0100

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@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@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...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]