http://bugs.winehq.org/show_bug.cgi?id=22500
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2010-04-27 05:18:59 --- You'll probably end up with a53a3f50ad02997167de0438f12ea992d6236e27 or a related commit, which would make this a duplicate of bug 22426. If you try with current git though, you'll probably find that 11c7a67ac317130ecd980a5880fb1a2974570f33 works around the issue.
Either way though, this is a known bug in 185.18.36, and anything that kills your X server is by definition not a Wine bug.