http://bugs.winehq.org/show_bug.cgi?id=29817
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com 2012-02-07 09:43:22 CST --- The crash is caused by a bug in PortAudio's error path for its post-Vista audio backend. We trigger the error path because we're missing ksuser.dll. From the PortAudio source:
PaError PaWinWdm_Initialize(...) { PaError result = paNoError;
if(DllKsUser == NULL) { DllKsUser = LoadLibrary(TEXT("ksuser.dll")); if(DllKsUser == NULL) goto error; }
...
error: return result; }
Notice that 'result' returns paNoError even though initialization failed. Other error paths in that function do set 'result' to some error code.
I didn't investigate further, but it looks like Bad Stuff happens as a result.
So the problem here is we need ksuser.dll.