-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/25/2012 10:46 AM, Jan de Kruyf wrote: > Charles, John, > > This is just a stab in the dark, but Debian uses EGLIBC while I > think Fedora is still on normal GLIBC. And there were some mutex > priority issues in eglibc, quite a long time ago though. > > John can you repeat Charles' problem in your setup? >
Hmm...that could be part of my problem. I'll see what I can dig up on EGLIBC. What I'm seeing in the debugger is while going through hal_init the hal_data->mutex bit is getting set and is visible in the memory display window after rtapi_mutex_get is called. However after calling rtapi_mutex_give, the mutex bit is *STILL SET* in my debugger memory display. I don't know if this is a fundamental problem with the rtapi code or something to do with running from the debugger with breakpoints and whatnot. It does seem odd that this would be due to system libraries, as the relevant code seems to be entirely within the linuxcnc rtapi tree. There could be some other issue with the memory mapping or something system related, I suppose. I do, however, get identical results when running the code normally from the command line and then attaching to it with the debugger (the code is looping waiting to acquire the hal_data->mutex that will never become available). Also, the 2.4.4 patched version from bitmuster compiles and runs fine on this same system, so if there is a library issue, it's likely related to the changes from 2.4 to 2.5. Did anything major change in the hal shared-memory usage between 2.4 and 2.5? - -- Charles Steinkuehler char...@steinkuehler.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+YIhcACgkQLywbqEHdNFy1/ACeKNO8GNuqrO163FlUWLS/kKFQ fYIAoPnyx++KTj3TiGdJO7luuQz0W02g =OyPR -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers