GNOME Bugzilla – Bug 315254
gnome-system-tools hangs on FreeBSD
Last modified: 2006-05-29 12:00:01 UTC
Please describe the problem: I've brought this up before, and we've made some progress internally, but now I'm stumped, and I'm not sure how to get better debugging. What happens, and this is very reproducible, is that any of the tools (e.g. users-admin) hangs when clicking on Ok to apply changes. Basically, if I add a user using users-admin, then click Ok, the window grays, and sits there forever. The debugging files under /var/cache don't get updated once I click on Ok, and the user is not added. I have no idea what it's doing, but I have a feeling it has to do with the new gst-auth.c code that performs I/O with the backend scripts. Steps to reproduce: 1. Launch one of the tools (e.g. users-admin) 2. Make a change 3. Click Ok Actual results: The window grays out, and hangs indefintiely. The changes do not get saved. Expected results: The window should disappear, and the changes should be saved. Does this happen every time? Yes. Other information: I'd be happy to provide any additional information if someone could help me with enabling the right debugging.
Created attachment 51829 [details] [review] Possible fix for #315254 This patch solves the problem for me (on several FreeBSD-GNOME machines) for a long time already. It removes evil waitpid(), which waits forever for tool backend to exit. Without this waitpid(), the backend exits successfully (saving all states). Enjoy!
Oops... The second chunk of the patch is from FreeBSD ports cvs. Credit for that is not mine :)
Both patches are already in the tree, and they do not solve this problem.
Hmmm, I'll have to reinstall FreeBSD one of these days, I'm sorry about g-s-t 1.4.0 being released with this bug...
Fixed in cvs, thanks :) *** This bug has been marked as a duplicate of 341701 ***