From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: undefined color: black Date: Wed, 05 Apr 2006 03:01:04 -0400 Organization: Bell Sympatico Message-ID: <87y7ykh5rf.fsf-monnier+gnu.emacs.help@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144222877 11070 80.91.229.2 (5 Apr 2006 07:41:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Apr 2006 07:41:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 05 09:41:15 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FR2dE-0005QW-1D for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Apr 2006 09:40:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FR2dD-0008VC-Dq for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Apr 2006 03:40:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Wk5sf1gtuZEezcCEt4Ttt9nVm44= Original-Lines: 26 Original-NNTP-Posting-Host: 70.55.147.51 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1144220463 70.55.147.51 (Wed, 05 Apr 2006 03:01:03 EDT) Original-NNTP-Posting-Date: Wed, 05 Apr 2006 03:01:03 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:138553 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34171 Archived-At: > I'm unable to start Emacs on a Fedora Core 5 x86_64 install running with > the rpm.livna.net Nvidia driver. I get 'underfined color: black' and > similar messages about undefined colors if I try xemacs. 'emacs -nw' > works fine. Has anybody seen this problem? If so, do you know how to > fix it? By "xemacs", do you really mean XEmacs or just Emacs but in X11-mode? Assuming it's the latter, I've never seen such a problem, but in some pre-release version of Emacs I bumped into a problem that looked similar, where the black color would be hijacked (rather than undefined). This was on an 8bit display (max 256 different colors) and was due to Emacs never releasing colors while it continuously re-allocated the same colors, so if you kept it running long enough the ref-count on the often used colors (e.g. black) would wrap around the 2G limit and so it would erroneously find itself "free" for re-allocation. Now what you're seeing is not this bug: the wrap-around has been fixed since in the X11 server, and the failure to deallocate colors was also fixed in Emacs before the 21.1 release. But maybe it's a similar bug somewhere. Probably not, but I felt like telling my story anyway ;-) Stefan