Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 14:58:05 -0500 (EST)
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        submit@bugs.gnome.org
Cc:        gnome@freebsd.org
Subject:   Nautilus assumes a thread stack size > 64 K
Message-ID:  <200211291958.gATJw5vP048031@fugu.marcuscom.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211291958.gATJw5vP048031>