RtAudio compatibility with JACK

I’m having an issue matching my SoundStream settings with JACK. My current settings have produced the following error: segmentation fault code dump. For example, if I have two input and 2 output channels, should the buffer size be the same as JACK? and what is the relationship of nChannels to buffer size? I’m having issues with array calculations.