From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50F6C657.2060503@xenomai.org> Date: Wed, 16 Jan 2013 16:25:11 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <50F6C3EE.1020508@siemens.com> In-Reply-To: <50F6C3EE.1020508@siemens.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] ipipe: fix domain migration helper List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Xenomai On 01/16/2013 04:14 PM, Jan Kiszka wrote: > Hi Philippe, > > a first heads-up, maybe you have an idea before I start debugging: That > patch causes troubles when our application shuts down. The main thread > hangs like this, unkillable: > It looks like the LO_WAKEUP_REQ virtual interrupt does not reach the handler. > # cat /proc/xenomai/sched > CPU PID CLASS PRI TIMEOUT TIMEBASE STAT NAME > 0 0 idle -1 - master R ROOT/0 > 1 0 idle -1 - master R ROOT/1 > 2 0 idle -1 - master R ROOT/2 > 3 0 idle -1 - master R ROOT/3 > 4 0 idle -1 - master R ROOT/4 > 5 0 idle -1 - master R ROOT/5 > 6 0 idle -1 - master R ROOT/6 > 7 0 idle -1 - master R ROOT/7 > 8 0 idle -1 - master R ROOT/8 > 9 0 idle -1 - master R ROOT/9 > 10 0 idle -1 - master R ROOT/10 > 11 0 idle -1 - master R ROOT/11 > 0 2435 rt 0 - master X ShadowTask_2435 > # cat /proc/2435/stack > [] xnpod_suspend_thread+0x434/0x570 > [] xnshadow_relax+0xe0/0x240 > [] losyscall_event+0x1c3/0x280 > [] ipipe_syscall_hook+0x5a/0x90 > [] __ipipe_notify_syscall+0x131/0x2e0 > [] __ipipe_syscall_root+0x41/0x160 > [] __ipipe_syscall_root_thunk+0x35/0x67 > [] 0xffffffffffffffff > > This was with your current core-3.5 branch. > > I'm currently updating my virtual debug environment. The issue may also > be reproducible with standard Xenomai tests. > > Jan > -- Philippe.