[vtkusers] help! wierd pthread error..?

Brad King brad.king at kitware.com
Thu May 27 13:09:12 EDT 2004


Louis Desjardins wrote:
> Hi VTK Experts,
> 
> My program will run perfectly - doing its thing, loop after loop (its in 
> an infinite loop just rendering something over and over), but then after 
> about 5 or 10 minutes of running, SUDDENLY out of the blue - it stops! 
> And I get the following error:
> 
> ERROR: In /usr/local/src/vtk/vtksrc/Common/vtkMultiThreader.cxx, line 353
> vtkMultiThreader (0xe8ebb48): Unable to create a thread.  
> pthread_create() returned 11
> 
> Does anyone know any general reason why this might occur?

A return code of 11 is the EAGAIN error from pthread_create.  It may 
mean that the maximum number of threads per process has been exceeded. 
VTK has many threaded filters, but they all clean up after themselves as 
far as we know.  What filters is your program using?

-Brad



More information about the vtkusers mailing list