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

Home » Public Forums » archive » Re: How to debug seg fault.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to debug seg fault. [message #48075 is a reply to message #48067] Mon, 20 March 2006 12:13 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jonathan Joseph writes:

> I'm running IDL 6.0 on a sun workstation under solaris 8.
>
> I have a pretty elaborite GUI program, that with the same set of
> actions, I can reproducibly cause IDL to terminate with a segmentation
> fault.
>
> I'm trying to debug this problem, but it's almost impossible because if
> I add a print statement to the code, I no longer get the crash.
> Likewise, if I step through in IDLDE, I don't get the crash.
>
> This seems like a classic memory access problem, but I can't figure out
> how to pinpoint the problem - which may be having other unseen
> ramifications.

I've seen this problem before! I just can't remember
anything about it. :-(

Is it possible it has to do with temporary variables?

I'm laying brick today. This will give me something to
think about other than how much my back hurts. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: how to exchange variable between modal dialog and the main window?
Next Topic: Re: Database vs. File Parsing

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

Current Time: Fri Oct 10 00:45:52 PDT 2025

Total time taken to generate the page: 1.19953 seconds