http://bugs.winehq.org/show_bug.cgi?id=27393
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com 2011-07-26 09:06:44 CDT --- Created an attachment (id=35702) --> (http://bugs.winehq.org/attachment.cgi?id=35702) winealsa.drv: Fix AudioRenderClient write pointer calculation
Thanks for the nice analysis, Jörg. I think the problem is calculating the buffer write pointer incorrectly. If you look at the patch, you'll see two spots where it calculates the write pointer offset using only lcl_offs_frames. It should use (lcl_offs_frames + held_frames). This patch changes that.
I wasn't able to reproduce your crash here, unfortunately. So please give this a try and see if it's any better.