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

Home » Public Forums » archive » IDL 6.3 segmentation fault
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
IDL 6.3 segmentation fault [message #48932] Thu, 01 June 2006 08:23
shd is currently offline  shd
Messages: 4
Registered: June 2006
Junior Member
Hello,

I wanted to post this as a reply to a thread on this group called
'How to debug seg fault' but it's past the 30 day mark. The author of
that thread experienced something similar.

I'm getting a bit of odd behavior from my widget program on Ubuntu
5.10. My GUI has a 'File' menu and a toolbar, both of which contain an
'Exit' item which execute the exact same code:

====================
pro _exit, top
widget_control, top, /DESTROY
end
====================

I'm working from the command-line interpreter, not the IDE. Here's the
wierdness:

I compile and launch my program and press the 'Exit' button on the
toolbar. When I try to re-launch the program, my GUI doesn't come up
and IDL exits with only a 'Segmentation fault' message. However, if I
exit my GUI by simply killing the window (clicking the 'X' on the
border), the seg. fault doesn't occur. Also, if I exit the GUI by
selecting 'Exit' from the 'File' menu, the seg. fault doesn't occur.
So I launched the IDE to step through the program and it got much
stranger. I can't reproduce the segmentation fault from the IDE no
matter how I exit my GUI.

Any else seen something like this?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: widget_control, event.TOP, /destroy
Next Topic: Problems with the Windows IDE

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

Current Time: Sun Oct 12 03:53:00 PDT 2025

Total time taken to generate the page: 1.03969 seconds