* Insight debug window crashes
@ 2001-10-31 12:56 Martin M. Hunt
2001-10-31 18:07 ` Keith Seitz
0 siblings, 1 reply; 2+ messages in thread
From: Martin M. Hunt @ 2001-10-31 12:56 UTC (permalink / raw)
To: Insight Mailing List
Anyone else see this with a recent build?
export GDBTK_DEBUG=2
./gdb gdb
debug window comes up then source window, then X-server crashes.
On RedHat 7.1 and 7.1 I am gettin X-server crashes when the debug window is
opened before the source window while debugging gdb with itself I have
traced this down to srcwin.itb in the following method:
body SrcWin::fillNameCB {} {
global _files
set allfiles [gdb_listfiles]
debug "gdb_listfiles returned $allfiles"
When debugging GDB with itself, $allfiles is almost 10,000 characters. There
appears to be some problems when writing this to the text window that causes
my X-server to crash. Not all X-servers crash; for example Xnest works fine
for me.
It seems to me this is most likely a tk bug that generates a bad X command
that crashes some X-servers. I think tk bug instead of X bug because this
does not happen with the old tcl/tk.
Any suggestions for a fix? We could truncate debug output to something
reasonable or have the debug code break long output up into smaller lines.
Or someone with a lot of time could take a look at tk.
--
Martin Hunt
GDB Engineer
Red Hat, Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Insight debug window crashes
2001-10-31 12:56 Insight debug window crashes Martin M. Hunt
@ 2001-10-31 18:07 ` Keith Seitz
0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2001-10-31 18:07 UTC (permalink / raw)
To: Martin M. Hunt; +Cc: Insight Mailing List
On Wed, 31 Oct 2001, Martin M. Hunt wrote:
> Anyone else see this with a recent build?
Well, as we've discussed, I don't see this problem on linux (RH7.0,
XFree86 4.0.1).
I tried my new P4 box, too. Also had no problems with XFree86-4.0.3 (it's
running RH7.1).
Anyone seeing problems at all under X?
I tried my little torture test (stepi 5000 times with all windows open),
and it passed without problems. (Although the string_to_core_addr did call
internal error when the memory window is opened with no inferior. The pc
is "No registers.")
Keith
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-31 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-31 12:56 Insight debug window crashes Martin M. Hunt
2001-10-31 18:07 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).