From: keith@earth.ox.ac.uk (Keith Refson)
Subject: Anyone recognise this bug in FUSE?
Date: Tue, 1 Mar 94 16:40:09 GMT [thread overview]
Message-ID: <1994Mar1.164009.9248@inca.comlab.ox.ac.uk> (raw)
I am getting extremely frustrated trying to run the FUSE call graph
browser on a 16000 line C program in 20-ish source files. Since
it would be a right pain to report bugs with this kind of program
I thought I would first ask here whether anyone else has had the same
problems.
1) After some manipulation including the use of "expand all" to see
all the routines, followed by restriction (by means of "ignore" or
only displaying routines connected to "main") the module and file
names displayed in the boxes become corrupted. That is, instead of
"myprog.c" or "input" I get random text or transmission line noise.
The only way to recover is by exiting the program - none of the
restart options help.
2) The "print" option under the "graph" menu fails to work except for
the first few couple of times it is used in a session. The message
"m4:-:1 can't open file" is printed on stderr. After a bit of
investigation using "trace" I have established that
a) The program attemts to do a "system("m4 <some-file> > <out-file>");
immediately followed by an "unlink("some-file");". The
"system()" call is exiting prematurely and the file is unlinked
before m4 can process it. [ I am guessing that the code calls
"system()" rather than doing the fork and exec itself.]
b) The "trace" command reveals that the "wait4()" is returning a
*different* (in fact lower) pid than the immediately preceding
"fork()". When the print works it returns the same pid, as I
understand it should.
could this be a bug in the OS or libraries? Or is it just another
manifestation of stack corruption?
I am running OSF/1 1.3A and FUSE Version 1.2 on a 3000/800.
--
------------------------------------------------------------------------------
| Email : keith@earth.ox.ac.uk | Dr Keith Refson |
| UUCP : ...!mcsun!uknet!ed!K.Refson| Department of Earth Sciences |
| PHONE(FAX): +44 865 272026 (272072) | Parks Road, Oxford OX1 3PR, UK |
------------------------------------------------------------------------------
reply other threads:[~1994-03-01 16:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox