Totem and totem-video-thumbnailer in Ubuntu 20.04/20.10 is currently broken on aarch64

Bug #1846837 reported by RussianNeuroMancer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GStreamer
Unknown
Unknown
gcc-10 (Ubuntu)
Invalid
Undecided
Unassigned
gcc-9 (Ubuntu)
Invalid
Undecided
Unassigned
glibc (Ubuntu)
New
Undecided
Unassigned
gst-libav1.0 (Ubuntu)
Invalid
Undecided
Unassigned
totem (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello!

I found that totem-video-thumbnailer is broken on aarch64. It fail with following error:

(totem-video-thumbnailer:12136): GStreamer-WARNING **: 00:43:52.740: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibav.so': /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block

(totem-video-thumbnailer:12136): GStreamer-WARNING **: 00:43:52.764: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibav.so': /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block

(totem-video-thumbnailer:12136): GStreamer-WARNING **: 00:43:52.788: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibav.so': /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block

I tried to rollback all related packages I could think of (totem, gcc-9, ffmpeg) to previous releases, but for some reason this doesn't help. I remember video thumbnail generation on aarch64 worked fine few weeks ago.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

I added gcc-9 and ffmpeg to related packages because if search "libgomp.so.1: cannot allocate memory in static TLS block" in Google you will find this issue starting to appear in different program this years (such as Anaconda installer, OpenCV, PHP ImageMagick module) so I don't think this issue is isolated to Totem. However, Totem is only program where I can reliable reproduce this issue right now.

tags: added: eoan regression-release
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes, libgomp is from source package gcc-9.

affects: totem (Ubuntu) → gst-libav1.0 (Ubuntu)
no longer affects: ffmpeg (Ubuntu)
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Daniel, I just found that video previous successfully generated for video files compressed with VP9 video codec, but not for everything else I tested so far. I guess this may suggest this issue is somehow related to gstreamer or ffmpeg extra packages with additional (patented) codecs such as H.264.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Re: totem-video-thumbnailer in Ubuntu 20.04 is currently broken on aarch64

Issue is still reproducible on Focal.

summary: - totem-video-thumbnailer in Ubuntu 19.10 is currently broken on aarch64
+ totem-video-thumbnailer in Ubuntu 20.04 is currently broken on aarch64
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Just noticed that this issue affect regular Totem video player too. And it also is still reproducible on 20.10.

summary: - totem-video-thumbnailer in Ubuntu 20.04 is currently broken on aarch64
+ totem-video-thumbnailer in Ubuntu 20.04/20.10 is currently broken on
+ aarch64
summary: - totem-video-thumbnailer in Ubuntu 20.04/20.10 is currently broken on
- aarch64
+ Totem and totem-video-thumbnailer in Ubuntu 20.04/20.10 is currently
+ broken on aarch64
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :
tags: added: focal groovy
removed: eoan
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Answers from GStreamer bugtracker:

> This very much looks like it's something much lower level than gstreamer-libav. Googling libgomp shows it's an openmp implementation used with gcc which means I imagine this issues is either some compiler or ffmpeg issue or some combination thereof.

> Yeah, this is not a problem on our side. Please report this in Ubuntu against their toolchain.

By the way, I guess Totem is currently broken on Ubuntu Desktop images for Raspberry Pi 4 too?

Changed in gst-libav1.0 (Ubuntu):
status: New → Invalid
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :
Matthias Klose (doko)
Changed in gcc-10 (Ubuntu):
status: New → Invalid
Changed in gcc-9 (Ubuntu):
status: New → Invalid
Revision history for this message
Balint Reczey (rbalint) wrote :

For the record 20.10 should be fixed already and the test packages referred to from the other bug should fix this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.