Bug 2268999

Summary: [abrt] totem-video-thumbnailer: g_malloc(): totem-video-thumbnailer killed by SIGTRAP
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: totemAssignee: GNOME SIG Unassigned <gnome-sig>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: cfergeau, gnome-sig, icq, klember, mclasen, mikhail.v.gavrilov, rhughes, robert.mader, rstrode
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a3e04d75f3a6896920bc3ab4bd588bf114825416;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: backtrace none

Description Mikhail 2024-03-11 12:53:13 UTC
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

Comment 1 Mikhail 2024-03-11 12:53:16 UTC
Created attachment 2021123 [details]
File: proc_pid_status

Comment 2 Mikhail 2024-03-11 12:53:17 UTC
Created attachment 2021125 [details]
File: maps

Comment 3 Mikhail 2024-03-11 12:53:19 UTC
Created attachment 2021127 [details]
File: limits

Comment 4 Mikhail 2024-03-11 12:53:20 UTC
Created attachment 2021128 [details]
File: environ

Comment 5 Mikhail 2024-03-11 12:53:22 UTC
Created attachment 2021130 [details]
File: open_fds

Comment 6 Mikhail 2024-03-11 12:53:24 UTC
Created attachment 2021131 [details]
File: mountinfo

Comment 7 Mikhail 2024-03-11 12:53:26 UTC
Created attachment 2021132 [details]
File: os_info

Comment 8 Mikhail 2024-03-11 12:53:27 UTC
Created attachment 2021133 [details]
File: cpuinfo

Comment 9 Mikhail 2024-03-11 12:53:29 UTC
Created attachment 2021134 [details]
File: core_backtrace

Comment 10 Mikhail 2024-03-11 12:53:32 UTC
Created attachment 2021135 [details]
File: backtrace

Comment 11 Mikhail 2024-03-11 12:59:54 UTC
Video file which causes crash https://mega.nz/file/J55QVRpL#-JG6fEpISF7FMSJmQmX4YH10QbhbF8WMeA0k98L3bHQ

Comment 12 Fedora Admin user for bugzilla script actions 2024-03-11 13:03:26 UTC
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!

Comment 13 Mikhail 2024-03-26 17:36:20 UTC
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

Comment 14 Mikhail 2024-03-26 17:38:35 UTC
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

Comment 15 Aoife Moloney 2025-02-26 12:59:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 16 Robert Mader 2025-05-09 14:19:43 UTC
> gst_buffer_new_allocate

This most likely got fixed by https://gitlab.gnome.org/GNOME/totem/-/merge_requests/436

Comment 17 kxra 2025-05-12 07:06:16 UTC
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

Comment 19 Robert Mader 2025-05-17 12:56:56 UTC
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 :)

Comment 20 Fedora Release Engineering 2026-05-06 11:37:46 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.