XLib - Development - Error message - Debug
I am trying to write a software to draw simple shapes under X. I use the XLib. Every went smoothly at the begining. As I need some flashing colors, I tried to create my own colormap. After creating a window with the right visaul (DirectColor), I tried to create my colormap with the same visual and I get the following error message: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 78 (X_CreateColormap) Value in failed request: 0x0 Serial number of failed request: 9 Current serial number in output stream: 11 I have no idea how to debug this. Which value, which integer. Does the problem come from my Ubuntu? Does anyone have any idea? Is Ubuntu compliant with X standarts?
- El_angelito's blog
- Login or register to post comments

Recent comments
2 weeks 22 hours ago
3 weeks 5 days ago
13 weeks 3 days ago
13 weeks 5 days ago
15 weeks 2 days ago
26 weeks 18 hours ago
28 weeks 12 min ago
28 weeks 1 day ago
30 weeks 6 days ago
33 weeks 1 day ago