public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* insight will not start
@ 1999-08-26 14:03 Alonzi, Thomas
  1999-08-30 10:27 ` James Ingham
  0 siblings, 1 reply; 2+ messages in thread
From: Alonzi, Thomas @ 1999-08-26 14:03 UTC (permalink / raw)
  To: insight

System Cygwin/NT4.0/sp3/FAT_FS

After a delightful few hours of getting acquainted with insight, it got into
a strange loop and hogged the CPU so badly I had to hit the reset button.   

Two questions(possibly related).


Q1:

During the reboot, the file system check announced it found a file extension
without a filename which it moved to c:\found.000 directory.  Examination
showed this to be a mostly empty file with a sting of smilely faces as
header.

After reboot, my means of starting insight, i.e., entering cd
/cygnus/insight/bin ; ./gdb, no longer had the desired result.  The command
line prompt returns but the Insight windows never appear and gdb is not in
the task list.  I guess it just silently quits.

I may suppose that file which the file system check found to be odd and
moved was some sort of file necessary to the operation of Insight since it
appears to be the only thing that changed.

However, if so, deleting and installing the Insight FS would fix the
problem.  But it did not help.

Any suggestions welcome.  I really like what I saw and want Insight to work.

Q2:

There is a blurb in the cygnus web site which contains the link to download
Insight.  The blurb says that Insight should be installed in a install place
because it uses  DLL's of the same name as cygwin but which contain
different code.  I took this to mean to install it outside the normal cygwin
path.

However, this would seem to mean that Insight will then be picking up the
DLL's from the cygwin path locations.   Every thing did seem to work when I
first installed Insight (until the reboot described in Q1).  Once it stopped
working I tried various things including taking cygwin out of the path.
That did not help.  I also tried copying cygwin.dll into my working
directory so the debugee would be able to find it.  No help.

Thank you.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: insight will not start
  1999-08-26 14:03 insight will not start Alonzi, Thomas
@ 1999-08-30 10:27 ` James Ingham
  0 siblings, 0 replies; 2+ messages in thread
From: James Ingham @ 1999-08-30 10:27 UTC (permalink / raw)
  To: Alonzi, Thomas; +Cc: insight

Thomas,

 > 
 > 
 > System Cygwin/NT4.0/sp3/FAT_FS
 > 
 > After a delightful few hours of getting acquainted with insight, it got into
 > a strange loop and hogged the CPU so badly I had to hit the reset button.   
 > 

Can you remember what you were doing when this happened?  Sounds like
something it would be good to fix.  GDB itself can be pretty memory
hungry when you feed it big executibles.  It is particularly so when
you point it at large functions, since it generally assumes that it is 
safe to do all its analysis of the function in memory.  This can
sometimes cause NT to thrash pretty badly, particularly if your
machine doesn't have a lot of physical memory.

 > Two questions(possibly related).
 > 
 > 
 > Q1:
 > 
 > During the reboot, the file system check announced it found a file extension
 > without a filename which it moved to c:\found.000 directory.  Examination
 > showed this to be a mostly empty file with a sting of smilely faces as
 > header.

This is not something I would expect GDBTk to produce.  But I don't
know enough about Windows to know what kind of odd temp files it
produces when it is in the process of going south.

 > 
 > After reboot, my means of starting insight, i.e., entering cd
 > /cygnus/insight/bin ; ./gdb, no longer had the desired result.  The command
 > line prompt returns but the Insight windows never appear and gdb is not in
 > the task list.  I guess it just silently quits.
 > 
 > I may suppose that file which the file system check found to be odd and
 > moved was some sort of file necessary to the operation of Insight since it
 > appears to be the only thing that changed.
 > 
 > However, if so, deleting and installing the Insight FS would fix the
 > problem.  But it did not help.
 > 
 > Any suggestions welcome.  I really like what I saw and want Insight to work.

Well, we need to figure out where the error is occuring.  First of
all, it would be good to see if it is getting to the Tcl code at all.
Edit the file main.tcl in share/gdbtcl2, and up at the very top of the 
file put:

catch {

and down at the very bottom put:

} mssg
puts $mssg

Then try to start it up.  Does anything come out to the console?  If
yes, send us what you get, if no, then GDBTk is dying somewhere
earlier.  To figure out what is going on, you will probably have to
run gdb under itself (gdb -nw should still work), and try to trace the 
startup code to where it fails.

 > 
 > Q2:
 > 
 > There is a blurb in the cygnus web site which contains the link to download
 > Insight.  The blurb says that Insight should be installed in a install place
 > because it uses  DLL's of the same name as cygwin but which contain
 > different code.  I took this to mean to install it outside the normal cygwin
 > path.
 > 
 > However, this would seem to mean that Insight will then be picking up the
 > DLL's from the cygwin path locations.   Every thing did seem to work when I
 > first installed Insight (until the reboot described in Q1).  Once it stopped
 > working I tried various things including taking cygwin out of the path.
 > That did not help.  I also tried copying cygwin.dll into my working
 > directory so the debugee would be able to find it.  No help.
 > 

Windows looks first in the executible's directory for DLL's, and then
out on the path.  So as long as you installed the GDBTk tree in a
separate location from your ordinary Cygwin distribution, it should
find all the DLL's that came with it, and none of the Cygwin ones.
You should not have to monkey with paths to get it to work.

Jim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-30 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-26 14:03 insight will not start Alonzi, Thomas
1999-08-30 10:27 ` James Ingham

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).