Ticket #344 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

PA_MEMPOOL_SLOT_SIZE incompatible with MAX_ALLOC_SIZE

Reported by: rdiez Owned by: lennart
Milestone: Component: clients
Keywords: Cc:

Description

The hard-coded value of 64 MB for PA_MEMPOOL_SLOT_SIZE in pulsecore/memblock.c is bigger than the hard-coded value of 20 MB for MAX_ALLOC_SIZE in pulse/xmalloc.c

If the OS has no shared memory or the like, that triggers an assert in pa_xmalloc() when allocating the first chunk of the memory pool.

Change History

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

Thanks! Fixed in r8df5b2d

Note: See TracTickets for help on using tickets.