From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,eda18923dca2298c,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-01 08:40:09 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!comlab.ox.ac.uk!earth!keith From: keith@earth.ox.ac.uk (Keith Refson) Subject: Anyone recognise this bug in FUSE? Message-ID: <1994Mar1.164009.9248@inca.comlab.ox.ac.uk> Organization: Dept of Earth Sciences, Oxford University, UK. X-Newsreader: TIN [version 1.2 PL2] Date: Tue, 1 Mar 94 16:40:09 GMT 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 > "); 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 | ------------------------------------------------------------------------------