From: Philippe Gerum <rpm@xenomai.org>
To: niklaus.giger@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Errors running sim testsuite for vxWorks
Date: Fri, 12 May 2006 17:15:26 +0200 [thread overview]
Message-ID: <4464A68E.2000100@domain.hid> (raw)
In-Reply-To: <4464A58A.9070401@domain.hid>
Philippe Gerum wrote:
> Philippe Gerum wrote:
>
>> Gilles Chanteperdrix wrote:
>>
>>> Niklaus Giger wrote:
>>> > Do you have any ideas? Thanks in advance.
>>>
>>> No idea, the x86 version does not seem to have the same problem, but
>>> valgrind give many errors.
>>>
>>
>> Valgrind chokes on the co-routine switching code, which is fair
>> enough, since it's quite hard for it to track stack context changes
>> the way setcontext/getcontext do it.
>>
>> However, like for the previous stack size issue with satch.c, I wonder
>> if the fixed-size stacks allocated by the simulator for its threads
>> are not overflowed.
>>
>
> Does this patch make the situation any better?
>
> --- sim/vm/thread.cc (revision 1083)
> +++ sim/vm/thread.cc (working copy)
> @@ -900,7 +900,7 @@
> void *_faddr,
> int _pflags,
> const char *_name) :
> - MvmThread(_name,_pflags|MVM_THREAD_CLIENT,16384)
> + MvmThread(_name,_pflags|MVM_THREAD_CLIENT,32768)
> {
> tcbarg = _tcbarg;
> faddr = _faddr;
>
This one is better:
--- sim/vm/thread.cc (revision 1083)
+++ sim/vm/thread.cc (working copy)
@@ -900,7 +900,7 @@
void *_faddr,
int _pflags,
const char *_name) :
- MvmThread(_name,_pflags|MVM_THREAD_CLIENT,16384)
+ MvmThread(_name,_pflags|MVM_THREAD_CLIENT,32768)
{
tcbarg = _tcbarg;
faddr = _faddr;
@@ -915,7 +915,7 @@
}
XenoThread::XenoThread (const char *_name) :
- MvmThread(_name,MVM_IFACE_HIDDEN,16384)
+ MvmThread(_name,MVM_IFACE_HIDDEN,32768)
{
tcbarg = NULL;
faddr = NULL;
--
Philippe.
next prev parent reply other threads:[~2006-05-12 15:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 16:23 [Xenomai-core] Errors running sim testsuite for vxWorks Niklaus Giger
2006-05-11 16:51 ` Gilles Chanteperdrix
2006-05-11 17:42 ` Gilles Chanteperdrix
2006-05-11 17:56 ` Niklaus Giger
2006-05-11 20:18 ` Gilles Chanteperdrix
2006-05-11 22:54 ` Philippe Gerum
2006-05-12 15:11 ` Philippe Gerum
2006-05-12 15:15 ` Philippe Gerum [this message]
2006-05-11 22:41 ` Philippe Gerum
2006-05-12 12:48 ` Gilles Chanteperdrix
2006-05-12 13:27 ` 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=4464A68E.2000100@domain.hid \
--to=rpm@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.