After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576366 - Nautilus "properties" selection is hang for root user while in a large NIS system
Nautilus "properties" selection is hang for root user while in a large NIS s...
Status: RESOLVED DUPLICATE of bug 324051
Product: nautilus
Classification: Core
Component: general
2.26.x
Other All
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-23 09:36 UTC by Chris Wang
Modified: 2009-05-11 08:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Chris Wang 2009-03-23 09:36:16 UTC
Steps to reproduce:
This bug can be reproduce only if you are in a extremely  large NIS system

Step1: Login by root.

Step2: Right click on any File or Folder and select "Properties", and then no
response comes up.

Stack trace:
The root cause for the problem is the machine is in a extremely large NIS system, when you log in as root and select properties, it will call getpwent() to retrieve user names from the NIS database, and then it will process each user name in nautilus_get_user_names() in nautilus_file.c. 

I think we should at least set some MAXIMUM value in  nautilus_get_user_names to avoid the hang

Other information:
Comment 1 Harry Lu 2009-05-11 08:37:14 UTC

*** This bug has been marked as a duplicate of 324051 ***