GNOME Bugzilla – Bug 170922
sniffing mime-type for /proc/kmsg blocks
Last modified: 2008-09-06 19:10:29 UTC
Version details: compiled inhouse Distribution/Version: Mandrake 9.1 updated by hand I don't know exactly, just login as root an everything goes fine until you access the /proc folder... I use another graphical browsers and they can open /proc folder... (sorry for my english) Using Mandrake 9.1 updated by hand... many patches and programs compiled not RPMS neither other PACKAGES... Kernel 2.4.21-0.13mdk Gcc 3.2.2 libc-2.3.1 Athlon AMD 1.3mhz processor 256 Mb RAM /dev/hda1 is ext3 using: usbdevfs using: devpts using: ide-scsi for CDRW device Thanks in advances, bye!
Everything freezes i forgot to comment... No mouse, keyboard, nothing need to reboot by hand...
I can actually reproduce this, but it's an issue with gnome-vfs: It hangs on sniffing the mime type for /proc/kmsg. Reading that file blocks, hanging nautilus (and gnomevfs-ls) indefinitly. Only root has read access to kmsg, so it doesn't happen for non-root users.
Using kernel 2.6.11 now, and Nautilus don't crash inmediately but when you open another Folder and press Ctrl+R to update its view... It can be reproduced easy.. least dont't crash if you don't update manually the Nautilus View as Icons... What can we do?
Note that this can lockup can be reproduced using sudo gnomevfs-info /proc/kmsg.
Well it's definately the mime sniffing. So the question here is if we wanna try to make gnome_vfs_get_file_mime_type_internal not block forever, which I think is a good idea anyway. I will look into this tomorrow. Thanks
Ok I got two possible solutions. Fixing it tomorrow!
Did you fix this and forget to close the bug, gicmo?
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/43346 "cant enter /proc as root (nautilus) /proc appears to be empty when trying to see it with sudo nautilus as a user everything is normal ..."
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome. If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs. @Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together. General further information: http://en.wikipedia.org/wiki/GVFS Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html