XCreateColormap() for Pseudocolor 15bit fails

Felix Schulte felix.schulte at gmail.com
Fri Apr 8 12:29:26 PDT 2005


Hello,

does anyone know under which conditions XCreateColormap() can fail? I
have selected a Pseudocolor 15bit visual but calling XCreateColormap()
fails all the time:
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  78 (X_CreateColormap)
  Serial number of failed request:  39
  Current serial number in output stream:  40

Breakpoint 1, 0x40178ab6 in exit () from /lib/libc.so.6
(gdb) where
#0  0x40178ab6 in exit () from /lib/libc.so.6
#1  0x40070d10 in _XDefaultError (dpy=0x8052838, event=0xbffff340) at
XlibInt.c:2831
#2  0x40070e82 in _XError (dpy=0x8052838, rep=0xbffff430) at XlibInt.c:2883
#3  0x4006edde in _XReply (dpy=0x8052838, rep=0xbffff430, extra=0,
discard=1) at XlibInt.c:1812
#4  0x40068762 in XSync (dpy=0x8052838, discard=0) at Sync.c:45
#5  0x40068825 in _XSyncFunction (dpy=0x1) at Synchro.c:34
#6  0x40047725 in XCreateColormap (dpy=0x8052838, w=61,
visual=0x8057d38, alloc=0) at CrCmap.c:51

Any ideas, comments, opinions on what I am doing wrong?
-- 
      _        Felix Schulte
    _|_|_     mailto:felix.schulte at gmail.com
    (0 0)        
ooO--(_)--Ooo


More information about the xorg-arch mailing list