[994] in Zephyr_Bugs
Re: Zephyr on Solaris 2.6??...strange things happening..
daemon@ATHENA.MIT.EDU (Marc Horowitz)
Tue Feb 22 20:07:21 2000
From: Marc Horowitz <marc@MIT.EDU>
To: Mike Smith <mismith@us.oracle.com>
Cc: bug-zephyr@MIT.EDU
Date: 22 Feb 2000 20:07:08 -0500
In-Reply-To: Mike Smith's message of "Tue, 22 Feb 2000 20:03:59 -0500"
Message-Id: <t53n1os7mmb.fsf@horowitz.ne.mediaone.net>
Mike Smith <mismith@us.oracle.com> writes:
>> The more important issue for us is the use of colors when sending
>> windowgrams/zwrites. When it comes to colors in normal zwrite, we get
>> mixed results. For a day or two, all colors work, after this, one color
>> may work and then a day later, no colors work (only black text). When a
>> particular color fails, an error is received like the following "zwgc:
>> Error in XAllocColor on "whatever color": using default color.
I can't help you with your xzwrite problem, but the color problem I
can explain.
zwgc allocates colors as they are used, but there is no mechanism in
zwgc for keeping reference counts on colors so they can be
deallocated. What is happening is that your colormap is filling, and
then there are no more new colors available to you. Colors which have
been previously used by zwgc, or are in current use by any
application, should continue to work.
The simple workaround is to kill zwgc, and run it again.
Marc