🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.development.system
Article #49

core dumps

#49
From: Tony Nugent
Date: Sun, 31 Dec 1995 00:00
31 lines
1582 bytes
With bash I've done:

% ulimit -c unlimited

With tcsh I've done:

% limit coredumpsize unlimited

I'm compiling with "gcc -g ..."

Yet when a program segfaults or otherwise blows, I don't get core
dumps.  :-(

I would really like to use gdb on them to sort out why they are
segfaulting, but it's not easy without a core file.

What's the secret?  How do I make a program dump core when it
segfaults?

Thanks.

(Please Cc me an email any followups.  Thanks).

Cheers
Tony
        /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/~\
       | Tony Nugent  Griffith University, Brisbane, Queensland, Australia| _ |
       |      Email:  T.Nugent@sct.gu.edu.au  tnugent@gucis.cit.gu.edu.au | @||
        \__________________________________________________________________\_/|
        /  Pull here for the full .sig or use finger on the second address   /
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <4c4ur7$j6m@ngriffin.itc.gu.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5392,ae4e52be166d25ce,start
X-Google-Attributes: gidf5392,public
X-Google-Thread: 102983,ae4e52be166d25ce,start
X-Google-Attributes: gid102983,public
From: Tony Nugent <T.Nugent@sct.gu.edu.au>
Subject: core dumps
Date: 1995/12/31
Message-ID: <4c4ur7$j6m@ngriffin.itc.gu.edu.au>
X-Deja-AN: 123214766
summary: can't get core dumps
organization: Griffith University Brisbane Queensland Australia
keywords: core dumps limit ulimit gdb
reply-to: T.Nugent@sct.gu.edu.au
newsgroups: comp.os.linux.development.system,aus.computers.linux