All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Christoph Permes <christoph.permes@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] No core files for segmentation faults in realtime tasks
Date: Mon, 24 Aug 2009 10:50:28 +0200	[thread overview]
Message-ID: <4A925454.8000005@domain.hid> (raw)
In-Reply-To: <1251101267.3754.18.camel@domain.hid>

Christoph Permes wrote:
> Hi,
> 
> I have a realtime application running in user space that sometimes terminates with a segmentation fault. 
> I get a message segfault at 4c4f5200 ip b7cb98d8 sp b7ef7354 error 4 in libc-2.7.so[b7c5e000+138000], 
> but there is no core file writen, although ulimit is set to unlimited.
> 
> I wrote a small test program that produces a segmentation fault and I get a core file when the segfault
> happens before the realtime task starts but not when it happens in the task.
> 
> Is it somehow possible to enable writing core files also for realtime tasks?

In addition to what Philippe asked, why do you not try to run your
application directly in gdb? Or with gdbserver? This would workardound
the lack of core file...

-- 
                                          Gilles



      parent reply	other threads:[~2009-08-24  8:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-24  8:07 [Xenomai-help] No core files for segmentation faults in realtime tasks Christoph Permes
2009-08-24  8:40 ` Philippe Gerum
2009-08-25  8:10   ` Christoph Permes
2009-08-24  8:50 ` Gilles Chanteperdrix [this message]

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=4A925454.8000005@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=christoph.permes@domain.hid \
    --cc=xenomai@xenomai.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.