mxfdemux: Avoid possible NULL caps 'dereferencing'
Should fix:
Test name: validate.file.playback.change_state_intensive.test-uncompressed-rgb_mxf
Command:
DISPLAY=':27' GST_VALIDATE_SCENARIO='change_state_intensive' GST_GL_XINITTHREADS='1' GST_VALIDATE_SCENARIOS_PATH='/builds/thiblahute/gst-devtools/gst-build/prefix/share/gstreamer-1.0/validate/scenarios:/builds/thiblahute/gst-devtools/gst-build/subprojects/gst-devtools/validate/data/scenarios' /builds/thiblahute/gst-devtools/gst-build/build/subprojects/gst-devtools/validate/tools/gst-validate-1.0 playbin uri=file:///builds/thiblahute/gst-devtools/gst-build/subprojects/gst-integration-testsuites/medias/defaults/mxf/test-uncompressed-rgb.mxf 'audio-sink=fakesink sync=true' 'video-sink=fakevideosink qos=true max-lateness=20000000' --set-media-info /builds/thiblahute/gst-devtools/gst-build/subprojects/gst-integration-testsuites/medias/defaults/mxf/test-uncompressed-rgb.mxf.media_info
-> Running scenario change_state_intensive on pipeline playbin0
Starting pipeline
Letting scenario handle set state
Executing (1/40)set-state (
- state=playing
)
0:00:00.200685869 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.147335439)
Executing (subaction)set-state (
- state=null
)
Executing (2/40)set-state (
- state=playing
)
0:00:00.342207025 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.062851112)
Executing (subaction)set-state (
- state=null
)
Executing (3/40)set-state (
- state=playing
)
0:00:00.413408328 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.066590370)
Executing (subaction)set-state (
- state=null
)
Executing (4/40)set-state (
- state=playing
)
0:00:00.487201710 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.075753198)
Executing (subaction)set-state (
- state=null
)
Executing (5/40)set-state (
- state=playing
)
0:00:00.561001894 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.060386011)
Executing (subaction)set-state (
- state=null
)
Executing (6/40)set-state (
- state=playing
)
0:00:00.627180128 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.137938362)
Executing (subaction)set-state (
- state=null
)
Executing (7/40)set-state (
- state=playing
)
0:00:00.772024968 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.068789307)
Executing (subaction)set-state (
- state=null
)
Executing (8/40)set-state (
- state=playing
)
0:00:00.855364377 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.077705871)
Executing (subaction)set-state (
- state=null
)
Executing (9/40)set-state (
- state=playing
)
0:00:00.934143835 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.122605984)
Executing (subaction)set-state (
- state=null
)
Executing (10/40)set-state (
- state=playing
)
0:00:01.067170085 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.062294456)
Executing (subaction)set-state (
- state=null
)
Executing (11/40)set-state (
- state=playing
)
0:00:01.135336134 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.063550858)
Executing (subaction)set-state (
- state=null
)
Executing (12/40)set-state (
- state=playing
)
0:00:01.203649083 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.124629524)
Executing (subaction)set-state (
- state=null
)
Executing (13/40)set-state (
- state=playing
)
0:00:01.331248616 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.067960849)
Executing (subaction)set-state (
- state=null
)
Executing (14/40)set-state (
- state=playing
)
0:00:01.401946539 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.075948763)
Executing (subaction)set-state (
- state=null
)
Executing (15/40)set-state (
- state=playing
)
0:00:01.480956734 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.089171689)
Executing (subaction)set-state (
- state=null
)
Executing (16/40)set-state (
- state=playing
)
0:00:01.573536562 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.061386551)
Executing (subaction)set-state (
- state=null
)
Executing (17/40)set-state (
- state=playing
)
0:00:01.637313486 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.070677240)
Executing (subaction)set-state (
- state=null
)
Executing (18/40)set-state (
- state=playing
)
0:00:01.712998543 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.099632552)
Executing (subaction)set-state (
- state=null
)
Executing (19/40)set-state (
- state=playing
)
0:00:01.833509643 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.075994206)
Executing (subaction)set-state (
- state=null
)
Executing (20/40)set-state (
- state=playing
)
0:00:01.905385269 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.065438080)
Executing (subaction)set-state (
- state=null
)
Executing (21/40)set-state (
- state=playing
)
0:00:01.973256897 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.083083095)
Executing (subaction)set-state (
- state=null
)
Executing (22/40)set-state (
- state=playing
)
0:00:02.060855042 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.066763980)
Executing (subaction)set-state (
- state=null
)
Executing (23/40)set-state (
- state=playing
)
0:00:02.129323449 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.063195273)
Executing (subaction)set-state (
- state=null
)
Executing (24/40)set-state (
- state=playing
)
0:00:02.205812262 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.119822089)
Executing (subaction)set-state (
- state=null
)
Executing (25/40)set-state (
- state=playing
)
0:00:02.351412288 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.122464973)
Executing (subaction)set-state (
- state=null
)
Executing (26/40)set-state (
- state=playing
)
0:00:02.463093678 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.133065772)
Executing (subaction)set-state (
- state=null
)
Executing (27/40)set-state (
- state=playing
)
0:00:02.594916807 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.097335988)
Executing (subaction)set-state (
- state=null
)
Executing (28/40)set-state (
- state=playing
)
0:00:02.709881151 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.067628012)
Executing (subaction)set-state (
- state=null
)
Executing (29/40)set-state (
- state=playing
)
0:00:02.780116173 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.054407803)
Executing (subaction)set-state (
- state=null
)
Executing (30/40)set-state (
- state=playing
)
0:00:02.836851676 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.066077472)
Executing (subaction)set-state (
- state=null
)
Executing (31/40)set-state (
- state=playing
)
0:00:02.905769801 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.059088737)
Executing (subaction)set-state (
- state=null
)
Executing (32/40)set-state (
- state=playing
)
0:00:02.967685672 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.057834587)
Executing (subaction)set-state (
- state=null
)
Executing (33/40)set-state (
- state=playing
)
0:00:03.052574877 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.074840559)
Executing (subaction)set-state (
- state=null
)
Executing (34/40)set-state (
- state=playing
)
0:00:03.117938907 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.067534045)
Executing (subaction)set-state (
- state=null
)
Executing (35/40)set-state (
- state=playing
)
0:00:03.189362753 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.105450562)
Executing (subaction)set-state (
- state=null
)
0:00:03.392259196 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m validate gst-validate-reporter.c:195:gst_validate_report_valist:[00m <playbin0> 2418 (critical) : g-log: We got a g_log critical issue : gst_caps_is_equal: assertion 'GST_IS_CAPS (caps1)' failed
0:00:03.444058565 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m validate gst-validate-reporter.c:195:gst_validate_report_valist:[00m <playbin0> 2418 (critical) : g-log: We got a g_log critical issue : gst_mini_object_unref: assertion 'mini_object != NULL' failed
Executing (36/40)set-state (
- state=playing
)
0:00:03.448384483 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.121877832)
Executing (subaction)set-state (
- state=null
)
Executing (37/40)set-state (
- state=playing
)
0:00:03.589773796 [333m16592[00m 0x7facd8003280 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.136058914)
Executing (subaction)set-state (
- state=null
)
Executing (38/40)set-state (
- state=playing
)
0:00:03.730232658 [333m16592[00m 0x7facd404f850 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.063072747)
Executing (subaction)set-state (
- state=null
)
Executing (39/40)set-state (
- state=playing
)
0:00:03.800097507 [333m16592[00m 0xa2ca80 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.064792404)
Executing (subaction)set-state (
- state=null
)
Executing (40/40)set-state (
- state=playing
)
0:00:03.868397531 [333m16592[00m 0x7face41a1370 [31;01mERROR [00m [00m mxf mxfmetadata.c:3418:mxf_metadata_source_clip_resolve:[00m Couldn't find source package 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
-> Action set-state done (duration: 0:00:00.063626544)
Executing (subaction)set-state (
- state=null
)
Executing stop ( )
change_state_intensive --> State change request NULL, quiting mainloop
critical : We got a g_log critical issue
Detected on <playbin0>
Details : gst_caps_is_equal: assertion 'GST_IS_CAPS (caps1)' failed
dotfile : no dotfile produced as GST_DEBUG_DUMP_DOT_DIR is not set.
backtrace :
gst_debug_get_stack_trace (gstinfo.c:2886)
gst_validate_report_new (gst-validate-report.c:742)
gst_validate_report_valist (gst-validate-reporter.c:186)
gst_validate_report (gst-validate-reporter.c:319)
g_logv (gmessages.c:1350)
g_log (gmessages.c:1413)
gst_caps_is_equal (gstcaps.c:1395)
gst_mxf_demux_pad_set_component (mxfdemux.c:1661)
gst_mxf_demux_handle_klv_packet (mxfdemux.c:2035)
gst_mxf_demux_loop (mxfdemux.c:3075)
gst_task_func (gsttask.c:328)
g_thread_pool_thread_proxy (gthreadpool.c:307)
g_thread_proxy (gthread.c:784)
start_thread (pthread_create.c:486)
__clone (clone.S:93)
==== Got criticals. Return value set to 18 ====
Critical error gst_caps_is_equal: assertion 'GST_IS_CAPS (caps1)' failed
Issues found: 1
Returning 18 as errors were found
=======> Test FAILED (Return value: 18)
Edited by Thibault Saunier