AnsweredAssumed Answered

SEGFAULT in pedestrian detection demo when the camera is used

Question asked by Gianluca Pacchiella on Nov 14, 2018
Latest reply on Nov 16, 2018 by Jiri Kral

I'm trying to use the demo provided with the VSDK inside a Yocto build (18) and the demo named gdc_pd.elf is giving me problems;


I want to change the configuration so that the input comes from the camera (Sony imx224), but if I set the variable WeUseFileReader to zero in the configuration file data/apps/pedestrian_detection/gdc_pd.ini, the demo crashes with a SEGFAULT. 


Using a debugger seems that the problem comes from the line 138 of the file gdc_pd_image_sensor_task.cpp, i.e. at the instruction DdrBufferDescSet(), probably a NULL pointer.


I successfully changed other parameters in the same configuration file (like WeRotateDisplay) and that has not given any problem.



Kind regards,