Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] Re: (PR#12430) xaw client not starting up
Home

[Freeciv-Dev] Re: (PR#12430) xaw client not starting up

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: infyquest@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12430) xaw client not starting up
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Mar 2005 09:40:03 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12430 >

Vijay Kiran Kamuju wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12430 >
> 
> Im using latest cvs
> 
> im using cygwin on windows to compile and run freeciv
> 
> i did pngquant on some of the images, so that i can run without the
> the image hasnot got any palette errors.
> 
> im getting this error i used civclient -l civerr.txt, nothing
> interresting is there in that file
> 
> Encodings: Data=UTF8, Local=ISO-8859-1, Internal ISO-8859-1
> X Error of failed request:  BadMatch(invalid parameter attributes)
> Major opcode of failed request:  93 (X_CreateCursor)
> Serial number of failed request:  5234
> Current serial number in output stream: 5238
> 
> after analysis with insight on cygwin 
> 
> it is crashing in the for loop after load_cursors and
> InitializeActions, when i=0
> just after we assign the sprite 

I wrote this code but never tested it.  Some things to check:

* Does get_cursor_sprite() return NULL?  The cursors can't be loaded 
until after the tileset is loaded.

* Does XCreatePixmapCursor expect a bitmap (monochrome image) rather 
than a pixmap?

-jason





[Prev in Thread] Current Thread [Next in Thread]