Tim,

The Xlib version (both with X11 drawing and cairo) currently segfaults in 
xtfuncs.c:overdrawpixmap at the first call to XtGetValues. The segfault happens 
when I change color.

If I start with a line and change to color to say green, there is no problem, 
since its index > NUMBER_OF_COLORS.
But if I select black, the index is 1. And the addtocolorlist has never been 
called for this index.
The proper index I think should have been NUMBER_OF_COLORS (17), since this is 
the first color entry generated by addtocolorlist with a proper cbutton pointer.

I tried to trace it but you probably know better what is happening and why.

Erik.



_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to