Subject: Malloc error output involving pthreads, what does it mean exactly?
To: None <tech-kern@netbsd.org, tech-pkg@NetBSD.org>
From: Vincent <10.50@free.fr>
List: tech-pkg
Date: 03/01/2005 13:18:58
Hi,
sorry for posting to both lists, I don't know precisely which owes this 
message.

When I use gimp2 with a big image (~ 12 million pixels), it crashes 
always sooner or later with a impossiblity to allocate something like a 
12 kB chunk of memory. With the A flag in MALLOC_OPTIONS, I get that:

gimp in malloc(): error: allocation failed.
assertion "next != 0" failed: file 
"/usr/src/lib/libpthread/pthread_run.c", line 130, function "pthread__next"

Is this a normal behavior when malloc fails to allocate memory, or is it 
a bug somehow connected with the system pthreads?

Thanks!
Vincent