[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]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12430 >
On Fri, 4 Mar 2005 09:40:03 -0800
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> wrote:
JS>Vijay Kiran Kamuju wrote:
JS>> Encodings: Data=UTF8, Local=ISO-8859-1, Internal ISO-8859-1
JS>> X Error of failed request: BadMatch(invalid parameter attributes)
JS>> Major opcode of failed request: 93 (X_CreateCursor)
JS>> Serial number of failed request: 5234
JS>> Current serial number in output stream: 5238
JS>>
JS>> after analysis with insight on cygwin
JS>>
JS>> it is crashing in the for loop after load_cursors and
JS>> InitializeActions, when i=0
JS>> just after we assign the sprite
JS>
JS>I wrote this code but never tested it. Some things to check:
JS>
JS>* Does get_cursor_sprite() return NULL? The cursors can't be loaded
JS>until after the tileset is loaded.
JS>* Does XCreatePixmapCursor expect a bitmap (monochrome image) rather
JS>than a pixmap?
Xlib manual says that XCreatePixmapCursor is used to create cursor from two
bitmaps.
It also says that this function can generate BadAlloc and BadPixmap errors.
BTW, it seems, that cursors are loaded normally on my linux mashine (CVS HEAD
today,
30 mins ago, with patch from #12111). (Not that i have tested it under
windows...)
Thanks, evyscr.
- [Freeciv-Dev] Re: (PR#12430) xaw client not starting up, Jason Short, 2005/03/04
- [Freeciv-Dev] Re: (PR#12430) xaw client not starting up, Vijay Kiran Kamuju, 2005/03/05
- [Freeciv-Dev] Re: (PR#12430) xaw client not starting up,
Egor Vyscrebentsov <=
- [Freeciv-Dev] Re: (PR#12430) xaw client not starting up, Vijay Kiran Kamuju, 2005/03/07
- [Freeciv-Dev] Re: (PR#12430) xaw client not starting up, Vijay Kiran Kamuju, 2005/03/13
- [Freeciv-Dev] Re: (PR#12430) xaw client not starting up, Vijay Kiran Kamuju, 2005/03/14
- [Freeciv-Dev] (PR#12430) xaw client not starting up, Jason Short, 2005/03/15
- [Freeciv-Dev] Re: (PR#12430) xaw client not starting up, Vijay Kiran Kamuju, 2005/03/16
|
|