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

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?