From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45E59B54.4000502@domain.hid> Date: Wed, 28 Feb 2007 16:10:12 +0100 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Xenomai-core] Re: [BUG] trunk: oops with Stephan's stress test References: <45DEDED6.4070202@domain.hid> <1172237401.26738.13.camel@domain.hid> <45DEED50.4070007@domain.hid> <1172238537.26738.15.camel@domain.hid> <45DEF482.9030903@domain.hid> <45E58CE3.20807@domain.hid> <45E58FB4.6070603@domain.hid> <45E59574.50808@domain.hid> <45E599F1.5020205@domain.hid> In-Reply-To: <45E599F1.5020205@domain.hid> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBC081DA3B1D5ECCEA0F21514" Sender: jan.kiszka@domain.hid List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephan Zimmermann Cc: xenomai-core This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBC081DA3B1D5ECCEA0F21514 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Stephan Zimmermann wrote: > Jan Kiszka schrieb: >> Jan Kiszka wrote: >>> Stephan Zimmermann wrote: >>>> Jan Kiszka schrieb: >>>>> Philippe Gerum wrote: >>>>>> On Fri, 2007-02-23 at 14:34 +0100, Jan Kiszka wrote: >>>>>> >>>>>>> Attached with 3000 points (to play safe). >>>>>> Great, thanks. >>>>>> >>>>> FYI: Switching prio-coupling off doesn't let it trigger anymore. Wh= ich >>>>> /may/ mean that it's related to this feature, but which may also me= an >>>>> that this corner-case race is just far more unlikely in non-RPI set= ups >>>>> (and the effects Stephan see are all related to the same bug - >>>>> hopefully). >>>>> >>>>> Jan >>>>> >>>> To trigger you again, I just updated my Pentium M Notebook to 2.3.x = svn >>>> revision 2264, recompiled everything and gave it a try. (kernel 2.6.= 20) >>>> Some runs of my already well-known software and the machine freezes >>>> during shutdown. No oops, no backtrace, no error message. It doesn't= >>>> matter if priority coupling is enabled or not, when it tells me >>>> 'Stopping K Display Manager: kdm' the cursor freezes, that's it. My >>>> colleague report's the same beahviour on his AMD SMP mashine. The >>>> Celeron M crashes during reboot showing ugly backtraces like before.= >> ^^^^ >> _Re_boot - now I read your message correctly. So you are not facing >> elementary boot issues on some boxes, but always memory corruption >> *after* running your demo code, right? >=20 > yes, exactly >=20 >> >> Then we should try to find out what mechanism of Xenomai might cause t= he >> corruption. Could you, step by step, simplify your test, e.g. leaving >> out some of the tasks or not using the message queues? This would help= >> to focus the analysis on (hopefully) only a few facilities. >=20 > Yes, I will try this. May take some time, stand by. I'm not going to leave. ;) >=20 >> Still, the compiler question remains relevant. 2.6.20 e.g. warns me th= at >> gcc 4.1.0 may miscompile the kernel (but I'm using a SUSE-patched >> version that so far behaves). >=20 > We are using gcc 3.3 - the debian 3.1 standard compiler - on all of our= > Linux boxes. Maybe we should give a try to some newer release? Hmm, should not be the reason. Older compilers are often suboptimal, but they are not known to break stuff. There is probably no way around understanding what happens... Jan --------------enigBC081DA3B1D5ECCEA0F21514 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF5ZtUniDOoMHTA+kRAoAlAJwMpsQPXJa7LbmI4pbW3RXeBHUD/gCfWCVk 2pwxhOgnbHC7C1Rh36IfQwc= =lFCO -----END PGP SIGNATURE----- --------------enigBC081DA3B1D5ECCEA0F21514--