v1.6.7 beta 17: Changing hardware buffer of exclusive output causes BSoD
2021-07-31 03:22:32
environment:Win 10 Pro 64bit 21H1 (19043.1151) Sound Blaster ZxR (driver version: 6.0.102.75) foobar 2000 1.6.7 beta 17 WASAPI exclusive output To enable event mode, I checked Preferences -> Advanced -> Playback -> [Exclusive output overrides] and [Use event]. Playback failed because of "Unrecoverable playback error: Unsupported buffer size", so I tried to change the buffer size by changing Preferences -> Advanced -> Playback -> [Hardware buffer in milliseconds]. (as far as I remember, value 0 is meant "system default" in beta 16, but is not in beta 17) First, I set the hardware buffer size to 1000 in reference to the value of buffer length in Preferences -> Playback -> Output section. Starting the playback of 16/44.1 ALAC file upconverted to 24/96 by SoX Resampler DSP, Windows died (BSoD: SYSTEM_SERVICE_EXCEPTION, portcls.sys). 16/44.1 ALAC without DSP, 24/96 ALAC, 24/96 or 24/192 FLAC also caused BSoD. Reducing the hardware buffer size to 700 or less (100, 200, ... ,700), playback succeeded with any type of music files. Here is the minidump view by BlueScreenView:Bug Check String Bug Check Code Parameter 1 Parameter 2 Parameter 3 Parameter 4 Caused By Driver Caused By Address SYSTEM_SERVICE_EXCEPTION 0x0000003b 00000000`c0000005 fffff802`32d02cfe fffff402`8a7be680 00000000`00000000 portcls.sys portcls.sys+32cfe Filename Address In Stack From Address To Address Size Time Stamp Time String ntoskrnl.exe ntoskrnl.exe+408e69 fffff801`65c00000 fffff801`66c46000 0x01046000 0x553df94c 2015/04/27 17:54:36 portcls.sys portcls.sys+32cfe fffff802`32cd0000 fffff802`32d36000 0x00066000 0x5373c5a4 2014/05/15 04:36:04 Parameter 2 and 3, "From Address" and "To Address" are different between each minidumps, however, "Bug Check String", "Code", Parameter 1 and 4, "Caused By Driver", "Caused By Address", "Filename" and "Address In Stack" are always same. Is this a system-specific (Sound Blaster ZxR) problem? or fb2k bug?