All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Bambach <eric@cisu.net>
To: "Darío Mariani" <dmarian@fi.uba.ar>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Forcing a core dump
Date: Fri, 20 Aug 2004 11:45:05 -0500	[thread overview]
Message-ID: <200408201145.05363.eric@cisu.net> (raw)
In-Reply-To: <412622F5.2080208@fi.uba.ar>

On Friday 20 August 2004 11:12 am, Darío Mariani wrote:
> Hello:
>    Is it possible to force a running program to generate a core dump. My
> problem is that I have a program that, from time to time, it freezes and
> I want to know what's going on.

	Others may correct me if I'm wrong, however if you issue a SIGSTOP or SIGKILL 
most programs will coredump will they not? You have to enable core dumping in 
your environment using ulimit -c (number in KB).
	Plus you should be able to attach gdb if its been compiled with debugging 
symbols, and even if it hasn't you will still get some debug control.
-- 

-EB
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2004-08-20 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 10:09 Adding sysctl varaible into kernel authn
2004-08-19 10:17 ` authn
2004-08-19 11:15   ` Neil Horman
2004-08-20 16:12 ` Forcing a core dump Darío Mariani
2004-08-20 16:45   ` Eric Bambach [this message]
2004-08-20 17:33   ` Steven Smith
2004-08-21 20:08   ` Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200408201145.05363.eric@cisu.net \
    --to=eric@cisu.net \
    --cc=dmarian@fi.uba.ar \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.