http://bugs.winehq.org/show_bug.cgi?id=7810
------- Additional Comments From dmitry@codeweavers.com 2007-21-03 05:24 -------
Things such as the message appearing at least once for each distinct bitmap created, or that similar errors (and crashes) already fixed have been centered around this code.
Have you investigated some kind of a log? Does commenting out an error exit in X11DRV_CreateBitmap help?
What makes you think that this is /not/ the cause for the black icons?
It can be a lot of other reasons or bugs.