AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: thecivvie on July 26, 2020, 10:10:45 PM

Title: Updated Pi, RBFeeder segfaults
Post by: thecivvie on July 26, 2020, 10:10:45 PM
I have a script that auto updates all my Pi's every week, During the course of todays update, rbfeeder seems to have failed . It segfaulted. Is there anything I can try.

Code: [Select]
[2020-07-26 23:09:50]  Starting RBFeeder Version 0.3.5 (build 20200722181401)
[2020-07-26 23:09:50]  Using configuration file: /etc/rbfeeder.ini
[2020-07-26 23:09:50]  Network-mode disabled. Using local dongle.
Segmentation fault
Title: Re: Updated Pi, RBFeeder segfaults
Post by: thecivvie on July 27, 2020, 01:57:05 PM
I have done a clean install on another Pi and rbfeeder still segfaults
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Runway 31 on July 27, 2020, 02:19:09 PM
Suggest you contact [email protected] for advice

Alan
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Topozero on July 27, 2020, 02:24:36 PM
I have no solution, but I can confirm that behaviour. Immediately after I have performed an apt full-upgrade last Friday (rbfeeder 0.3.4 -> 0.3.5) the rbfeeder application crashed on startup.

I sent a mail to support@ last Friday awaiting  a response ...
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Runway 31 on July 27, 2020, 02:33:52 PM
Did you receive an automatic response from your email to support?

Alan
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Topozero on July 27, 2020, 02:43:41 PM
Yes, I did:

Quote
Date: Fri, 24 Jul 2020 08:32:16 +0000 (UTC)
Subject: Ticket Received - Re: Your RadarBox Sharing Station has been offline for the last 6 hours - EXTRPI010195 - Germany - Spelle

Dear Topozero,

We have received your request and a ticket has been created.
A support representative will be reviewing your request and will send you a response.

Thank you for your patience.

Sincerely,
AirNav Systems Support Team
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Runway 31 on July 27, 2020, 03:14:35 PM
I emailed support and have been advised that the issue has been passed to the development team for investigation

Alan
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Jonis Maurin Ceara on July 27, 2020, 03:32:23 PM
I have a script that auto updates all my Pi's every week, During the course of todays update, rbfeeder seems to have failed . It segfaulted. Is there anything I can try.

Code: [Select]
[2020-07-26 23:09:50]  Starting RBFeeder Version 0.3.5 (build 20200722181401)
[2020-07-26 23:09:50]  Using configuration file: /etc/rbfeeder.ini
[2020-07-26 23:09:50]  Network-mode disabled. Using local dongle.
Segmentation fault

Hi.
Can you please post result of this command here? And also the content of your rbfeeder.ini (exclude sk line)
Code: [Select]
cat /etc/os-releaseI'm trying to replicate this problem here.
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Jonis Maurin Ceara on July 27, 2020, 04:49:49 PM
Should be fixed now. Please update again.
Latest version: 0.3.5-20200727132300 (Debian stretch) and 0.3.5-20200727132301 for debian buster.
Title: Re: Updated Pi, RBFeeder segfaults
Post by: thecivvie on July 27, 2020, 05:30:21 PM
Suggest you contact [email protected] for advice

Alan

I have done and I got a reply. Just sent them the info they needed
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Runway 31 on July 27, 2020, 05:33:25 PM
See the reply before yours regarding a new version with fix to download

Alan
Title: Re: Updated Pi, RBFeeder segfaults
Post by: thecivvie on July 27, 2020, 05:33:38 PM
Should be fixed now. Please update again.
Latest version: 0.3.5-20200727132300 (Debian stretch) and 0.3.5-20200727132301 for debian buster.

Yes that fixed it :)
Title: Re: Updated Pi, RBFeeder segfaults
Post by: thecivvie on July 27, 2020, 05:34:22 PM
See the reply before yours regarding a new version with fix to download

Alan

I never noticed that reply. Done it and it works
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Runway 31 on July 27, 2020, 05:50:05 PM
Good news

Alan
Title: Re: Updated Pi, RBFeeder segfaults
Post by: abcd567 on July 28, 2020, 06:47:10 AM
Should be fixed now. Please update again.
Latest version: 0.3.5-20200727132300 (Debian stretch) and 0.3.5-20200727132301 for debian buster.

Thank you Jonis for the fix.
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Topozero on July 29, 2020, 09:16:47 AM
Thank you very much for the fix. I'm feeding again!

Code: [Select]
Start-Date: 2020-07-28  12:13:14
Commandline: apt full-upgrade
Requested-By: kemme (1001)
Upgrade: rbfeeder:armhf (0.3.5-20200722181401, 0.3.5-20200727132301)
End-Date: 2020-07-28  12:13:16

But another phenomena occured. After approx. 10 hours the feeds didn't contain any data. The feeding chronology in the web interfaces changed its color to yellow.

The rbfeeder.log tells always the same.

Code: [Select]
[2020-07-29 08:03:15]  ******** Statistics updated every 30 seconds ********
[2020-07-29 08:03:15]  Packets sent in the last 30 seconds: 570, Total packets sent since startup: 937595
[2020-07-29 08:03:15]  Data sent: 24.9 MB
[2020-07-29 08:03:15]  Data received: 37.8 KB

After restarting the daemon/service I could see om the web interface that the feeds again contained data.

Code: [Select]
[2020-07-29 09:51:19]  Caught SIGTERM, shutting down..
[2020-07-29 09:51:19]  Starting RBFeeder Version 0.3.5 (build 20200727132301)
[2020-07-29 09:51:19]  Using configuration file: /etc/rbfeeder.ini
[2020-07-29 09:51:19]  Network-mode disabled. Using local dongle.
[2020-07-29 09:51:19]  System: raspberry
[2020-07-29 09:51:19]  Start date/time: 2020-07-29 09:51:19
[2020-07-29 09:51:19]  Socket for ANRB created. Waiting for connections on port 32088
[2020-07-29 09:51:21]  Connection established.
[2020-07-29 09:51:21]  Connection with RadarBox24 server OK! Key accepted by server.
[2020-07-29 09:51:49]  ******** Statistics updated every 30 seconds ********
[2020-07-29 09:51:49]  Packets sent in the last 30 seconds: 255, Total packets sent since startup: 255
[2020-07-29 09:51:49]  Data sent: 11.7 KB
[2020-07-29 09:51:49]  Data received: 1.0 KB
[

So, my questing is going to those who already have upgraded to version 0.3.5-20200727132301 (@thecivvie). Can you confirm No Data after 10 hours?
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Runway 31 on July 29, 2020, 09:52:56 AM
Was there traffic in your are at the time it was yellow and were they showing on the map

Alan
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Topozero on July 29, 2020, 11:09:38 AM
Yes there was/is traffic in this area. And No Data occoured again an hour ago. Well, I checked other stations around here in Germany and I see other stations having a No Data problem recently and right now, i.e:

EXTRPI001117
EXTRPI007581
EXTRPI542729
EXTRPI001556

The outages are more than I have observed in the past. I guess its not due to the recent update. Probably this is another, independent problem.

Perhaps we only have to be patient for another day to see whether the No Data problem will increase or decrease.
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Runway 31 on July 29, 2020, 12:39:31 PM
Unfortunately I know nothing about Pi's but I wonder if it is OS specific however we shall need to wait and see what Jonis suggests.  Others may be in need of the new feeder software you used.  What is your feeder number, makes it easier to look at the station if you know which one it is being looked at

While you mention Germany others are having no problem, the first 2 below are also in Germany and others don't seem to be having a problems or issues

See these ones taken at random from https://www.radarbox.com/stations/raspberry-pi
https://www.radarbox.com/stations/EXTRPI010357
https://www.radarbox.com/stations/EXTRPI010353
https://www.radarbox.com/stations/EXTRPI010356
https://www.radarbox.com/stations/EXTRPI010394
https://www.radarbox.com/stations/EXTRPI010397
https://www.radarbox.com/stations/EXTRPI010375

I have advised Airnav there may be an issue here so hopefully someone will investigate

Alan
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Jonis Maurin Ceara on July 29, 2020, 01:49:20 PM
Hi.
We had some issues that cause this problem, but should be fixed now for all clients.
Title: Re: Updated Pi, RBFeeder segfaults
Post by: Topozero on July 29, 2020, 01:58:36 PM
Thank you very much. I wasn't patient enough ;-)