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      View3055 | Replies4        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

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/20/2026 08:00:10        Only Author  2#
xTestpdfNɹڲh̎ܿͿԫ@Salesforce Plat-Admn-201 JCԇC҂TestpdfṩĮaƷ100%Cͨ^ԇ߀ṩһMĸ·ա
Reply

Use props Report

93

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
93
Posted at 1/21/2026 03:53:59        Only Author  3#
TĤѧYϤʤMB-820ԇYΜʂ򤹤ΤϕrgꡢƣϤޤΤᡢMB-820ѧĩ`ѧѩ`ȥʩ`ȤxkΤƤΛQϤǤޤMB-820ѧĩ`ϡYߤˌgHԇYvҕṩޤ MB-820¤ξYϤоػƤ˽ϟoޤŬǶͤIMB-820ԇYɤʤΜ˽͸ŤƤޤ
Reply

Use props Report

116

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
116
Posted at 1/23/2026 13:19:24        Only Author  4#
Through this article, I have gained a deep understanding of this topic and benefited immensely. Sending me all the positive vibes for the C_HRHPC_2505 new APP simulations exam!
Reply

Use props Report

97

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
97
Posted at 1/26/2026 05:04:02        Only Author  5#
I truly appreciate your article, it really left a deep impression on me. The Salesforce-MuleSoft-Associate certification book torrent resources are outstanding, and they come with no cost.
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