This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Stack Window Problem [was: Re: DLLs and Insight...]


Ian Roxborough wrote:
> 
> Hi,
> 
> so I'm still slogging away at the Windows crashing problem and
> then I had the problem where I couldn't see the source of the Tk
> DLL again.
> 
> Problem: I'm running Insight and Tk segfaults (which I what I want),
> but when I look at the stack all I see are "????" where I should
> see Tk functions.  I can set breakpoints in Tk functions (which don't
> work), I can browse Tk functions in the Function Browser, but can't
> see them in drop down comboboxes in the Source Window.
> 
> It seems to me that this is and intermittent problem with Insight.
> I checked it against at pre-Tcl8.3 Insight build and could see
> all the stack entries without any problem.
> 

This is a common symptom of stack corruption as well.  What does the
command like "bt" command shows?  (try it in the console window, 
I don't think it matters not being in the real console).

Fernando


> Ian.
> 
> Christopher Faylor wrote:
> >
> > On Tue, Oct 23, 2001 at 10:33:20AM -0700, Ian Roxborough wrote:
> > >I'm wondering about debugging inside a DLL loaded into an application.
> > >I'm getting a little closer to the Windows crashing problems, but I
> > >can't see an debug symbols or sources when I'm debugging inside the Tk
> > >DLL.  The stack shows "???" as calls into the Tk DLL.
> >
> > It sounds like there is no debugging info in the DLL.  Is it being
> > compiled/linked with -g?
> >
> > cgf

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]