All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small
@ 2010-01-07 14:32 Stefan Kisdaroczi
  2010-01-07 14:36 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 19+ messages in thread
From: Stefan Kisdaroczi @ 2010-01-07 14:32 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

hi,

i have upgraded xenomai to 2.5.0 (x86,32bit). My application segfaults when I
try to create a task with stacksize 2048, this worked with 2.4.10.
Because my app is written in pascal i have reproduced the problem with the
xenomai trivial-periodic.c example:

-	rt_task_create(&demo_task, "trivial", 0, 99, 0);
+	rt_task_create(&demo_task, "trivial",16911, 99, 0);

Stacksize 0 -> default stack size : ok
Stacksize > 0 and <= 16911 : Segmentation fault
Stacksize >= 16912 : ok

Any hints ?

thank you
kisda


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-01-11 10:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 14:32 [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small Stefan Kisdaroczi
2010-01-07 14:36 ` Gilles Chanteperdrix
2010-01-07 14:55   ` Stefan Kisdaroczi
2010-01-07 15:48   ` Stefan Kisdaroczi
2010-01-07 16:57     ` Gilles Chanteperdrix
2010-01-07 17:26       ` Stefan Kisdaroczi
2010-01-08 11:47       ` Stefan Kisdaroczi
2010-01-08 11:57         ` Gilles Chanteperdrix
2010-01-08 13:24           ` Stefan Kisdaroczi
2010-01-08 13:30             ` Gilles Chanteperdrix
2010-01-08 13:41               ` Stefan Kisdaroczi
2010-01-08 13:52                 ` Gilles Chanteperdrix
2010-01-08 14:07                   ` Stefan Kisdaroczi
2010-01-08 13:54                 ` Gilles Chanteperdrix
2010-01-08 13:59                   ` Stefan Kisdaroczi
2010-01-08 15:57                     ` Stefan Kisdaroczi
2010-01-08 17:12                       ` Gilles Chanteperdrix
2010-01-08 22:37                         ` Gilles Chanteperdrix
2010-01-11 10:53                           ` Stefan Kisdaroczi

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.