From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4D127B17.2080305@domain.hid> Date: Wed, 22 Dec 2010 23:26:31 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4D110810.1090504@domain.hid> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] gdb/gdbserver hangs during rt_task_create List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kolja Waschk Cc: Xenomai GNA Kolja Waschk wrote: >>> Xenomai: watchdog triggered -- signaling runaway thread 'pfda' > > The loop causing this is > > 3870 while (ctx->sq_head == ctx->sq_tail && ctx->stop_flag == 0) { > 3871 pthread_cond_wait(&ctx->sq_full, &ctx->mutex); > 3872 } > > Further investigation showed that (wrapped) pthread_cond_wait actually returns > EPERM instead of waiting, but only when running with gdb(?) This looks like an old bug. What version of Xenomai are you using? -- Gilles.