[comp.windows.open-look] BadAccess

jdr@jrx.mlb.semi.harris.com (Jim Ray) (11/07/90)

I have encountered a problem running "xv" ( a gif viewer ) under 
openwindows 2.0 ( open-look ).

I get the Following X error:
	BadAccess
	Request Major code 88 () --> which is X_FreeColors
	ResourceID 0x120005c.... etc

This only occurs after bringing up a couple of the color gif images.
Could this be in any way a problem with openwindows2.0 or a more generic
problem.


--
Jim Ray                                Harris Semiconductor
Internet:  jdr@mlb.semi.harris.com     PO Box 883   MS 62B-022
Phone:     (407) 729-5059              Melbourne, FL  32901

naughton@wind.Eng.Sun.COM (Patrick Naughton) (11/10/90)

This is a known bug in version 2 where you cannot call XFreeColor()
twice on the same colorcell, where X11R4 *requires* you to free each
color the number of times that you allocated it.  I have a patched
version of xv which works around the problem...   You more or less want
to only free each color once to get around the problem.  This is fixed
in the next release. (no I can't tell you when it will be available)

-Patrick

In article <1990Nov6.203004.6062@mlb.semi.harris.com>,
jdr@jrx.mlb.semi.harris.com (Jim Ray) writes:
|> I have encountered a problem running "xv" ( a gif viewer ) under 
|> openwindows 2.0 ( open-look ).
|> 
|> I get the Following X error:
|> 	BadAccess
|> 	Request Major code 88 () --> which is X_FreeColors
|> 	ResourceID 0x120005c.... etc
|> 
|> This only occurs after bringing up a couple of the color gif images.
|> Could this be in any way a problem with openwindows2.0 or a more
|> generic
|> problem.
|> 
|> 
|> --
|> Jim Ray                                Harris Semiconductor
|> Internet:  jdr@mlb.semi.harris.com     PO Box 883   MS 62B-022
|> Phone:     (407) 729-5059              Melbourne, FL  32901

--
    ______________________________________________________________________
    Patrick J. Naughton				    ARPA: naughton@sun.com
    Windows and Graphics Group			    UUCP: ...!sun!naughton
    Sun Microsystems, Inc.			    AT&T: (415) 336 - 1080