Troubleshooting gst-launch freezes/hangs - how?

Graham Leggett minfrin at sharp.fm
Thu Aug 6 16:52:50 PDT 2015


On 05 Aug 2015, at 12:56 AM, Thiago Santos <thiagoss at osg.samsung.com> wrote:

> Did you try running with gdb and checking where the threads are stuck exactly? Might be a good starting point, too.

Tried running it in gdb. Startup up fine, but shortly afterwards everything froze up again, at that point a whole lot of additional caps were printed out to the screen (the -v option) as below.

I left it running to see what it would do, and later on it seemes gstreamer had been killed - I suspect oomkiller might have been involved.

What would this additional sudden set of caps be trying to tell me? Is it receiving a specific type of packet of some kind that’s not handled?

[New Thread 0x6cc5c470 (LWP 3406)]
[Thread 0x6cc5c470 (LWP 3406) exited]
/GstPipeline:pipeline0/GstMpegvParse:mpegvparse0.GstPad:src: caps = "video/mpeg\,\ mpegversion\=\(int\)2\,\ systemstream\=\(boolean\)false\,\ parsed\=\(boolean\)true\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ framerate\=\(fraction\)25/1\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ codec_data\=\(buffer\)000001b322024033249f238210202020262c342c2c262c2c3434363a363634362c34363a3a363a4050404436443a363034443a4a444c506050464c3a443a4a445c60745c46464c708a8a70a71012111113141714141316141819191c1a191718151617181a1b1d1d221e1d1a1b191715161a1b1c1d222124211f1f1c1a1b1f20242326231e2021262928272b000001b5148200010000\,\ profile\=\(string\)main\,\ level\=\(string\)main\,\ interlace-mode\=\(string\)mixed"
/GstPipeline:pipeline0/GstOMXMPEG2VideoDec-omxmpeg2videodec:omxmpeg2videodec-omxmpeg2videodec0.GstPad:sink: caps = "video/mpeg\,\ mpegversion\=\(int\)2\,\ systemstream\=\(boolean\)false\,\ parsed\=\(boolean\)true\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ framerate\=\(fraction\)25/1\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ codec_data\=\(buffer\)000001b322024033249f238210202020262c342c2c262c2c3434363a363634362c34363a3a363a4050404436443a363034443a4a444c506050464c3a443a4a445c60745c46464c708a8a70a71012111113141714141316141819191c1a191718151617181a1b1d1d221e1d1a1b191715161a1b1c1d222124211f1f1c1a1b1f20242326231e2021262928272b000001b5148200010000\,\ profile\=\(string\)main\,\ level\=\(string\)main\,\ interlace-mode\=\(string\)mixed"
/GstPipeline:pipeline0/GstOMXMPEG2VideoDec-omxmpeg2videodec:omxmpeg2videodec-omxmpeg2videodec0.GstPad:src: caps = "video/x-raw\(memory:EGLImage\)\,\ format\=\(string\)RGBA\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)1:1:0:0\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstOMXMPEG2VideoDec-omxmpeg2videodec:omxmpeg2videodec-omxmpeg2videodec0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)RGBA\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)1:1:0:0\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstOMXMPEG2VideoDec-omxmpeg2videodec:omxmpeg2videodec-omxmpeg2videodec0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)384\,\ height\=\(int\)256\,\ pixel-aspect-ratio\=\(fraction\)32/27\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)384\,\ height\=\(int\)256\,\ pixel-aspect-ratio\=\(fraction\)32/27\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstVideoRate:videorate0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)384\,\ height\=\(int\)256\,\ pixel-aspect-ratio\=\(fraction\)32/27\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)384\,\ height\=\(int\)256\,\ pixel-aspect-ratio\=\(fraction\)32/27\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstVideoRate:videorate0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)384\,\ height\=\(int\)256\,\ pixel-aspect-ratio\=\(fraction\)32/27\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)384\,\ height\=\(int\)256\,\ pixel-aspect-ratio\=\(fraction\)32/27\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)544\,\ height\=\(int\)576\,\ pixel-aspect-ratio\=\(fraction\)32/17\,\ interlace-mode\=\(string\)mixed\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1"
[Thread 0x6d45c470 (LWP 3405) exited]
[Thread 0x6ddff470 (LWP 3404) exited]
[Thread 0x6e5ff470 (LWP 3403) exited]
[Thread 0x6edff470 (LWP 3402) exited]
[Thread 0x6f5ff470 (LWP 3401) exited]
[Thread 0x6fdff470 (LWP 3400) exited]
[Thread 0x705ff470 (LWP 3399) exited]
[Thread 0x70dff470 (LWP 3398) exited]
[Thread 0x715ff470 (LWP 3397) exited]
[Thread 0x71dff470 (LWP 3396) exited]
[Thread 0x725ff470 (LWP 3395) exited]
[Thread 0x72fc7470 (LWP 3394) exited]
[Thread 0x737c7470 (LWP 3393) exited]
[Thread 0x73fc7470 (LWP 3392) exited]
[Thread 0x747d5470 (LWP 3391) exited]
[Thread 0x74fd5470 (LWP 3390) exited]
[Thread 0x757d5470 (LWP 3389) exited]
[Thread 0x75fd5470 (LWP 3388) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.

Regards,
Graham
—



More information about the gstreamer-devel mailing list