[PATCH 1/1] winecoreaudio: Make sure Port_SendToMessageThread is non-NULL in CoreAudio_WaveRelease.

Ken Thomases ken at codeweavers.com
Mon Jan 28 18:05:51 CST 2008


On Jan 28, 2008, at 8:06 AM, Misha Koshelev wrote:

> I have started playing with wine on MacOS in VMWare.  
> wineprefixcreate page faults on my
> MacOS "system" and I tracked it to Port_SendToMessageThread staying  
> NULL because of:
> err:wave:CoreAudio_WaveInit AudioHardwareGetProperty:  
> CoreAudio_DefaultDevice.outputDeviceID == kAudioDeviceUnknown
> Clearly wineprefixcreate shouldn't be page faulting under any  
> condition.

It seems to me that the driver ought to just fail to load in this  
case.  If you back out your patch and apply the attached patch, does  
that fix the page fault?

-Ken

-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_detect_load_failure.patch
Type: application/octet-stream
Size: 2700 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080128/40d7fe3b/attachment.obj 
-------------- next part --------------



More information about the wine-patches mailing list