ID 500660 - Crash when playing back with Monitor Out enabled after changing the Active Buffer

Follow

Problem summary
Crash when playing back with Monitor Out enabled after changing the Active Buffer
This is dumped to the terminal every crash. Often it's more verbose (similar to the attached txt file)

Linux terminal output:

Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1463Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1805Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1463Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1805Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1463Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1805Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1463Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1805Segmentation fault (core dumped)

Windows terminal output:

[Warning][2022/02/02:16:54:14] PBC time out, result: 1

 

Customer reported version
nuke.13.1v3

 

Customer reported platform

 

Steps to reproduce

1) Open Nuke Studio on a machine with Monitor Our hardware

2) Import two clips and add them to two tracks on the timeline above each other

3) Select the bottom clip and press 1 to load it into A buffer
 
4) Select the top clip and press 2 to load it into B buffer

5) Open the Monitor Out panel, Window> Viewer Monitor Out

6) Enable Monitor out and in the Monitor Out properties, select a Monitor Out hardware device (NOT Floating Window)

7) Click the eye dropper in the Viewer to open the Viewer info bar 

8) Switch the active buffer by clicking to the left of the [B] in the info bar

9) Press Play, Nuke Studio crashes 
 

Expected behaviour
For Nuke Studio to playback the timeline 

 

Actual behaviour
It crashed

 

Workaround
Unknown.

 

Reproduced by support
This bug has been reproduced in:
Nuke Studio 13.1v3 - Windows 10, CentOS 7

Nuke Studio 12.1v1 - Windows 10 - regression

 

Reproduced by QA in:
(Tested Linux with AJA & Windows with BMD)
Nuke13.1v1
Nuke13.1v2
Nuke13.2v1-main.22997

Unable to reproduce in:

Nuke Studio 12.0v8 - Windows 10

 

Earliest version tested
Nuke Studio 12.0v8 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why