shiva16 / rtabmap

Automatically exported from code.google.com/p/rtabmap
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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