SEGFAULT in pedestrian detection demo when the camera is used

cancel
Showing results for 
Search instead for 
Did you mean: 

SEGFAULT in pedestrian detection demo when the camera is used

187 Views
gianluca_pacchi
Contributor I

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,

  gp

Labels (1)
0 Kudos
1 Reply

102 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

I have the same result with pedestrian_detection demo. The pedestrian_detection_aggcf works okay with camera. 

I'll contact Vision team if they have solution for the gdc_pd.elf demo. 

Jiri 

0 Kudos