From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: niklaus.giger@domain.hid
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Kernel panic on rmmod xeno_vxworks
Date: Wed, 10 May 2006 23:24:48 +0200 [thread overview]
Message-ID: <17506.23072.289428.72701@domain.hid> (raw)
In-Reply-To: <200605102227.09892.niklaus.giger@domain.hid>
Niklaus Giger wrote:
> Hi
>
> I compiled and started my test with a recent xenomai/trunk (revision 1068).
> I booted into single user mode, did a "modprobe xeno_vxworks" (no problem) and
> then a "rmmod xeno_vxworks" and got as response on my PowerBook only
> "Kernel panic: -not syncing: Aiee, killing interrupt handler".
>
>
> Also when I try to run ksrc/skins/vxworks/demos/satch (after a make std)
> I get the following info (using gdb):
> (gdb) run
> Starting
> program: /mnt/data.ng/hcu/kernel/xenomai-head/ksrc/skins/vxworks/demos/satch
> [Thread debugging using libthread_db enabled]
> [New Thread 805415264 (LWP 4168)]
> [New Thread 805434592 (LWP 4171)]
> [New Thread 805450976 (LWP 4172)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 805434592 (LWP 4171)]
> 0x0fe76094 in vfprintf () from /lib/tls/libc.so.6
> (gdb) info stack
> #0 0x0fe76094 in vfprintf () from /lib/tls/libc.so.6
> #1 0x0fe7e760 in printf () from /lib/tls/libc.so.6
> #2 0x10001a6c in consumer_task (a0=269287424, a1=268894208, a2=269477288,
> a3=0, a4=0, a5=0, a6=269482760, a7=805474048,
> a8=2144297840, a9=268064096) at satch.c:99
> #3 0x0ffa7714 in wind_task_trampoline (cookie=0x7fcf632c)
> at /mnt/data.ng/hcu/kernel/xenomai-head/src/skins/vxworks/taskLib.c:99
> #4 0x0ffd08e8 in start_thread () from /lib/tls/libpthread.so.0
> #5 0x0ffd08e8 in start_thread () from /lib/tls/libpthread.so.0
> Previous frame inner to this frame (corrupt stack?)
I observed such an error when the stack size is to small, I guess
vfprintf uses alloca.
--
Gilles Chanteperdrix.
next prev parent reply other threads:[~2006-05-10 21:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-10 20:27 [Xenomai-core] Kernel panic on rmmod xeno_vxworks Niklaus Giger
2006-05-10 21:24 ` Gilles Chanteperdrix [this message]
2006-05-11 11:15 ` Niklaus Giger
2006-05-11 11:30 ` Philippe Gerum
2006-05-11 9:28 ` Philippe Gerum
2006-05-11 10:03 ` Philippe Gerum
2006-05-11 11:37 ` Philippe Gerum
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=17506.23072.289428.72701@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=niklaus.giger@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.