Segmentation faults in nvarguscamerasrc with cropping by nvvideoconvert

Hello Community,

I’m using the following environment:

I want to crop CSI camera movie.

So I run this pipeline. it works while it is playing state.

$ gst-launch-1.0 \
nvarguscamerasrc bufapi-version=true ! \
nvvideoconvert src-crop=0:0:640:720 ! \
"video/x-raw(memory:NVMM),format=NV12,width=1280,height=720,framerate=5/1" ! m.sink_0 \
nvstreammux name=m width=1280 height=720 batch-size=1 ! \
nvinfer config-file-path=config_infer_primary.txt ! \
nvvideoconvert ! \
"video/x-raw(memory:NVMM), format=RGBA" ! \
nvdsosd ! \
nvegltransform ! \
nveglglessink

But, when I stop it with CTRL+C, it always crushes.

^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:11.219639442
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
GST_ARGUS: Cleaning up
Caught SIGSEGV
#0  0x0000007f8143f310 in __GI___pthread_timedjoin_ex (threadid=546459083248, 
#1  0x0000007f814fb968 in ?? ()
#2  0x00000055b7d9dd40 in ?? ()
Spinning.  Please run 'gdb gst-launch-1.0 1381' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

When I run this pipeline without src-crop, it doesn’t crush.

$ gst-launch-1.0 \
nvarguscamerasrc bufapi-version=true ! \
nvvideoconvert ! \
video/x-raw(memory:NVMM),format=NV12,width=1280,height=720,framerate=5/1 !  m.sink_0 \
nvstreammux name=m width=1280 height=720 batch-size=1 ! \
nvinfer config-file-path=config_infer_primary.txt ! \
nvvideoconvert ! \
"video/x-raw(memory:NVMM), format=RGBA" ! \
nvdsosd ! \
nvegltransform ! \
nveglglessink

Also, when I run this pipeline without nvinfer, it doesn’t crush.

$ gst-launch-1.0 \
nvarguscamerasrc bufapi-version=true ! \
nvvideoconvert src-crop=0:0:640:720 ! \
video/x-raw(memory:NVMM),format=NV12,width=1280,height=720,framerate=5/1 ! m.sink_0 \
nvstreammux name=m width=1280 height=720 batch-size=1 ! \
nvvideoconvert ! \
"video/x-raw(memory:NVMM), format=RGBA" ! \
nvdsosd ! \
nvegltransform ! \
nveglglessink

I use pretrained YOLOv3 in crushed pipeline. it doesn’t crush using ResNet10.

Can anyone help?

Hi,
We have DeepStream SDK 6.0. Are you able to upgrade and try?

Hello DaneLLL,

I upgrade to DeepStream SDK 6.0 and try it, and it doesn’t crash anymore.

Thank you.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.