Re: IDL hangs on futex_wait_private [message #80237] |
Mon, 21 May 2012 03:50  |
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  |
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
|
|
|