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:2622 | Replies:2        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

134

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
134
Posted at yesterday 08:00        Only Author  2#
如果你選擇Testpdf,那麼成功就在不遠處。你很快就可以獲得Salesforce Plat-Admn-201 認證考試的證書。我們的Testpdf提供的產品可以100%保證你通過考試,而且還會為你提供一年的免費的更新服務。
Reply

Use props Report

129

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
129
Posted at 13 hour before        Only Author  3#
専門的な学習資料なしでMB-820試験の準備をするのは時間がかかり、疲れる場合があります。そのため、MB-820学習ツールを学習パートナーとして選択するのが最善の決断です。また、MB-820学習ツールは、多数の受験者に実際の試験に関するより良い視点を提供します。 MB-820の最新の練習資料の研究に特化してきた今、私たちは無限の努力で多数の顧客を処理し、MB-820試験ガイドがあなたの満足に浸透すると信じています。
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