[Bug 29817] lmms crash at startup
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Feb 7 09:43:22 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=29817
--- Comment #3 from Andrew Eikum <aeikum at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list