Page 1 of 1

Problem: Error on exiting CumulusMX on raspberry pi

Posted: Fri 06 Oct 2017 1:21 pm
by falkunmalti
Hi

I have installed CumulusMX on my raspberry pi 3 and mono 3.2.8. It runs fine but when I exit the program with Ctrl-C, the program exists but then gives me an error saying that Mutex is not owned. As requested, I am attaching the zipped MXDiags folder. The error is contained in 20071005-11 5954.txt. I have no idea what is wrong here but it has been happening lately. I hope somebody can help please. Thanks in advance. MXDiags.tar is attached.

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Fri 06 Oct 2017 5:12 pm
by steve
It's happening when the ftp client is closing down. Are you having any ftp problems, as far as you know?

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Fri 06 Oct 2017 5:18 pm
by falkunmalti
steve wrote:It's happening when the ftp client is closing down. Are you having any ftp problems, as far as you know?
Not that I am aware of. What is Cumulus ftp'ing? to my website? Those updates seem to be working fine. You can see for yourself at www.laferla.ca/weather.

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Fri 06 Oct 2017 5:45 pm
by steve
Yes, ftp is only used for upload to your own web site. If you're not having any issues, just ignore the error message.

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Fri 06 Oct 2017 6:36 pm
by falkunmalti
steve wrote:Yes, ftp is only used for upload to your own web site. If you're not having any issues, just ignore the error message.
As it is, it doesn't always happen. What is mutex by the way?

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Fri 06 Oct 2017 6:40 pm
by steve
A mutex is a flag which controls access by multiple program threads to a single resource.

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Fri 06 Oct 2017 8:01 pm
by falkunmalti
steve wrote:A mutex is a flag which controls access by multiple program threads to a single resource.
I guess if the error message says "mutex is not owned" obviously this must be the error. How can I :own" it?

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Sat 07 Oct 2017 7:50 am
by steve
You can’t, it’s referring to a software thread, not something you have any control over. The (third party) ftp component is presumably trying to release the mutex but the system thinks it doesn’t hold it now (probably already released it). Possibly a minor bug in the ftp component.

Re: Problem: Error on exiting CumulusMX on raspberry pi

Posted: Sat 07 Oct 2017 11:50 am
by falkunmalti
steve wrote:You can’t, it’s referring to a software thread, not something you have any control over. The (third party) ftp component is presumably trying to release the mutex but the system thinks it doesn’t hold it now (probably already released it). Possibly a minor bug in the ftp component.
Got it Steve, thanks. for your trouble. I won't worry about it unless it gives trouble but I was curious!