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

Home » Public Forums » archive » Does the IDLDE regularly hang for anyone else?
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
Does the IDLDE regularly hang for anyone else? [message #85949] Fri, 20 September 2013 10:41 Go to next message
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
I'm using IDL 8.2 on Windows 7 Ultimate x64 and the IDE is constantly hanging at random times. Often it is when I'm editing code, but it also happens sometimes when accessing menus or during program execution. I see this on more than one machine, but the problem is completely non-reproducible. Sometimes a session runs for hours, sometimes only for minutes.

I suspect an interaction with some Windows .NET updates, but I can't put my finger on it. Anyone else having trouble with the IDE suddenly hanging with an hourglass?
Re: Does the IDLDE regularly hang for anyone else? [message #85950 is a reply to message #85949] Fri, 20 September 2013 13:58 Go to previous messageGo to next message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 09/20/2013 07:41 PM, b_gom@hotmail.com wrote:
> Anyone else having trouble with the IDE

Sometimes, after or while debugging, my IDE hangs for a few seconds and
I cant edit files or type in the console. But usually this ends after
~10 secs or so... But this doesn't happen too often. The funniest
behavior I have is sometimes when I copy/paste something, instead of
pasting the editor jumps in another file. All of this is rather
harmless.

IDL> print, !VERSION
{ x86_64 linux unix linux 8.2.3 May 2 2013 64 64}
Re: Does the IDLDE regularly hang for anyone else? [message #85974 is a reply to message #85949] Sun, 22 September 2013 15:28 Go to previous messageGo to next message
timothyja123 is currently offline  timothyja123
Messages: 57
Registered: February 2013
Member
On Saturday, September 21, 2013 3:41:24 AM UTC+10, b_...@hotmail.com wrote:
> I'm using IDL 8.2 on Windows 7 Ultimate x64 and the IDE is constantly hanging at random times. Often it is when I'm editing code, but it also happens sometimes when accessing menus or during program execution. I see this on more than one machine, but the problem is completely non-reproducible. Sometimes a session runs for hours, sometimes only for minutes.
>
>
>
> I suspect an interaction with some Windows .NET updates, but I can't put my finger on it. Anyone else having trouble with the IDE suddenly hanging with an hourglass?

Yes all the time. It took me a while to figure out what was going on. In my case it is 100% reproduceable. In the main IDL program I maintain it has code like this scattered around the place:

CATCH, errorNum
IF (errorNum NE 0) THEN BEGIN
CATCH, /Cancel
HELP, /Last_Message, Output = lastError
v = DIALOG_MESSAGE(LastError)
Error = LastError[0]
RETURN
ENDIF

So while I'm working on updates if I hit an error a popup comes up telling me where the error is. The problem is if I leave this popup open and start using the IDE to edit files etc it will freeze, sometimes it doesnt freeze right away but it will always freeze eventually. No that you remind me a think I will finally create a test program and submit a bug report for this.
Re: Does the IDLDE regularly hang for anyone else? [message #85975 is a reply to message #85949] Sun, 22 September 2013 15:53 Go to previous messageGo to next message
timothyja123 is currently offline  timothyja123
Messages: 57
Registered: February 2013
Member
On Monday, September 23, 2013 8:52:47 AM UTC+10, timoth...@gmail.com wrote:
> On Monday, September 23, 2013 8:28:24 AM UTC+10, timoth...@gmail.com wrote:
>
>> On Saturday, September 21, 2013 3:41:24 AM UTC+10, b_...@hotmail.com wrote:
>
>>
>
>>> I'm using IDL 8.2 on Windows 7 Ultimate x64 and the IDE is constantly hanging at random times. Often it is when I'm editing code, but it also happens sometimes when accessing menus or during program execution. I see this on more than one machine, but the problem is completely non-reproducible. Sometimes a session runs for hours, sometimes only for minutes.
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>> I suspect an interaction with some Windows .NET updates, but I can't put my finger on it. Anyone else having trouble with the IDE suddenly hanging with an hourglass?
>
>>
>
>>
>
>>
>
>> Yes all the time. It took me a while to figure out what was going on. In my case it is 100% reproduceable. In the main IDL program I maintain it has code like this scattered around the place:
>
>>
>
>>
>
>>
>
>> CATCH, errorNum
>
>>
>
>> IF (errorNum NE 0) THEN BEGIN
>
>>
>
>> CATCH, /Cancel
>
>>
>
>> HELP, /Last_Message, Output = lastError
>
>>
>
>> v = DIALOG_MESSAGE(LastError)
>
>>
>
>> Error = LastError[0]
>
>>
>
>> RETURN
>
>>
>
>> ENDIF
>
>>
>
>>
>
>>
>
>> So while I'm working on updates if I hit an error a popup comes up telling me where the error is. The problem is if I leave this popup open and start using the IDE to edit files etc it will freeze, sometimes it doesnt freeze right away but it will always freeze eventually. No that you remind me a think I will finally create a test program and submit a bug report for this.
>
>
>
> Hmm seems like its not as easy to reproduce (outside of my application) as I thought. Can get it to hang using my test program.

*Can't* get it to hang using my test program.
Re: Does the IDLDE regularly hang for anyone else? [message #85976 is a reply to message #85949] Sun, 22 September 2013 16:01 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
timothyja123@gmail.com writes:

> Hmm seems like its not as easy to reproduce (outside of my application) as I thought. Can get it to hang using my test program.

No, I wouldn't have thought so. In fact, I doubt you can do much of
anything as long as the blocking dialog is on your display.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Does the IDLDE regularly hang for anyone else? [message #85977 is a reply to message #85976] Sun, 22 September 2013 17:26 Go to previous messageGo to next message
timothyja123 is currently offline  timothyja123
Messages: 57
Registered: February 2013
Member
> No, I wouldn't have thought so. In fact, I doubt you can do much of
>
> anything as long as the blocking dialog is on your display.
>
> Cheers,
> David

You can use pretty much everything in the IDE except the console (it just takes commands and doesnt do anything until the dialog is closed). This is fine, the problem is (at least for me) that once the IDE does freeze even if you close the blocking dialog its too late once the workspace hangs thats it. Closing the dialog now will not stop the IDE hanging. You have to launch the task manager and kill the IDE then reopen it possibly loosing unsaved work. This is why I consider it a bug, not so much the hanging but the fact it doent recover.
Re: Does the IDLDE regularly hang for anyone else? [message #86001 is a reply to message #85977] Mon, 23 September 2013 14:39 Go to previous messageGo to next message
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
The problems I'm running into might be slightly different. Here's all I can say:

1) they are random in time. Sometimes my session lasts for an hour, sometimes 5 minutes.

2) sometimes the IDE remains responsive in that I can click the menu buttons, for example 'compile', and the "IDL> .compile -v 'name'" line shows up in the console, but the compiler doesn't actually do anything. The editor does not take input, and no other commands execute in the console

3) they don't seem to be related to execution of a specific piece of code. Sometimes the session hangs just when editing, sometimes it hangs when I try to run a program, sometimes it hangs when a file dialog or some other GUI interface is being used.

I'm not sure if the debugger could be implicated somehow, but I've also noticed oddities with the debugging mode breakpoints. Often these seem to jump around or get duplicated while editing code and compiling.

It could also be an issue with the Dell Precision workstations that we use. I have had strange network-related problems in the past with LabView that only seem to occur on certain Dell machines. Its worth noting, though, that IDL is the only program on my current workstations that is giving me any kind of trouble.

I think I'll try pulling out software piece by piece and reinstalling to see if that helps.


On Sunday, September 22, 2013 6:26:32 PM UTC-6, timoth...@gmail.com wrote:
>> No, I wouldn't have thought so. In fact, I doubt you can do much of
>
>>
>
>> anything as long as the blocking dialog is on your display.
>
>>
>
>> Cheers,
>
>> David
>
>
>
> You can use pretty much everything in the IDE except the console (it just takes commands and doesnt do anything until the dialog is closed). This is fine, the problem is (at least for me) that once the IDE does freeze even if you close the blocking dialog its too late once the workspace hangs thats it. Closing the dialog now will not stop the IDE hanging. You have to launch the task manager and kill the IDE then reopen it possibly loosing unsaved work. This is why I consider it a bug, not so much the hanging but the fact it doent recover.
Re: Does the IDLDE regularly hang for anyone else? [message #86003 is a reply to message #86001] Mon, 23 September 2013 15:01 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
b_gom@hotmail.com writes:

> I think I'll try pulling out software piece by piece and reinstalling to see if that helps.

I haven't responded because I don't honestly remember IDL 8.2, but I
have a 64-bit version of IDL (8.2.3) running pretty much constantly on
my Windows 7 machine and I have never experienced problems of the sort
you describe. Occasionally IDL will crash, but always when I am object
programming, and I presume this has to do with the object cleanup
routines. I've never seen IDL crash for no reason or at random times, as
far as I can recall. Sometimes IDL runs for days or weeks at a time. I
just don't ever close it.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Does the IDLDE regularly hang for anyone else? [message #86004 is a reply to message #86003] Mon, 23 September 2013 15:37 Go to previous messageGo to next message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
Since moving from ILD7 to IDL8, the IDLDE crashes a lot for me. This is running on Linux. As with David, I find this happens when programming objects. I haven't yet been able to reproduce a specific crash in order to report a bug.

One thing I noticed is that it can sometimes crash (but not always) if I compile a running .pro. Under IDL7 I got lazy and realised that instead of stopping then re-compiling, the re-compile button effectively does both, saving a mouse click and delaying carpal tunnel a little bit longer. This worked fine under IDL7 but will crash the IDLDE under IDL8 too often to make it worthwhile. I'm trying to break the habit with mixed success.
Re: Does the IDLDE regularly hang for anyone else? [message #86005 is a reply to message #86004] Mon, 23 September 2013 16:05 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bogdanovist writes:

> One thing I noticed is that it can sometimes crash (but not always) if I compile a running .pro. Under IDL7 I got lazy and realised that instead of stopping then re-compiling, the re-compile button effectively does both, saving a mouse click and delaying carpal tunnel a little bit longer. This worked fine under IDL7 but will crash the IDLDE under IDL8 too often to make it worthwhile. I'm trying to break the habit with mixed success.

Ah, there was a problem, finally corrected, but I am not sure in which
version of IDL 8.x, that involved recompiling main-level programs that
had stopped with an error. I do remember crashes and huge annoyance with
this, until I retrained my fingers to type .reset before re-compiling
stopped main-level programs. I never had this problem with procedures
and functions.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Does the IDLDE regularly hang for anyone else? [message #86006 is a reply to message #86005] Mon, 23 September 2013 16:24 Go to previous messageGo to next message
timothyja123 is currently offline  timothyja123
Messages: 57
Registered: February 2013
Member
> Ah, there was a problem, finally corrected, but I am not sure in which
> version of IDL 8.x, that involved recompiling main-level programs that
> had stopped with an error. I do remember crashes and huge annoyance with
> this, until I retrained my fingers to type .reset before re-compiling
> stopped main-level programs. I never had this problem with procedures
> and functions.

I tracked down an issue an reported it where IDL would crash when using .reset then recompiling. The issue I was having is due to instabilies with the XML object component. This is still an issue in 8.2.3.
Re: Does the IDLDE regularly hang for anyone else? [message #86038 is a reply to message #86003] Wed, 25 September 2013 10:44 Go to previous message
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
I should clarify that these problems are with IDL 8.2.3, but I also had problems with the earlier 8.2 release.

Yesterday I uninstalled IDL and removed all traces of JAVA on my machine. I reinstalled IDL, and so far today everything seems ok. I'll wait and see if JAVA was to blame.


On Monday, September 23, 2013 4:01:26 PM UTC-6, David Fanning wrote:
>
>
>> I think I'll try pulling out software piece by piece and reinstalling to see if that helps.
>
>
>
> I haven't responded because I don't honestly remember IDL 8.2, but I
>
> have a 64-bit version of IDL (8.2.3) running pretty much constantly on
>
> my Windows 7 machine and I have never experienced problems of the sort
>
> you describe. Occasionally IDL will crash, but always when I am object
>
> programming, and I presume this has to do with the object cleanup
>
> routines. I've never seen IDL crash for no reason or at random times, as
>
> far as I can recall. Sometimes IDL runs for days or weeks at a time. I
>
> just don't ever close it.
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: delete a tagname from a structure?
Next Topic: structures?

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

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

Total time taken to generate the page: 0.00716 seconds