#1141827 gnome-snapshot: Segmentation fault on launch when calling Camera:OpenPipeWireRemote

Package:
gnome-snapshot
Source:
gnome-snapshot
Description:
Take pictures and videos from your webcam
Submitter:
Igor Jagec
Date:
2026-07-13 19:45:02 UTC
Severity:
normal
Tags:
#1141827#5
Date:
2026-07-10 14:47:52 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Fresh install of Debian forky on a new ThinkPad P14s Gen 5.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Started the snapshot app from both GUI and the terminal. Here's the full output below:

igor@prospero:~/Downloads$ GST_DEBUG=2 snapshot
2026-07-10T14:27:18.273923Z  INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)
2026-07-10T14:27:18.273951Z  INFO snapshot::application::imp: Version: 50.0
2026-07-10T14:27:18.273957Z  INFO snapshot::application::imp: Datadir: /usr/share/snapshot
2026-07-10T14:27:18.608169Z  INFO ashpd::desktop::request: Creating a org.freedesktop.portal.Request /org/freedesktop/portal/desktop/request/1_143/ashpd_QweWGryT3A
2026-07-10T14:27:18.610254Z  INFO ashpd::desktop::request: Received signal 'Response' on 'org.freedesktop.portal.Request'
2026-07-10T14:27:18.610281Z  INFO ashpd::proxy: Calling method org.freedesktop.portal.Camera:OpenPipeWireRemote
Segmentation fault         GST_DEBUG=2 snapshot

   * What was the outcome of this action?

Immediate Segmentation fault after calling OpenPipeWireRemote.

   * What outcome did you expect instead?

The camera app to open and show the webcam feed.

*** End of the template - remove these template lines ***

#1141827#10
Date:
2026-07-10 17:54:03 UTC
From:
To:
Control: tags -1 moreinfo
Hi Igor,

this does work for me in unstable:

GST_DEBUG=2 snapshot
2026-07-10T17:55:29.846541Z  INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)
2026-07-10T17:55:29.846592Z  INFO snapshot::application::imp: Version: 50.0
2026-07-10T17:55:29.846598Z  INFO snapshot::application::imp: Datadir: /usr/share/snapshot

(snapshot:6018): Adwaita-WARNING **: 19:55:30.157: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2026-07-10T17:55:30.675533Z  INFO ashpd::desktop::request: Creating a org.freedesktop.portal.Request /org/freedesktop/portal/desktop/request/1_193/ashpd_bFS7njE8oP
2026-07-10T17:55:30.678471Z  INFO ashpd::desktop::request: Received signal 'Response' on 'org.freedesktop.portal.Request'
2026-07-10T17:55:30.678501Z  INFO ashpd::proxy: Calling method org.freedesktop.portal.Camera:OpenPipeWireRemote
0:00:00.446546644       6018       6018 ERROR          encodebasebin gstencodebasebin.c:979:set_element_properties_from_encoding_profile: Unknown factory: jifmux
0:00:00.478023809       6018       6097 WARN              aggregator gstaggregator.c:2355:gst_aggregator_query_latency_unlocked:<muxer> Latency query failed
0:00:00.632766389       6018       6097 WARN              aggregator gstaggregator.c:2355:gst_aggregator_query_latency_unlocked:<muxer> Latency query failed
2026-07-10T17:55:31.531128Z ERROR snapshot::widgets::gallery_item: Could
not load gallery item for VID_20260519_150303.mp4: Unknown image format:
vide
....

Could you please provide a) a full backtrace (see
https://wiki.debian.org/HowToGetABacktrace)
and b) the output of cam -l (from libcamera-tools)

best,

werdahias

#1141827#17
Date:
2026-07-13 19:43:30 UTC
From:
To:
It's working fine now, see the output below. You can close this ticket
now. Thank you very much.

igor@prospero:/tmp$ GST_DEBUG=2 snapshot
2026-07-13T19:39:42.150978Z  INFO snapshot::application::imp: Snapshot
(org.gnome.Snapshot)
2026-07-13T19:39:42.151036Z  INFO snapshot::application::imp: Version: 50.0
2026-07-13T19:39:42.151038Z  INFO snapshot::application::imp: Datadir:
/usr/share/snapshot
2026-07-13T19:39:42.358423Z  INFO ashpd::desktop::request: Creating a
org.freedesktop.portal.Request
/org/freedesktop/portal/desktop/request/1_132/ashpd_z7jGOixRGH
2026-07-13T19:39:42.359466Z  INFO ashpd::desktop::request: Received
signal 'Response' on 'org.freedesktop.portal.Request'
2026-07-13T19:39:42.359498Z  INFO ashpd::proxy: Calling method
org.freedesktop.portal.Camera:OpenPipeWireRemote
0:00:00.179555962      27441      27441 ERROR          encodebasebin
gstencodebasebin.c:979:set_element_properties_from_encoding_profile:
Unknown factory: jifmux
0:00:00.196769082      27441      27485 WARN              aggregator
gstaggregator.c:2355:gst_aggregator_query_latency_unlocked:<muxer>
Latency query failed
0:00:00.340608834      27441      27485 WARN              aggregator
gstaggregator.c:2355:gst_aggregator_query_latency_unlocked:<muxer>
Latency query failed
0:00:00.789649770      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:00.443968625
deadline:0:00:00.477301958 earliest_time:0:00:00.481632972
0:00:00.892956516      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:00.543947625
deadline:0:00:00.577280958 earliest_time:0:00:00.580673932
0:00:01.091813980      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:00.743806625
deadline:0:00:00.777139958 earliest_time:0:00:00.783532642
0:00:01.194366048      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:00.843959625
deadline:0:00:00.877292958 earliest_time:0:00:00.885236796
0:00:01.326671999      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:00.975791625
deadline:0:00:01.009124958 earliest_time:0:00:01.020193528
0:00:01.428386544      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:01.075973625
deadline:0:00:01.109306958 earliest_time:0:00:01.122455914
0:00:01.526704831      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:01.176364625
deadline:0:00:01.209697958 earliest_time:0:00:01.219132692
0:00:01.627334458      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:01.275970625
deadline:0:00:01.309303958 earliest_time:0:00:01.319870078
0:00:01.858540118      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:01.508579625
deadline:0:00:01.541912958 earliest_time:0:00:01.552022458
0:00:02.057323534      27441      27494 WARN            videodecoder
gstvideodecoder.c:3717:gst_video_decoder_clip_and_push_buf:<jpegdec0>
Dropping frame due to QoS. start:0:00:01.708607625
deadline:0:00:01.741940958 earliest_time:0:00:01.751439716
0:00:05.907398220      27441      27485 WARN              aggregator
gstaggregator.c:2355:gst_aggregator_query_latency_unlocked:<muxer>
Latency query failed
igor@prospero:/tmp$