Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] GStreamer jpegparse caught SIGSEGV

35

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
35

【Linux】 GStreamer jpegparse caught SIGSEGV

Posted at 7/20/2022 13:32:43      View:1365 | Replies:0        Print      Only Author   [Copy Link] 1#
Hi there,

I was trying to do a Logitech BRIO 4K webcam streaming by the following GStreamer pipeline:

GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video9 ! "image/jpeg,width=(int)3840,height=(int)2160,framerate=(fraction)30/1" ! mppjpegdec ! kmssink sync=false

Although it usually worked fine, I wanted to add a jpegparse into the pipeline to make sure every frame mppjpegdec got would be parsed.


Unfortunately, when I tested this pipeline:

GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video9 ! "image/jpeg,width=(int)3840,height=(int)2160,framerate=(fraction)30/1" ! jpegparse ! mppjpegdec ! kmssink sync=false

or this pipeline:

GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video9 ! "image/jpeg,width=(int)3840,height=(int)2160,framerate=(fraction)30/1" ! jpegparse ! fakesink

I got "Caught SIGSEGV" error.

Does anyone have an idea? Thanks in advance!


Platform: ROC-RK3566-PC_Buildroot_v1.2.4a
Kernel version: 4.19.232
GStreamer version: 1.20.0

============================================================================================================================================

GStreamer logs:

[root@RK356X:~]# GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video9 ! "image/jpeg,width=(int)3840,height=(int)2160,framerate=(fraction)30/1" ! jpegparse ! mppjpegdec ! kmssink sync=false
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:01.580455535  1455     0x28c17d80 WARN          v4l2bufferpool gstv4l2bufferpool.c:842:gst_v4l2_buffer_pool_start:<v4l2src0:pool0:src> Uncertain or not enough buffers, enabling copy threshold
0:00:02.544724310  1455     0x28c17d80 WARN                 default gsttageditingprivate.c:76:__exif_tag_image_orientation_from_exif_value: Invalid tiff orientation tag value: 0
0:00:02.545132070  1455     0x28c17d80 WARN                 default gstexiftag.c:2078:deserialize_orientation: Invalid value for tag 0x112: 0
0:00:02.545302700  1455     0x28c17d80 WARN                 default gstexiftag.c:1349:parse_exif_short_tag: No parsing function associated to 131(application-name)
Caught SIGSEGV
exec gdb failed: No such file or directory
Spinning.  Please run 'gdb gst-launch-1.0 1455' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

[root@RK356X:~]# GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video9 ! "image/jpeg,width=(int)3840,height=(int)2160,framerate=(fraction)30/1" ! jpegparse ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.144095442  1464     0x3e0ced80 WARN          v4l2bufferpool gstv4l2bufferpool.c:842:gst_v4l2_buffer_pool_start:<v4l2src0:pool0:src> Uncertain or not enough buffers, enabling copy threshold
0:00:01.080936134  1464     0x3e0ced80 WARN                 default gsttageditingprivate.c:76:__exif_tag_image_orientation_from_exif_value: Invalid tiff orientation tag value: 0
0:00:01.081093638  1464     0x3e0ced80 WARN                 default gstexiftag.c:2078:deserialize_orientation: Invalid value for tag 0x112: 0
0:00:01.081155473  1464     0x3e0ced80 WARN                 default gstexiftag.c:1349:parse_exif_short_tag: No parsing function associated to 131(application-name)
Caught SIGSEGV
exec gdb failed: No such file or directory
Spinning.  Please run 'gdb gst-launch-1.0 1464' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list