Description of problem: Crash happened when I watch video file property. And this crash possible reproduced manually. In terminal: > /usr/bin/totem-video-thumbnailer -s 512 /home/mikhail/encoder-test/output-vaapi-6000k.mp4 /tmp/gnome-desktop-thumbnailer.png (totem-video-thumbnailer:129762): GLib-ERROR **: 17:50:10.481: ../glib/gmem.c:106: failed to allocate 12441767 bytes fish: Job 1, '/usr/bin/totem-video-thumbnaile…' terminated by signal SIGTRAP (Trace or breakpoint trap) mikhail@primary-ws ~ [SIGTRAP]> Version-Release number of selected component: totem-video-thumbnailer-1:43.0-4.fc40 Additional info: reporter: libreport-2.17.15 type: CCpp reason: totem-video-thumbnailer killed by SIGTRAP journald_cursor: s=957d52e084c04975b6a3063cb00d1b58;i=f5969;b=0e48f34da7b24294ace0dacdf5735396;m=2169b3bff;t=6135f50d1998d;x=5da82656821508b2 container_cmdline: bwrap --ro-bind /usr /usr --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --symlink /usr//bin /bin --symlink /usr//lib64 /lib64 --symlink /usr//lib /lib --symlink /usr//sbin /sbin --setenv GST_REGISTRY_1_0 /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0/gstreamer-1.0.registry --bind /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 --ro-bind-try /etc/alternatives /etc/alternatives --proc /proc --dev /dev --chdir / --setenv GIO_USE_VFS local --unshare-all --die-with-parent --bind /tmp/gnome-desktop-thumbnailer-T2M1J2 /tmp --ro-bind /home/mikhail/encoder-test/output-vaapi-6000k.mp4 /tmp/gnome-desktop-file-to-thumbnail.mp4 --seccomp 40 /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.mp4 /tmp/gnome-desktop-thumbnailer.png executable: /usr/bin/totem-video-thumbnailer cmdline: /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.mp4 /tmp/gnome-desktop-thumbnailer.png cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus rootdir: / uid: 1000 kernel: 6.8.0-0.rc7.20240308git3aaa8ce7a335.60.fc41.x86_64+debug runlevel: N 5 dso_list: /usr/bin/totem-video-thumbnailer totem-video-thumbnailer-1:43.0-4.fc40.x86_64 (Fedora Project) 1708174621 backtrace_rating: 4 crash_function: g_malloc package: totem-video-thumbnailer-1:43.0-4.fc40 Truncated backtrace: Thread no. 1 (37 frames) #4 g_malloc at ../glib/gmem.c:105 #5 _sysmem_new_block at ../gst/gstallocator.c:434 #6 gst_buffer_new_allocate at ../gst/gstbuffer.c:902 #7 video_buffer_pool_alloc at ../gst-libs/gst/video/gstvideopool.c:250 #8 do_alloc_buffer at ../gst/gstbufferpool.c:286 #9 default_acquire_buffer at ../gst/gstbufferpool.c:1140 #10 gst_buffer_pool_acquire_buffer at ../gst/gstbufferpool.c:1299 #11 gst_video_decoder_allocate_output_frame_with_params at ../gst-libs/gst/video/gstvideodecoder.c:4705 #12 gst_video_decoder_allocate_output_frame at ../gst-libs/gst/video/gstvideodecoder.c:4642 #13 get_output_buffer at ../ext/libav/gstavviddec.c:1767 #14 gst_ffmpegviddec_video_frame at ../ext/libav/gstavviddec.c:1948 #15 gst_ffmpegviddec_frame at ../ext/libav/gstavviddec.c:2121 #16 gst_ffmpegviddec_handle_frame at ../ext/libav/gstavviddec.c:2276 #17 gst_video_decoder_decode_frame at ../gst-libs/gst/video/gstvideodecoder.c:3993 #18 gst_video_decoder_chain_forward at ../gst-libs/gst/video/gstvideodecoder.c:2471 #19 gst_video_decoder_chain at ../gst-libs/gst/video/gstvideodecoder.c:2813 #20 gst_pad_chain_data_unchecked at ../gst/gstpad.c:4494 #21 gst_pad_push_data at ../gst/gstpad.c:4770 #22 gst_pad_push at ../gst/gstpad.c:4889 #23 gst_base_transform_chain at ../libs/gst/base/gstbasetransform.c:2391 #24 gst_pad_chain_data_unchecked at ../gst/gstpad.c:4494 #25 gst_pad_push_data at ../gst/gstpad.c:4770 #26 gst_pad_push at ../gst/gstpad.c:4889 #27 gst_base_parse_push_frame at ../libs/gst/base/gstbaseparse.c:2611 #28 gst_base_parse_handle_and_push_frame at ../libs/gst/base/gstbaseparse.c:2462 #29 gst_h264_parse_handle_frame_packetized at ../gst/videoparsers/gsth264parse.c:1360 #30 gst_h264_parse_handle_frame at ../gst/videoparsers/gsth264parse.c:1852 #31 gst_base_parse_handle_buffer at ../libs/gst/base/gstbaseparse.c:2266 #32 gst_base_parse_chain at ../libs/gst/base/gstbaseparse.c:3323 #33 gst_pad_chain_data_unchecked at ../gst/gstpad.c:4494 #34 gst_pad_push_data at ../gst/gstpad.c:4770 #35 gst_pad_push at ../gst/gstpad.c:4889 #36 gst_single_queue_push_one at ../plugins/elements/gstmultiqueue.c:2009 #37 gst_multi_queue_loop at ../plugins/elements/gstmultiqueue.c:2345 #38 gst_task_func at ../gst/gsttask.c:399 #40 g_thread_proxy at ../glib/gthread.c:835 #42 clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Created attachment 2021123 [details] File: proc_pid_status
Created attachment 2021125 [details] File: maps
Created attachment 2021127 [details] File: limits
Created attachment 2021128 [details] File: environ
Created attachment 2021130 [details] File: open_fds
Created attachment 2021131 [details] File: mountinfo
Created attachment 2021132 [details] File: os_info
Created attachment 2021133 [details] File: cpuinfo
Created attachment 2021134 [details] File: core_backtrace
Created attachment 2021135 [details] File: backtrace
Video file which causes crash https://mega.nz/file/J55QVRpL#-JG6fEpISF7FMSJmQmX4YH10QbhbF8WMeA0k98L3bHQ
This component is maintained by the GNOME project. Issues with it should be reported directly to GNOME at https://gitlab.gnome.org/GNOME/. This issue should only be kept open if it: 1. Relates to Fedora packaging or integration with other Fedora components 2. Is required for Fedora release processes, such as blocker bugs and freeze exceptions If this issue isn't needed for either of these two reasons, please: * create an issue with GNOME * add a link to the GNOME issue here * close this issue as CLOSED/UPSTREAM Thank you!
Switch to "Grid View" in nautilus and open folder with videos. reporter: libreport-2.17.15 type: CCpp reason: totem-video-thumbnailer killed by SIGTRAP journald_cursor: s=d97d8911cff04fe993a231f962bc6e38;i=1e8785;b=ee457dd0b5c147dfb39f92e87b5f76a1;m=936f7b998;t=6149386aeea42;x=dde5b5d3f46a7751 container_cmdline: bwrap --ro-bind /usr /usr --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --symlink /usr//bin /bin --symlink /usr//lib64 /lib64 --symlink /usr//lib /lib --symlink /usr//sbin /sbin --setenv GST_REGISTRY_1_0 /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0/gstreamer-1.0.registry --bind /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 --ro-bind-try /etc/alternatives /etc/alternatives --proc /proc --dev /dev --chdir / --setenv GIO_USE_VFS local --unshare-all --die-with-parent --bind /tmp/gnome-desktop-thumbnailer-KURLL2 /tmp --ro-bind /home/mikhail/Videos/VID_20210518_005550.mp4 /tmp/gnome-desktop-file-to-thumbnail.mp4 --seccomp 32 /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.mp4 /tmp/gnome-desktop-thumbnailer.png executable: /usr/bin/totem-video-thumbnailer cmdline: /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.mp4 /tmp/gnome-desktop-thumbnailer.png cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus rootdir: / uid: 1000 kernel: 6.9.0-0.rc1.17.fc41.x86_64+debug runlevel: N 5 dso_list: /usr/bin/totem-video-thumbnailer totem-video-thumbnailer-1:43.0-4.fc40.x86_64 (Fedora Project) 1708174621 backtrace_rating: 4 crash_function: g_malloc comment: Switch to "Grid View" in nautilus and open folder with videos. package: totem-video-thumbnailer-1:43.0-4.fc40
Switch to "Grid View" in nautilus and open folder with videos. reporter: libreport-2.17.15 type: CCpp reason: totem-video-thumbnailer killed by SIGTRAP journald_cursor: s=d97d8911cff04fe993a231f962bc6e38;i=1e86f2;b=ee457dd0b5c147dfb39f92e87b5f76a1;m=9366095bc;t=614938617c664;x=3954c619b08cd41f container_cmdline: bwrap --ro-bind /usr /usr --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --symlink /usr//bin /bin --symlink /usr//lib64 /lib64 --symlink /usr//lib /lib --symlink /usr//sbin /sbin --setenv GST_REGISTRY_1_0 /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0/gstreamer-1.0.registry --bind /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 /home/mikhail/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 --ro-bind-try /etc/alternatives /etc/alternatives --proc /proc --dev /dev --chdir / --setenv GIO_USE_VFS local --unshare-all --die-with-parent --bind /tmp/gnome-desktop-thumbnailer-SGABL2 /tmp --ro-bind /home/mikhail/Videos/06.11.2019_2-53-18-35yw0xmq.mp4 /tmp/gnome-desktop-file-to-thumbnail.mp4 --seccomp 64 /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.mp4 /tmp/gnome-desktop-thumbnailer.png executable: /usr/bin/totem-video-thumbnailer cmdline: /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.mp4 /tmp/gnome-desktop-thumbnailer.png cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus rootdir: / uid: 1000 kernel: 6.9.0-0.rc1.17.fc41.x86_64+debug runlevel: N 5 dso_list: /usr/bin/totem-video-thumbnailer totem-video-thumbnailer-1:43.0-4.fc40.x86_64 (Fedora Project) 1708174621 backtrace_rating: 3 crash_function: g_malloc comment: Switch to "Grid View" in nautilus and open folder with videos. package: totem-video-thumbnailer-1:43.0-4.fc40
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
> gst_buffer_new_allocate This most likely got fixed by https://gitlab.gnome.org/GNOME/totem/-/merge_requests/436
I'm not positive what caused this, but it often appears some time after trying to preview RAW formats like canon CR3 photos, or 10bit h264/h265 video reporter: libreport-2.17.15 type: CCpp reason: totem-video-thumbnailer killed by SIGTRAP journald_cursor: s=62bb2045a0694f87a0910a4912474cc7;i=1295dfd;b=0309ce2ab679447abd6fc98a80c3e757;m=2d0a366ff;t=634806ff7225b;x=ba113e24d04889d container_cmdline: bwrap --ro-bind /usr /usr --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --symlink /usr//bin /bin --symlink /usr//lib64 /lib64 --symlink /usr//lib /lib --symlink /usr//sbin /sbin --setenv GST_REGISTRY_1_0 /var/home/kyra/.cache/gnome-desktop-thumbnailer/gstreamer-1.0/gstreamer-1.0.registry --bind /var/home/kyra/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 /var/home/kyra/.cache/gnome-desktop-thumbnailer/gstreamer-1.0 --ro-bind-try /etc/alternatives /etc/alternatives --proc /proc --dev /dev --chdir / --setenv GIO_USE_VFS local --unshare-all --die-with-parent --bind /tmp/gnome-desktop-thumbnailer-78P852 /tmp --ro-bind /home/kyra/Downloads/4D8A9530.MP4 /tmp/gnome-desktop-file-to-thumbnail.MP4 --seccomp 25 /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.MP4 /tmp/gnome-desktop-thumbnailer.png executable: /usr/bin/totem-video-thumbnailer cmdline: /usr/bin/totem-video-thumbnailer -s 512 file:///tmp/gnome-desktop-file-to-thumbnail.MP4 /tmp/gnome-desktop-thumbnailer.png cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus rootdir: / uid: 1000 kernel: 6.14.5-300.fc42.x86_64 runlevel: N 5 backtrace_rating: 3 crash_function: g_malloc comment: I'm not positive what caused this, but it often appears some time after trying to preview RAW formats like canon CR3 photos, or 10bit h264/h265 video package: totem-video-thumbnailer-1:43.1-5.fc42
Opened https://src.fedoraproject.org/rpms/totem/pull-request/8 and https://src.fedoraproject.org/rpms/totem/pull-request/9
For those affected by this crash: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a22e68a469 should fix most remaining cases (not all, depending on used codecs). Feedback welcome :)