From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <48BD31C3.2030104@domain.hid> Date: Tue, 02 Sep 2008 14:29:55 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <48BD13F1.2010300@domain.hid> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEE8653C86A67A587AF1C6781" Sender: jan.kiszka@domain.hid Subject: Re: [Xenomai-help] Kernel Oops calling rt_dev_close List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steven Kauffmann Cc: xenomai@xenomai.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEE8653C86A67A587AF1C6781 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Steven Kauffmann wrote: > On Tue, Sep 2, 2008 at 12:22 PM, Jan Kiszka wrote: >> Steven Kauffmann wrote: >>> Hi all, >>> >>> I'm getting Kernel oops when calling rt_dev_close in my application >>> [*]. The application creates a new real-time task and in this task >>> rt_dev_recvfrom is waiting for incoming CAN messages. >>> >>> In the close function of the application I first call rt_dev_close an= d >>> after that I kill the thread with rt_task_delete. I also wait for the= >>> termination of this thread with rt_task_join. But when rt_dev_close i= s >>> called, the kernel oops occurs. >> Do you have a (small) test case for this issue? Does it work with a >> virtual CAN device as well? That would be the fastest way to track dow= n >> the issue. >=20 > The test case (see attached file) reproduces the kernel oops. So it's socket closing while some other tasks blocks in recv. >=20 > The kernel oops also occurs when using the virtual CAN device. Great, will look into this later today. Jan --------------enigEE8653C86A67A587AF1C6781 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAki9McUACgkQniDOoMHTA+k6KwCeJxhlNulQZpLjA4L42UxRhK+J Kr8An2GfloXQHItREbuotaJNZhWNnjiU =+dNK -----END PGP SIGNATURE----- --------------enigEE8653C86A67A587AF1C6781--