comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL hangs on futex_wait_private
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL hangs on futex_wait_private [message #80237] Mon, 21 May 2012 03:50 Go to next message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Sunday, 20 May 2012 22:56:10 UTC+2, Mark wrote:
> Dear fellow IDL'ers,
>
> I have a rather nasty problem going on. Recently I programmed a
> analysis program and in most cases it runs quite smootly. Once in a
> while however, it just stalls, in the middle of a loop. No reading or
> writing is done, just plain math. I keep memory requirements low, and
> also the specific datafile I'm analyzing does not seem to matter. No
> crash, no error messages (also not in system log files). Looking at
> the process state it is in: futex_wait_private. Running on linux,
> Fedora 14, 32 bit. Has anyone perhaps ran in similar problems? My
> feeling is that it might be a thread related thing when IDL does some
> parallelization.

Weird.

> Any clues?

Nope. Sorry. It might help if you specify which IDL command you are running when it hangs.

> Is there a way to tell IDL to do no parallelization?

Look in the documentation of the !CPU system variable. Set the !CPU.TPOOL_MIN_ELTS to a very large value and/or !CPU.TPOOL_NTHREADS to 1.

--
Yngvar
Re: IDL hangs on futex_wait_private [message #81255 is a reply to message #80237] Tue, 04 September 2012 04:05 Go to previous message
reuterm is currently offline  reuterm
Messages: 1
Registered: September 2012
Junior Member
Spotted the same issue with Ubuntu64bit, IDL7 32bit and IDL8 32bit. However, I suspected that the error happens mainly at routines with File IO. Till now, I found now way for debugging this because the error usually happens not immediately but after several hours.

strace says:
futex(0x56426420, FUTEX_WAIT_PRIVATE, 2, NULL
To my knowledge this means that IDL waits for an infinite amount of time that memory address 0x56426420 may change.

Have you found a solution, Mark? Was playing around with the !CPU system variable successful?

Cheers Max
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: finding the center of gravity of an irregularly shaped roi within a 2d array
Next Topic: Re: finding the center of gravity of an irregularly shaped roi within a 2d array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:54:09 PDT 2025

Total time taken to generate the page: 0.00399 seconds