All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Yet another ((weak)) bug
@ 2010-02-12 15:21 Jan Kiszka
  2010-02-12 15:25 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 15+ messages in thread
From: Jan Kiszka @ 2010-02-12 15:21 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

Hi Gilles,

this one requires some fixing too:

xeno_sem_heap is marked weak. xeno_init_sem_heaps is called once per
initialized skin. It unmaps any existing heap and creates a new one.
That's already fragile during constructor run, but it's lethal during
process runtime, ie. when using dlopen.

I think the solution is to handle forks separately and only remap in
that case. Digging in this direction now.

BTW, what triggers the re-run of xeno_init_sem_heaps after a fork so far?

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2010-03-02  0:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12 15:21 [Xenomai-core] Yet another ((weak)) bug Jan Kiszka
2010-02-12 15:25 ` Gilles Chanteperdrix
2010-02-12 15:37   ` Jan Kiszka
2010-02-12 15:54     ` Gilles Chanteperdrix
2010-02-12 16:45       ` Jan Kiszka
2010-02-12 16:03     ` Gilles Chanteperdrix
2010-02-12 16:22       ` Jan Kiszka
2010-02-12 16:29         ` Stefan Kisdaroczi
2010-02-12 21:14           ` Gilles Chanteperdrix
2010-02-24 13:18             ` Jan Kiszka
2010-02-24 14:08               ` Gilles Chanteperdrix
2010-03-01 14:00                 ` Jan Kiszka
2010-03-01 14:02                   ` Gilles Chanteperdrix
2010-03-01 14:05                     ` Jan Kiszka
2010-03-02  0:13                       ` Gilles Chanteperdrix

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.