magic disappearing coredumps

View: New views
4 Messages — Rating Filter:   Alert me  

magic disappearing coredumps

by Horst Günther Burkhardt III :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to debug a piece of software. It dumps a core file which
mysteriously vanishes. it's not in the program directory, nor my $HOME,
nor /var/crash nor /var/core ...

Deliberately crashing /bin/sh also results in a core file which turns up
nowhere on my filesystem.

Crossposting to -stable and -ppc because i'm uncertain whether this is a
ppc issue or a bsd issue or simple operator incompetence.

I apologise if the answer is something that was a google away.

-- Horst


signature.asc (205 bytes) Download Attachment

Re: magic disappearing coredumps

by jkc120 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Apr 24, 2009 at 11:21 AM, Horst Günther Burkhardt III
<horst@...> wrote:

> I'm trying to debug a piece of software. It dumps a core file which
> mysteriously vanishes. it's not in the program directory, nor my $HOME,
> nor /var/crash nor /var/core ...
>
> Deliberately crashing /bin/sh also results in a core file which turns up
> nowhere on my filesystem.
>
> Crossposting to -stable and -ppc because i'm uncertain whether this is a
> ppc issue or a bsd issue or simple operator incompetence.
>
> I apologise if the answer is something that was a google away.
>
> -- Horst
>

Have you limited the coredumpsize to 0 by chance? What output do you get from:

limits | grep core

or perhaps:

ulimit -a | grep core

Regards,
Josh
_______________________________________________
freebsd-ppc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..."

Re: magic disappearing coredumps

by Gary Palmer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Apr 25, 2009 at 01:21:18AM +1000, Horst G?nther Burkhardt III wrote:

> I'm trying to debug a piece of software. It dumps a core file which
> mysteriously vanishes. it's not in the program directory, nor my $HOME,
> nor /var/crash nor /var/core ...
>
> Deliberately crashing /bin/sh also results in a core file which turns up
> nowhere on my filesystem.
>
> Crossposting to -stable and -ppc because i'm uncertain whether this is a
> ppc issue or a bsd issue or simple operator incompetence.
>
> I apologise if the answer is something that was a google away.

Did you check your ulimit limits to see if your login session
actually allows for coredumps to be created?

Regards,

Gary
_______________________________________________
freebsd-ppc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..."

Problem with ports?

by Colin Dick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hey all,
  Is anyone else having trouble with ports?  I keep getting corruptions.  I
have tried to blow away /var/db/portsnap/ and refetch but I still get
corruptions.  My i386 arch machines seem to not have a problem.  I have
tried fetching from portsnap1.FreeBSD.org and portsnap2.FreeBSD.org:

[root@web /var/db]# rm -rf portsnap
[root@web /var/db]# mkdir portsnap
[root@web /var/db]# chown root:wheel portsnap
[root@web /var/db]# cd /usr/ports
[root@web /usr/ports]# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from portsnap1.FreeBSD.org... done.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Tue Aug 11 18:24:23 PDT 2009:
df91fff6226ed072980a9d649807e295cfc75e7f131288100% of   58 MB  274 kBps
00m00s
Extracting snapshot... done.
Verifying snapshot integrity... gunzip: can't stat:
snap/6642ec24a5692462dcdffb7af6d53173a8c8ebaac5c0542ccd3e5562933e3: No such
file or directory
snapshot corrupt.

[root@web /usr/ports]# uname -a
FreeBSD web.boonie.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb  3
13:29:49 PST 2009    
root@...:/usr/src/sys/powerpc/compile/FIREGATEEXT2  powerpc

  Thanks in advance for any ideas.

--
Colin
_______________________________________________
freebsd-ppc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@..."