From owner-freebsd-gnome Fri Nov 29 11:58: 9 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A57C37B401 for ; Fri, 29 Nov 2002 11:58:08 -0800 (PST) Received: from fugu.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id C843B43EA9 for ; Fri, 29 Nov 2002 11:58:07 -0800 (PST) (envelope-from gnome@fugu.marcuscom.com) Received: from fugu.marcuscom.com (localhost.marcuscom.com [127.0.0.1]) by fugu.marcuscom.com (8.12.6/8.12.6) with ESMTP id gATJw58p048032; Fri, 29 Nov 2002 14:58:05 -0500 (EST) (envelope-from gnome@fugu.marcuscom.com) Received: (from gnome@localhost) by fugu.marcuscom.com (8.12.6/8.12.6/Submit) id gATJw5vP048031; Fri, 29 Nov 2002 14:58:05 -0500 (EST) Date: Fri, 29 Nov 2002 14:58:05 -0500 (EST) Message-Id: <200211291958.gATJw5vP048031@fugu.marcuscom.com> From: Joe Marcus Clarke To: submit@bugs.gnome.org Cc: gnome@freebsd.org X-Mailer: bug-buddy 2.2.0 Subject: Nautilus assumes a thread stack size > 64 K Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message