introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.75k stars 785 forks source link

Audio issue : mmap() failed: Cannot allocate memory #15

Closed matlabbe closed 9 years ago

matlabbe commented 9 years ago

From @GoogleCodeExporter on May 26, 2015 18:56

System: Ubuntu 12.04 precise 32 bits on Macbook Pro 6.2
Code: branch audio r490

Steps: 
-Start RTAB-Map using Sensorimotor memory and audio source (tested with audio 
only). Note that Audio widgets (ref and loop) are shown.
-Start detection and wait until application crashes with error:

mmap() failed: Cannot allocate memory
Assertion 'b' failed at pulsecore/memblock.c:454, function 
pa_memblock_acquire(). Aborting.
Aborted (core dumped)

May be related to https://bugs.freedesktop.org/show_bug.cgi?id=43269

Original issue reported on code.google.com by matla...@gmail.com on 27 Apr 2012 at 8:33

Copied from original issue: matlabbe/rtabmap#3

matlabbe commented 9 years ago

From @GoogleCodeExporter on May 26, 2015 18:56

It was a bug in UtiLite library with thread management. The fix is in -r141 of 
UtiLite : http://code.google.com/p/utilite/source/detail?r=141 : it was an 
error when creating too many (>100) pthread (without being detached) which 
caused an "out of memory" (errno=12), refer to 
http://www.barricane.com/c-error-codes-include-errno.

Original comment by matla...@gmail.com on 2 May 2012 at 7:19