IDL 8.2 IDL_IDLBridge & abortion [message #88793] |
Thu, 19 June 2014 15:37  |
Garsmat72
Messages: 3 Registered: June 2014
|
Junior Member |
|
|
Hello folks,
I'm programming with IDL 8.2 and I have an issue with IDL_IDLBridge.
I use some IDL bridges to compute on large pictures.
In the code used by those bridges, the program executes a large loop. At some point in this loop, all the children stop with the abort command (status = 4). There aren't any type problem, I tested the function in the main IDL process but it doesn't create any problem.
Does anyone have an idea what's happening in the children processes?
Cheers,
Mathieu
|
|
|
Re: IDL 8.2 IDL_IDLBridge & abortion [message #88796 is a reply to message #88793] |
Fri, 20 June 2014 10:32   |
Bill Nel
Messages: 31 Registered: October 2010
|
Member |
|
|
Have you turned on logging (using Obj_New("IDL_IDLBridge", output=logfilename)?
The child process might print an error message there. And you can write debugging output, as well.
On Thursday, June 19, 2014 6:37:05 PM UTC-4, Garsmat72 wrote:
> Hello folks,
>
>
>
> I'm programming with IDL 8.2 and I have an issue with IDL_IDLBridge.
>
> I use some IDL bridges to compute on large pictures.
>
> In the code used by those bridges, the program executes a large loop. At some point in this loop, all the children stop with the abort command (status = 4). There aren't any type problem, I tested the function in the main IDL process but it doesn't create any problem.
>
>
>
> Does anyone have an idea what's happening in the children processes?
>
>
>
> Cheers,
>
>
>
> Mathieu
|
|
|
|
Re: IDL 8.2 IDL_IDLBridge & abortion [message #88823 is a reply to message #88793] |
Tue, 24 June 2014 03:38  |
Garsmat72
Messages: 3 Registered: June 2014
|
Junior Member |
|
|
Hi all,
I solved this issue.
As soon as the main IDL process leaves the function/procedure where the bridges were created, they are destroyed, which causes an abortion in the bridges. One of the possible solutions is to save the IDL_IDLBridge objects in a system variable before the main IDL process leaves the function.
Mathieu
|
|
|