From owner-freebsd-questions Fri Nov 23 21:54: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail5.carolina.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E11837B417 for ; Fri, 23 Nov 2001 21:53:56 -0800 (PST) Received: from snafu.enterit.com ([66.57.159.198]) by mail5.carolina.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 23 Nov 2001 21:37:19 -0500 Message-Id: <5.1.0.14.0.20011123215946.030efc90@mail.enterit.com> X-Sender: jconner@enterit.com@mail.enterit.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 23 Nov 2001 22:01:18 -0500 To: Steve Brown From: Jim Conner Subject: Re: .CORE files Cc: questions@freebsd.org In-Reply-To: <20011123191325.A574@prayforwind.com> References: <5.1.0.14.0.20011123185020.030944e0@mail.enterit.com> <20011123182901.A529@prayforwind.com> <5.1.0.14.0.20011123185020.030944e0@mail.enterit.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 19:13 11.23.2001 -0500, Steve Brown wrote: >Hi Jim, that was quick, thanks! > >I got a gcore, a RAY.score, a savecore; no valid .core files >and I tried it in uppercase too. I guess I must have a very >well administered system ;) (I installed it fresh 2 weeks ago >so I'm not surprised I've not mucked it up yet) I have seen this happen before but wasn't quite sure *why* it happened e.g. the program I was in said it core dumped yet there was no core file. Check your ulimit to see if core files are set to unlimited sizes or 0 size. That's the only thing I can think. I am not sure if the program will still say that it core dumped if the ulimit (-c) is set to 0 or not. >Thanks again, >Cheers, Steve > >On Fri, Nov 23, 2001 at 06:55:03PM -0500, Jim Conner wrote: > > At 18:29 11.23.2001 -0500, Steve Brown wrote: > > >Hello there, > > > > > > >From time to time Netscape bonks out and when I leave X > > >I find the message "Netscape blah blah core dumped" > > >Sometimes I can find a .CORE file, other times I don't > > >know where to look. So I have 2 questions: > > > > > >- How can I find -ALL- *CORE files, is there an equivalent > > > of the old MS DOS "dir /s" ? > > >- Why does it "dump core"? Am I supposed to do something > > > with the resulting file? > > > > 1. find / -name "*core" -type f -ls > > Be careful about cores that you find. Only remove those that are actually > > core files. You can use the command: > > > > file corename > > > > That should tell you if the file is a real core file or not since there > are > > other files on the system (or directories which you shouldn't see with my > > find command stated above) that are called core. > > > > 2. Netscape cores on probably everybody's machine at some time or > > another. It is usually the result of poor coding (on Netscape's part) and > > sometimes its the result of a poorly admin'ed system. In your case, I > > would bet its netscapes code since I know a ton of people that get this > > problem. It could also be a poorly set up Netscape that could cause > > cores. Usually, the best thing to do is to remove the core file since its > > really not needed for your sake. OR, you could send the core dumps to > > Netscape so that they can examine why the core happened which is the > > purpose of core dumps anyway. A core file is a physical readout of the > > memory that netscape was using at the time it core'd. > > > > - Jim > > > > >Appreciate any advice, or hints as to where to RTFM. > > > > > >Thanks in advance, > > >Steve > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > > >with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > - Jim > > > > -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- > > http://www.perlmonks.org/index.pl?node_id=67861&lastnode_id=67861 > > > > -----BEGIN PERL GEEK CODE BLOCK----- ------BEGIN GEEK CODE BLOCK------ > > Version: 0.01 Version: 3.12 > > P++>*@$c?P6?R+++>++++@$M GIT/CM/J d++(--) s++:++ a- > > >++++$O!MA->++++E!> PU-->+++BD C++++(+) UB++++$L++++$S++++$ > > $C-@D!>++++(-)$S++++@$X?WP+>++++MO!>+++ P++(+)>+++++ > L+++(++++)>+++++$ !E* > > +PP+++>++++n-CO?PO!o >++++G W++(+++) N+ o !K w--- > PS---(-)@ PE > > >*(!)$A-->++++@$Ee---(-)Ev++uL++>*@$uB+ Y+>+++ PGP t+(+++)>+++@ 5- > X++ R@ > > >*@$uS+>*@$uH+uo+w-@$m! tv+ b? DI-(+++) D+++(++) G(++++) > > ------END PERL GEEK CODE BLOCK------ ------END GEEK CODE BLOCK------ > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message - Jim -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- http://www.perlmonks.org/index.pl?node_id=67861&lastnode_id=67861 -----BEGIN PERL GEEK CODE BLOCK----- ------BEGIN GEEK CODE BLOCK------ Version: 0.01 Version: 3.12 P++>*@$c?P6?R+++>++++@$M GIT/CM/J d++(--) s++:++ a- >++++$O!MA->++++E!> PU-->+++BD C++++(+) UB++++$L++++$S++++$ $C-@D!>++++(-)$S++++@$X?WP+>++++MO!>+++ P++(+)>+++++ L+++(++++)>+++++$ !E* +PP+++>++++n-CO?PO!o >++++G W++(+++) N+ o !K w--- PS---(-)@ PE >*(!)$A-->++++@$Ee---(-)Ev++uL++>*@$uB+ Y+>+++ PGP t+(+++)>+++@ 5- X++ R@ >*@$uS+>*@$uH+uo+w-@$m! tv+ b? DI-(+++) D+++(++) G(++++) ------END PERL GEEK CODE BLOCK------ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message