> OpenBLAS blas_thread_init: pthread_create failed for thread 7 of 16:
Resource temporarily unavailable

16 threads is not much so that alone isn't the issue. However
https://github.com/xianyi/OpenBLAS/issues/1668 mentions that the
offending code might have set the stack ulimit to gigabytes in size,
which would make the system quickly run out of virtual address space
when creating new threads. Although I doubt the offending "LSF" code is
something totem uses, your issue does also look like it has run out of
address space for new thread stacks.


** Bug watch added: github.com/xianyi/OpenBLAS/issues #1668
   https://github.com/xianyi/OpenBLAS/issues/1668

** Also affects: totem (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to totem in Ubuntu.
https://bugs.launchpad.net/bugs/1988100

Title:
  totem-video-thumbnailer fails in OpenBLAS blas_thread_init

Status in openblas package in Ubuntu:
  New
Status in totem package in Ubuntu:
  New

Bug description:
  totem-video-thumbnailer appears to be crashing and so no video
  thumbnails are generated. This is what happens when I run it manually:

  $ totem-video-thumbnailer -v sample.mp4 sample.png
  TotemVideoThumbnailer-Message: 11:08:44.734: Initialised libraries, about to 
create video widget
  TotemVideoThumbnailer-Message: 11:08:44.739: setting URI 
file:///home/aaron/tmp/sample.mp4
  TotemVideoThumbnailer-Message: 11:08:44.739: Video widget created
  TotemVideoThumbnailer-Message: 11:08:44.739: About to open video file

  (totem-video-thumbnailer:416380): GStreamer-WARNING **: 11:08:44.806:
  failed to create thread: Error creating thread: Resource temporarily
  unavailable

  (totem-video-thumbnailer:416380): GStreamer-WARNING **: 11:08:44.808: failed 
to create thread: Error creating thread: Resource temporarily unavailable
  terminate called after throwing an instance of 'std::bad_alloc'
    what():  std::bad_alloc
  Aborted

  Passing the -l flag causes it to work fine.

  Also, in other tests, which I fail to replicate now, I saw this error:
  OpenBLAS blas_thread_init: RLIMIT_NPROC 125184 current, 125184 max

  As a workaround I have installed ffmpegthumbnailer and $ln -s
  /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer
  ~/.local/share/thumbnailers/ffmpegthumbnailer.thumbnailer

  This has things working for me, but does not really address the
  problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: totem 42.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46
  Uname: Linux 5.15.0-47-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 30 10:53:06 2022
  InstallationDate: Installed on 2021-09-24 (339 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  SourcePackage: totem
  UpgradeStatus: Upgraded to jammy on 2022-07-19 (41 days ago)
  modified.conffile..etc.default.apport: [modified]
  mtime.conffile..etc.default.apport: 2021-09-27T12:02:48.414586

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to