I have recently built Shrimp on my system after downloading all the required packages onto a debian based OS. Compiling went fine and had no errors at all but when running shrimp the program fails to redraw, captures all desktop elements (windows, pop ups etc...) and I get an error like this many times over (pretty much any movement made to the window or menu bar)
XRequest.144: GLXBadDrawable 0x3e0000e
(the last number usually changes each run)
Please give Shrimp version as well as video card and driver (there are some known issues with NVidia and OpenGL 3 for example).
I had the same problem, but it was an issue with fltk 2, updating to a relatively recent svn checkout solved it. It's also referenced in the fltk2 mailing list if my memory serves me right.