Segmentation fault when creating new SensorIONvmedia


After creating the SAL with dwSAL_createSensor() (protocol camera.usb), I get the properties of my image and the sensor with a dwSensorCamera_getImageProperties() and dwSensorCamera_getSensorProperties(). Then, I want to create one SensorIONvmedia instance with the returned values as its done in the samples:

gSensorIO.reset(new SensorIONvmedia(gSdk, 0, gCameraSensor, gCameraWidth, gCameraHeight));

However the application fails with a segmentation fault even though all the arguments were initialized. Is it because the class SensorIONvmedia won’t support camera.usb protocol or is there any other reason?