[Bug 1988100] Re: Video thumbnails fail to genetate

2022-08-29 Thread Daniel van Vugt
On second thoughts,

> Error creating thread: Resource temporarily unavailable

sounds like it would be related to RLIMIT_NPROC. Although it does not
explain why -l works. Perhaps the thumbnailer contains a thread leak
that is triggered by the 30 second limit, which -l avoids.

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

Title:
  Video thumbnails fail to genetate

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1988100] Re: Video thumbnails fail to genetate

2022-08-29 Thread Aaron
> Don't be alarmed by that. Those two limits are correct and normal

Fair enough. I only mentioned it because I noted that the -l flag
allowed the process to complete.

Sadly I have nothing in /var/crash. I see a couple of gnome-shell
reports on errors.ubuntu.com but they are from back in March this year.

To be honest, I'm not sure how long this has been going on for. It could
have been years. I just happened to notice and be in the mood to do
something about it today.

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

Title:
  Video thumbnails fail to genetate

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1988100] Re: Video thumbnails fail to genetate

2022-08-29 Thread Daniel van Vugt
> OpenBLAS blas_thread_init: RLIMIT_NPROC 125184 current, 125184 max

Don't be alarmed by that. Those two limits are correct and normal per
https://manpages.ubuntu.com/manpages/jammy/man2/setrlimit.2.html and it
does not mean you actually have that many processes/threads right now.

To check for crashes, please:

1. Look in /var/crash for crash files and if found run:
ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where
ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine.
Do you find any links to recent problems on that page? If so then please
send the links to us.

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

Title:
  Video thumbnails fail to genetate

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1988100] Re: Video thumbnails fail to genetate

2022-08-29 Thread Aaron
** Description changed:

  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
+   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
- 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

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

Title:
  Video thumbnails fail to genetate

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs