Comment 6 for bug 910287

Revision history for this message
Hans Deragon (deragon) wrote :

Currently have this problem on 12.04 when running as root and running 'ps -ef'. 'ps' alone works. 'top' works. Below, the output of strace where it hangs. Seams that the problem is Xorg in my case. I just switch my computer to the proprietary ATI driver. Still, regardless of what is running, ps (or the underlining /proc) should never hang. I tried the following and it hangs too. <CTRL-C> does not help.

# cat /proc/1899/cmdline

strace of ps:

[... deleted lines ...]
write(1, "bind 1881 1 0 07:35 ? "..., 72bind 1881 1 0 07:35 ? 00:00:00 /usr/sbin/named -u bind
) = 72
stat("/proc/1899", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/1899/stat", O_RDONLY) = 6
read(6, "1899 (Xorg) D 1867 1899 1899 103"..., 1023) = 380
close(6) = 0
open("/proc/1899/status", O_RDONLY) = 6
read(6, "Name:\tXorg\nState:\tD (disk sleep)"..., 1023) = 763
close(6) = 0
open("/proc/1899/cmdline", O_RDONLY) = 6
read(6,