From: Lyle Johnson Date: 2002-04-19T22:29:00+09:00 Subject: Re: Ruby crash when drawing an Icon in FXDCWindow > an strange behaviour of FXDCWindow::drawIcon is happenning. Ruby > crashes with a Segmentation fault when trying to draw an icon on a > FXCanvas using drawIcon, unless the icon was previously drawn as part > of the interface (ie toolbar). Without any more information, I have the feeling that you have constructed a new FXIcon after the program's running but failed to call create() on that new icon. Find the line where you construct the icon, e.g. myIcon = FXGIFIcon.new(app, ...) and add a line immediately after that: myIcon.create to see if it fixes the problem. For more details, see this question in the FAQ: http://www.fox-toolkit.org/faq.html#ILLEGALICON Hope this helps, Lyle