From: Christoph Permes <christoph.permes@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Segmentation fault in rt_printf print thread
Date: Wed, 26 Aug 2009 10:01:41 +0200 [thread overview]
Message-ID: <1251273701.4345.9.camel@domain.hid> (raw)
Hi,
I'm using rt_printf for debug output. When running tests for 20 hours or
longer, sometimes I get a segmentation fault.
The backtrace shows:
#0 0xb7d008d8 in fputs () from /lib/libc.so.6
#1 0xb7f26f61 in print_buffers () from /usr/xenomai/lib/librtdk.so.0
#2 0xb7f26fb3 in printer_loop () from /usr/xenomai/lib/librtdk.so.0
#3 0xb7c92f3b in start_thread () from /lib/libpthread.so.0
#4 0xb7d6fb6e in clone () from /lib/libc.so.6
It seems to me that there is a bug in the print thread.
My program runs on x86 using the following software versions:
Kernel 2.6.29.5
Xenomai 2.4.9
I-Pipe patch: adeos-ipipe-2.6.29.5-x86-2.4-02.patch
Thanks,
Christoph
next reply other threads:[~2009-08-26 8:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-26 8:01 Christoph Permes [this message]
2009-08-26 8:12 ` [Xenomai-help] Segmentation fault in rt_printf print thread Gilles Chanteperdrix
2009-08-27 6:24 ` Christoph Permes
2009-08-27 8:24 ` Jan Kiszka
2009-08-27 12:00 ` Christoph Permes
2009-08-28 7:38 ` Jan Kiszka
2009-08-28 8:38 ` Christoph Permes
2009-08-28 9:07 ` Jan Kiszka
2009-08-31 8:09 ` Christoph Permes
2009-09-07 7:35 ` Christoph Permes
2009-09-07 8:43 ` Jan Kiszka
2009-09-07 8:58 ` Gilles Chanteperdrix
2009-09-07 9:17 ` Jan Kiszka
2009-09-09 11:42 ` Gilles Chanteperdrix
2009-09-09 11:58 ` Gilles Chanteperdrix
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=1251273701.4345.9.camel@domain.hid \
--to=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.