GNOME Bugzilla – Bug 99917
Nautilus assumes a thread stack size > 64 K
Last modified: 2004-12-22 21:47:04 UTC
Package: nautilus Severity: critical Version: 2.0.8 Synopsis: Nautilus assumes a thread stack size > 64 K Bugzilla-Product: nautilus Bugzilla-Component: Thumbnails Description: Description of Problem: When Nautilus is rendering non-JPEG thumbnails it creates a thread that allocates a 64 K buffer array. This allocation causes Nautilus to hang on FreeBSD where the default thread stack size is only 64 K. Steps to reproduce the problem: 1. Create a PNG screen shot in your home directory 2. Open your home directory in Nautilus 3. Actual Results: Nautilus will hang on FreeBSD. Expected Results: Nautilus should render the thumbnail correctly, and not hang. How often does this happen? All the time. Additional Information: A patch is forthcoming that corrects the problem by calling pthread_attr_setstacksize() to make sure the thread stack is large enough. I did a 128 K stack size, but this is probably overkill. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-11-29 15:00 ------- Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.
Created attachment 12642 [details] [review] Allocate a larger stack for the thumbnail thread
Note, this also affects Nautilus 2.1.3. The same patch applies.
Fixed in CVS.