From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4ABBCD13.2000209@domain.hid> Date: Thu, 24 Sep 2009 21:48:35 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <181804936ABC2349BE503168465576460C3AE7CB@exchserver.basler.com> In-Reply-To: <181804936ABC2349BE503168465576460C3AE7CB@exchserver.basler.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Printf stops working after receiving signal. List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steve Deiters Cc: xenomai@xenomai.org Steve Deiters wrote: > I have a simple little test program, attached below. When I hit CTL-C > to break the program, not all of the "finished" lines will print. If I > remove either the rt_task_shadow call or the sigwait at the end, it will > then print all of them. Adding a fflush(stdout) to the end does nothing > to help it. > > I'm not sure if there's some interaction with the Xenomai domain I am > just missing which is causing the print statements to be dropped. > > This is running on a PowerPC kernel 2.6.24 with Xenoami 2.4.9. Xenomai 2.4.9 has no I-pipe patch for Linux 2.6.24 for PowerPC. And you should be using Xenomai 2.4.9.1 and one of the patches it contains. Earlier patches and earlier revisions are buggy. -- Gilles.