From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4EF34E86.2020606@domain.hid> Date: Thu, 22 Dec 2011 16:36:38 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4EF27CD5.4060603@domain.hid> <4EF2FCD9.5010105@domain.hid> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] hang in rtcansend List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Willy Lambert Cc: Andrew Tannenbaum , xenomai@xenomai.org On 12/22/2011 02:33 PM, Willy Lambert wrote: > 2011/12/22 Gilles Chanteperdrix : >> On 12/22/2011 01:41 AM, Andrew Tannenbaum wrote: >>> If I just run rtcansend with no args (so it prints a help message), it >>> exits ok on 2.6.0 with no hang. But if I run rtcansend or rtcanrecv >>> with any CAN i/o, they hang in the cleanup function, though they do >>> their processing before then correctly. >>> >>> Any idea why rtcansend/recv would hang for me here on 2.6.0? >> >> Is this behaviour reproducible with the virtual rtcan driver? >> >> > > For your information, I have a similar behavior with the same Linux > 2.5.38.8 and Xenomai 2.6.0 config. As I did not used the CAN before I > didn't reported it. Have you tried attaching gdb when rtcansend is locked to see where the bug happens? -- Gilles.