From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: Ian Roxborough Cc: insight@sources.redhat.com Subject: Re: Stack Window Problem [was: Re: DLLs and Insight...] Date: Wed, 31 Oct 2001 10:48:00 -0000 Message-id: <3BE04753.4AA1A1B9@redhat.com> References: <3BD5A9E0.F58D0D66@redhat.com> <20011023140707.D23357@redhat.com> <3BE036A6.DBBBB5E2@redhat.com> X-SW-Source: 2001-q4/msg00240.html 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