Bug#967941: nautilus: fails to generate thumbnails for h264 encoded video files

Bernhard Übelacker bernhardu at mailbox.org
Thu Apr 8 11:01:51 BST 2021


Dear Maintainer,
I wondered why the first two allocators would fail
and tried to step into.

At least the alloc_malloc seems to use the
regular glibc-malloc, and should succeed therefore [1]?

So might there be a size restriction in place how much memory
totem-video-thumbnailer is allowed to allocate.

Because each of these threads seems to try to allocate 128 MB,
but malloc returns 0.

And such a totem-video-thumbnailer process seems to contain
many threads [2]. (One for each core?)


Kind regards,
Bernhard


[1]
     (gdb) bt
     #0  0x00007ffff79390f7 in __GI___libc_malloc (bytes=134221824) at malloc.c:3023
     #1  0x00007fffce1331de in alloc_malloc (address=<optimized out>) at memory.c:2290
     #2  0x00007fffce133709 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793
     
     Thread 8 "matroskademux0:" hit Breakpoint 4, alloc_malloc (address=0x0) at memory.c:2290
     2290      map_address = (void *)malloc(BUFFER_SIZE + FIXED_PAGESIZE);


[2]
...
   6    Thread 0x7ffff1ef0700 (LWP 3797) "matroskademux0:" libc_feholdsetround_sse_ctx (r=0, ctx=<synthetic pointer>) at ../sysdeps/x86/fpu/fenv_private.h:416
   7    Thread 0x7ffff16ef700 (LWP 3798) "multiqueue0:src" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
   8    Thread 0x7fffcd877700 (LWP 3799) "matroskademux0:" 0x00007ffff7993fa7 in sched_yield () at ../sysdeps/unix/syscall-template.S:120
* 9    Thread 0x7fffcd076700 (LWP 3800) "matroskademux0:" 0x0000000000000000 in ?? ()
   10   Thread 0x7fffcc875700 (LWP 3801) "matroskademux0:" 0x00007ffff7993fa7 in sched_yield () at ../sysdeps/unix/syscall-template.S:120
   11   Thread 0x7fffcc074700 (LWP 3802) "matroskademux0:" 0x00007fffce133707 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793
   12   Thread 0x7fffcb873700 (LWP 3803) "matroskademux0:" 0x00007fffce133707 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793
   13   Thread 0x7fffcb072700 (LWP 3804) "matroskademux0:" 0x00007fffce133707 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793
   14   Thread 0x7fffca871700 (LWP 3805) "matroskademux0:" 0x00007fffce133707 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793
   15   Thread 0x7fffc2070700 (LWP 3806) "matroskademux0:" 0x00007fffce133707 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793
   16   Thread 0x7fffc186f700 (LWP 3807) "matroskademux0:" alloc_malloc (address=0x0) at memory.c:2290
   17   Thread 0x7fffb906e700 (LWP 3808) "matroskademux0:" alloc_malloc (address=0x0) at memory.c:2290
   18   Thread 0x7fffb886d700 (LWP 3809) "matroskademux0:" alloc_malloc (address=0x0) at memory.c:2290
   19   Thread 0x7fffb806c700 (LWP 3810) "matroskademux0:" alloc_malloc (address=0x0) at memory.c:2290
   20   Thread 0x7fffb786b700 (LWP 3811) "matroskademux0:" alloc_malloc (address=0x0) at memory.c:2290
   21   Thread 0x7fffb706a700 (LWP 3812) "matroskademux0:" 0x00007fffce133707 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793
   22   Thread 0x7fffb6869700 (LWP 3813) "matroskademux0:" 0x00007fffce133707 in blas_memory_alloc (procpos=procpos at entry=2) at memory.c:2793



More information about the debian-science-maintainers mailing list