From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe Gerum In-Reply-To: References: <4D110810.1090504@domain.hid> Content-Type: text/plain; charset="UTF-8" Date: Wed, 22 Dec 2010 14:50:50 +0100 Message-ID: <1293025850.22129.15.camel@domain.hid> Mime-Version: 1.0 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 On Wed, 2010-12-22 at 13:11 +0100, 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(?) Your Makefile may have an issue. Do you happen to link with libpthread_rt.so in addition to libnative.so? > > Kolja > > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe.