[Bug 1914044] Re: [SRU] gstreamer fails with "cannot allocate memory in static TLS block" error on aarch64

Launchpad Bug Tracker 1914044 at bugs.launchpad.net
Mon Apr 26 16:08:35 UTC 2021


This bug was fixed in the package glibc - 2.31-0ubuntu9.3

---------------
glibc (2.31-0ubuntu9.3) focal; urgency=medium

  [ Aurelien Jarno ]
  * debian/patches/any/git-surplus-tls-accounting.diff: backport TLS surplus
    accounting from upstream. (Closes: #964141) (LP: #1914044)

  [ Balint Reczey ]
  * Update debian/patches/ubuntu/local-disable-ld_audit.diff
  * Prevent rare deadlock in pthread_cond_signal (LP: #1899800)
  * Cherry-pick upstream patch to fix building with -moutline-atomics
  * Make libc6 provide libc6-lse on arm64.
    Libc6 is now compiled with -moutline-atomics thus the separate binary
    package is dropped. (LP: #1912652)
  * debian/control: Libc6 should Conflict and Replace libc6-lse

 -- Balint Reczey <rbalint at ubuntu.com>  Mon, 29 Mar 2021 22:11:32 +0200

** Changed in: glibc (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1914044

Title:
  [SRU] gstreamer fails with "cannot allocate memory in static TLS
  block" error on aarch64

Status in glibc package in Ubuntu:
  Fix Released
Status in glibc source package in Focal:
  Fix Released
Status in glibc package in Debian:
  Fix Released

Bug description:
  [Impact]

  gstreamer cannot load some plugins on 20.04, aarch64 due to TLS memory
  exhaustion, so these plugins cannot be used. See LP: #1846837 and LP:
  #1914030.

  This is solved apparently on glibc 2.32:
  https://sourceware.org/bugzilla/show_bug.cgi?id=25051
  by patch
  https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ffb17e7ba3a5ba9632cee97330b325072fbe41dd

  [Test Case]

  Running totem-video-thumbnailer shows TLS error in the version not
  fixed, generates thumbnail with the fixed version:

  $ sudo apt -y install totem gstreamer1.0-libav
  ...
  $ wget https://ia800201.us.archive.org/12/items/BigBuckBunny_328/BigBuckBunny_512kb.mp4
  ...
  $ totem-video-thumbnailer BigBuckBunny_512kb.mp4 thumbnail.png
  ...
  (totem-video-thumbnailer:3602): GStreamer-WARNING **: 18:36:10.466: 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
  ...

  [Where problems could occur]

  This is delicate code in glibc with quite regression potential. Said
  this, the code is in the next major release (2.32, while focal has
  2.31), which has been running groovy for a while.

  Also, apparently there is a 2.31 patch for groovy, before it moved to
  2.32: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964141

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1914044/+subscriptions



More information about the foundations-bugs mailing list