TexasInstruments / edgeai-gst-plugins

Repository to host GStreamer plugins for TI's EdgeAI class of devices
Other
19 stars 4 forks source link

Assertions thrown when using multiscaler + colorconvert in 5 pads configuration #31

Closed jafet-chaves closed 3 years ago

jafet-chaves commented 3 years ago
root@j7-2:~/jafet-dev/edgeai-gst-plugins/integration_testing_results# gst-launch-1.0 videotestsrc is-live=true num-buffers=5 ! "video/x-raw,width=1920,height=1080" ! identity silent=false ! \
> tiovxmultiscaler name=multi multi.src_0 ! "video/x-raw,width=1280,height=720" ! queue ! tiovxcolorconvert ! "video/x-raw,format=RGBx,width=1280,height=720" ! filesink location=out_0.raw \
> multi.src_1 ! "video/x-raw,width=640,height=480" ! queue !  tiovxcolorconvert ! "video/x-raw,format=RGBx,width=640,height=480" ! filesink location=out_1.raw \
> multi.src_2 ! "video/x-raw,width=1280,height=720" ! queue !  tiovxcolorconvert ! "video/x-raw,format=RGBx,width=1280,height=720" ! filesink location=out_2.raw \
> multi.src_3 ! "video/x-raw,width=640,height=480" ! queue ! tiovxcolorconvert ! "video/x-raw,format=RGBx,width=640,height=480" ! filesink location=out_3.raw \
> multi.src_4 ! "video/x-raw,width=1280,height=720" ! queue ! tiovxcolorconvert ! "video/x-raw,format=RGBx,width=1280,height=720" ! filesink location=out_4.raw -v
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
703051.025073 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
703051.025109 s:  VX_ZONE_INIT:Enabled
703051.025118 s:  VX_ZONE_ERROR:Enabled
703051.025125 s:  VX_ZONE_WARNING:Enabled
703051.025570 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
703051.025763 s:  VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!!
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = event   ******* (identity0:sink) E (type: stream-start (10254), GstEventStreamStart, stream-id=(string)3bf7781b83c527587298db2cce036313, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)1;) 0x10fcce30
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = event   ******* (identity0:sink) E (type: caps (12814), GstEventCaps, caps=(GstCaps)"video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)30/1\,\ multiview-mode\=\(string\)mono\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive";) 0x10fccf10
/GstPipeline:pipeline0/GstIdentity:identity0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
[SCALER-MODULE] App Send MSC Command Done!
[SCALER-MODULE] Input ref[0] ch = 0, addr = 0x0000FFFF88702F28
[SCALER-MODULE] Freeing input, bufq=0, ch=0, addr = 0x0000FFFF7C450000, size = 3110400 
[SCALER-MODULE] Output[0] ref[0] ch = 0, addr = 0x0000FFFF887031E0
[SCALER-MODULE] Freeing output[0], bufq=0, ch=0, addr = 0x0000FFFF7C2F0000, size = 1382400 
[SCALER-MODULE] Output[1] ref[0] ch = 0, addr = 0x0000FFFF88703498
[SCALER-MODULE] Freeing output[1], bufq=0, ch=0, addr = 0x0000FFFF7C270000, size = 460800 
[SCALER-MODULE] Output[2] ref[0] ch = 0, addr = 0x0000FFFF88703750
[SCALER-MODULE] Freeing output[2], bufq=0, ch=0, addr = 0x0000FFFF7C110000, size = 1382400 
[SCALER-MODULE] Output[3] ref[0] ch = 0, addr = 0x0000FFFF88703A08
[SCALER-MODULE] Freeing output[3], bufq=0, ch=0, addr = 0x0000FFFF7C090000, size = 460800 
[SCALER-MODULE] Output[4] ref[0] ch = 0, addr = 0x0000FFFF88703CC0
[SCALER-MODULE] Freeing output[4], bufq=0, ch=0, addr = 0x0000FFFF6E670000, size = 1382400 
/GstPipeline:pipeline0/GstTIOVXMultiScaler:multi.GstTIOVXMultiScalerPad:src_0: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
[COLOR-CONVERT-MODULE] Input ref[0] ch = 0, addr = 0x0000FFFF88704A58
[COLOR-CONVERT-MODULE] Freeing input, bufq=0, ch=0, addr = 0x0000FFFF7C6D0000, size = 460800 
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
[COLOR-CONVERT-MODULE] Output ref[0] ch = 0, addr = 0x0000FFFF88704D10
[COLOR-CONVERT-MODULE] Freeing output, bufq=0, ch=0, addr = 0x0000FFFF7C5A0000, size = 1228800 
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstTIOVXMultiScaler:multi.GstTIOVXMultiScalerPad:src_1: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
[COLOR-CONVERT-MODULE] Input ref[0] ch = 0, addr = 0x0000FFFF887044E8
[COLOR-CONVERT-MODULE] Freeing input, bufq=0, ch=0, addr = 0x0000FFFF7C2E0000, size = 1382400 
[COLOR-CONVERT-MODULE] Output ref[0] ch = 0, addr = 0x0000FFFF887047A0
[COLOR-CONVERT-MODULE] Freeing output, bufq=0, ch=0, addr = 0x0000FFFF6E0B0000, size = 3686400 
[COLOR-CONVERT-MODULE] Input ref[0] ch = 0, addr = 0x0000FFFF88703F78
[COLOR-CONVERT-MODULE] Freeing input, bufq=0, ch=0, addr = 0x0000FFFF7C440000, size = 1382400 
[COLOR-CONVERT-MODULE] Input ref[0] ch = 0, addr = 0x0000FFFF88705538
[COLOR-CONVERT-MODULE] Freeing input, bufq=0, ch=0, addr = 0x0000FFFF7C2E0000, size = 1382400 
[COLOR-CONVERT-MODULE] Output ref[0] ch = 0, addr = 0x0000FFFF887057F0
[COLOR-CONVERT-MODULE] Freeing output, bufq=0, ch=0, addr = 0x0000FFFF6E0B0000, size = 3686400 
[COLOR-CONVERT-MODULE] Output ref[0] ch = 0, addr = 0x0000FFFF88704230
[COLOR-CONVERT-MODULE] Freeing output, bufq=0, ch=0, addr = 0x0000FFFF6E440000, size = 3686400 
/GstPipeline:pipeline0/GstCapsFilter:capsfilter3.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
[COLOR-CONVERT-MODULE] Input ref[0] ch = 0, addr = 0x0000FFFF88704FC8
[COLOR-CONVERT-MODULE] Freeing input, bufq=0, ch=0, addr = 0x0000FFFF7C5A0000, size = 460800 
[COLOR-CONVERT-MODULE] Output ref[0] ch = 0, addr = 0x0000FFFF88705280
[COLOR-CONVERT-MODULE] Freeing output, bufq=0, ch=0, addr = 0x0000FFFF7C080000, size = 1228800 
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter3.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstTIOVXMultiScaler:multi.GstTIOVXMultiScalerPad:src_2: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter5.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter5.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstTIOVXMultiScaler:multi.GstTIOVXMultiScalerPad:src_3: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter7.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue3.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue3.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter7.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstTIOVXMultiScaler:multi.GstTIOVXMultiScalerPad:src_4: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter9.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue4.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstQueue:queue4.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter9.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstTIOVXMultiScaler:multi.GstTIOVXMultiScalerPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstIdentity:identity0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstTIOVXColorconvert:tiovxcolorconvert2.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstCapsFilter:capsfilter6.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstFileSink:filesink2.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstCapsFilter:capsfilter6.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstTIOVXColorconvert:tiovxcolorconvert4.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstCapsFilter:capsfilter10.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstFileSink:filesink4.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstCapsFilter:capsfilter10.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstTIOVXColorconvert:tiovxcolorconvert0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstCapsFilter:capsfilter2.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstCapsFilter:capsfilter2.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstTIOVXColorconvert:tiovxcolorconvert3.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)0/1, format=(string)RGBx
/GstPipeline:pipeline0/GstTIOVXColorconvert:tiovxcolorconvert2.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstTIOVXColorconvert:tiovxcolorconvert2.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)0/1, format=(string)NV12
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = event   ******* (identity0:sink) E (type: segment (17934), GstEventSegment, segment=(GstSegment)"GstSegment, flags=(GstSegmentFlags)GST_SEGMENT_FLAG_NONE, rate=(double)1, applied-rate=(double)1, format=(GstFormat)GST_FORMAT_TIME, base=(guint64)0, offset=(guint64)0, start=(guint64)0, stop=(guint64)18446744073709551615, time=(guint64)0, position=(guint64)0, duration=(guint64)18446744073709551615;";) 0xffff6401ed80
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (3110400 bytes, dts: none, pts: 0:00:00.028659458, duration: 0:00:00.033333333, offset: 0, offset_end:  1, flags: 00000040 discont , meta: GstTIOVXMeta, GstVideoMeta) 0xffff7003a480
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (3110400 bytes, dts: none, pts: 0:00:00.061992791, duration: 0:00:00.033333333, offset: 1, offset_end:  2, flags: 00000000 , meta: GstTIOVXMeta, GstVideoMeta) 0xffff7003a5a0

(gst-launch-1.0:1706): GStreamer-CRITICAL **: 00:37:17.671: gst_memory_unmap: assertion 'mem != NULL' failed
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (3110400 bytes, dts: none, pts: 0:00:00.095326124, duration: 0:00:00.033333334, offset: 2, offset_end:  3, flags: 00000000 , meta: GstTIOVXMeta, GstVideoMeta) 0xffff7003a480
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (3110400 bytes, dts: none, pts: 0:00:00.128659458, duration: 0:00:00.033333333, offset: 3, offset_end:  4, flags: 00000000 , meta: GstTIOVXMeta, GstVideoMeta) 0xffff7003a5a0

(gst-launch-1.0:1706): GStreamer-CRITICAL **: 00:37:17.737: gst_memory_unmap: assertion 'mem != NULL' failed
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (3110400 bytes, dts: none, pts: 0:00:00.161992791, duration: 0:00:00.033333333, offset: 4, offset_end:  5, flags: 00000000 , meta: GstTIOVXMeta, GstVideoMeta) 0xffff7003a480
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = event   ******* (identity0:sink) E (type: eos (28174), ) 0xffff6401edf0

(gst-launch-1.0:1706): GStreamer-CRITICAL **: 00:37:17.818: gst_memory_unmap: assertion 'mem != NULL' failed
Got EOS from element "pipeline0".
Execution ended after 0:00:00.278050226
Setting pipeline to NULL ...
[COLOR-CONVERT-MODULE] Releasing node reference!
[COLOR-CONVERT-MODULE] Releasing input image handle!
[COLOR-CONVERT-MODULE] Releasing input image arr!
[COLOR-CONVERT-MODULE] Releasing output image handle!
[COLOR-CONVERT-MODULE] Releasing output image arr!
[COLOR-CONVERT-MODULE] Releasing node reference!
[COLOR-CONVERT-MODULE] Releasing input image handle!
[COLOR-CONVERT-MODULE] Releasing input image arr!
[COLOR-CONVERT-MODULE] Releasing output image handle!
[COLOR-CONVERT-MODULE] Releasing output image arr!
[COLOR-CONVERT-MODULE] Releasing node reference!
[COLOR-CONVERT-MODULE] Releasing input image handle!
[COLOR-CONVERT-MODULE] Releasing input image arr!
[COLOR-CONVERT-MODULE] Releasing output image handle!
[COLOR-CONVERT-MODULE] Releasing output image arr!
[COLOR-CONVERT-MODULE] Releasing node reference!
[COLOR-CONVERT-MODULE] Releasing input image handle!
[COLOR-CONVERT-MODULE] Releasing input image arr!
[COLOR-CONVERT-MODULE] Releasing output image handle!
[COLOR-CONVERT-MODULE] Releasing output image arr!
[COLOR-CONVERT-MODULE] Releasing node reference!
[COLOR-CONVERT-MODULE] Releasing input image handle!
[COLOR-CONVERT-MODULE] Releasing input image arr!
[COLOR-CONVERT-MODULE] Releasing output image handle!
[COLOR-CONVERT-MODULE] Releasing output image arr!
[SCALER-MODULE] Releasing node!
[SCALER-MODULE] Releasing coeffs!
[SCALER-MODULE] Releasing input image handle!
[SCALER-MODULE] Releasing input image arr!
[SCALER-MODULE] Releasing output image handle!
[SCALER-MODULE] Releasing output image arr!
[SCALER-MODULE] Releasing output image handle!
[SCALER-MODULE] Releasing output image arr!
[SCALER-MODULE] Releasing output image handle!
[SCALER-MODULE] Releasing output image arr!
[SCALER-MODULE] Releasing output image handle!
[SCALER-MODULE] Releasing output image arr!
[SCALER-MODULE] Releasing output image handle!
[SCALER-MODULE] Releasing output image arr!
Freeing pipeline ...
703051.332862 s:  VX_ZONE_INIT:[tivxHostDeInit:56] De-Initialization Done for HOST !!!
703051.336243 s:  VX_ZONE_INIT:[tivxDeInit:111] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
MEM: Alloc's: 56 alloc's of 91855400 bytes 
MEM: Free's : 56 free's  of 91855400 bytes 
MEM: Open's : 0 allocs  of 0 bytes 
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
jafet-chaves commented 3 years ago

Issue no longer appears in release v0.2.2