http://bugs.winehq.org/show_bug.cgi?id=15534
--- Comment #29 from Alexandre Julliard julliard@winehq.org 2009-06-30 15:01:32 --- Judging by some of the other traces, it's very likely a GDI handle leak.
A +gdi,+relay trace would probably be the best way. It doesn't have to be run until it crashes, just long enough that we can see which handle values are consistently increasing.