Jon TURNEY writes:
> Even with this fix, the cygwin tinderbox is still failing (silently)
> [1]. The alphamap process grows to 2G in size and then mmap() starts
> failing.
>
> It looks like this is because we are still leaking the alphamap
> pixmaps. Attached is a patch to fix this, although I a
On 08/10/2010 12:53, Soeren Sandmann wrote:
static pixman_image_t *
make_image (pixman_format_code_t format)
{
uint32_t *bits;
uint8_t bpp = PIXMAN_FORMAT_BPP (format) / 8;
+pixman_image_t *image;
bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp);
-retu
Søren Sandmann writes:
> static pixman_image_t *
> make_image (pixman_format_code_t format)
> {
> uint32_t *bits;
> uint8_t bpp = PIXMAN_FORMAT_BPP (format) / 8;
> +pixman_image_t *image;
>
> bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp);
>
> -return pi
From: Søren Sandmann Pedersen
The images are being created with non-NULL data, so we have to free it
outselves. This is important because the Cygwin tinderbox is running
out of memory and produces this:
mmap failed on 2 1507328
mmap failed on 4 1507328
mmap failed on 2 15