AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: RBFeeder on RPi has memory leak with UAT  (Read 1252 times)

0 Members and 1 Guest are viewing this topic.

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 29218
Re: RBFeeder on RPi has memory leak with UAT
« Reply #30 on: July 18, 2020, 02:53:25 PM »
J Maurin is with Airnav.  I emailed the Development staff pointing to this thread following the reply from Josh on 14th July.  Quick work from the team, well done

Alan

Jonis Maurin Ceara

  • AirNav Systems
  • New Member
  • *****
  • Posts: 8
Re: RBFeeder on RPi has memory leak with UAT
« Reply #31 on: July 23, 2020, 11:42:03 AM »
@jmaurin
Great work!

(1) Where did you find the source-code for rbfeeder and dump978-rb?

(2) What argument/parameters you used when you build the .deb package from source-code?

(3) The link to Google Drive you have posted requires the .deb package to be first downloaded to a computer using web browser, then moved to RPi using SCP software like FileZilla or WinSCP. Following is the wget command which directly downloads your .deb package on RPi. I have tested it, and it works. Give it a try :)

NOTE: It is a very long command. Scroll right to see and copy-paste it in full.
Code: [Select]

wget -O /home/pi/rbfeeder_0.4.0-20200715113500_arm64.deb "https://drive.google.com/uc?export=download&id=1tu2D4rK7ZM3n6yq6612rP4iFY5EtVV1R"   



(4) Installed over existin 64 bit rbfeeder from RB24 repositories:
Code: [Select]
[email protected]:~ $ sudo dpkg -i rbfeeder_0.4.0-20200715113500_arm64.deb

[email protected]:~ $ apt policy rbfeeder
rbfeeder:
  Installed: 0.4.0-20200715113500
  Candidate: 0.4.0-20200715113500
  Version table:
 *** 0.4.0-20200715113500 100
        100 /var/lib/dpkg/status
     0.3.5-20200623164017 500
        500 https://apt.rb24.com buster/main arm64 Packages


(5) Checked your .deb package:
Code: [Select]
[email protected]:~ $ file rbfeeder_0.4.0-20200715113500_arm64.deb
rbfeeder_0.4.0-20200715113500_arm64.deb: Debian binary package (format 2.0)

Code: [Select]
[email protected]:~ $ readelf -a rbfeeder_0.4.0-20200715113500_arm64.deb

File: rbfeeder_0.4.0-20200715113500_arm64.deb(debian-binary   )
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

File: rbfeeder_0.4.0-20200715113500_arm64.deb(control.tar.xz  )
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

File: rbfeeder_0.4.0-20200715113500_arm64.deb(data.tar.xz     )
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start



Code: [Select]
[email protected]:~ $ sudo dpkg-deb -c rbfeeder_0.4.0-20200715113500_arm64.deb
drwxr-xr-x root/root         0 2020-07-15 04:28 ./
drwxr-xr-x root/root         0 2020-07-15 04:28 ./etc/
-rw-r--r-- root/root       249 2020-07-15 04:28 ./etc/rbfeeder.ini
drwxr-xr-x root/root         0 2020-07-15 04:28 ./lib/
drwxr-xr-x root/root         0 2020-07-15 04:28 ./lib/systemd/
drwxr-xr-x root/root         0 2020-07-15 04:28 ./lib/systemd/system/
-rw-r--r-- root/root       202 2020-07-15 04:28 ./lib/systemd/system/rbfeeder.service
drwxr-xr-x root/root         0 2020-07-15 04:28 ./opt/
drwxr-xr-x root/root         0 2020-07-15 04:28 ./opt/radarbox/
drwxr-xr-x root/root         0 2020-07-15 04:28 ./opt/radarbox/specs/
-rwxr-xr-x root/root    110597 2020-07-15 04:28 ./opt/radarbox/specs/cat21_2.1.json
-rwxr-xr-x root/root    117364 2020-07-15 04:28 ./opt/radarbox/specs/cat21_2.4.json
drwxr-xr-x root/root         0 2020-07-15 04:28 ./usr/
drwxr-xr-x root/root         0 2020-07-15 04:28 ./usr/bin/
-rwxr-xr-x root/root    307280 2020-07-15 04:28 ./usr/bin/dump1090-rb
-rwxr-xr-x root/root    421752 2020-07-15 04:28 ./usr/bin/rbfeeder
drwxr-xr-x root/root         0 2020-07-15 04:28 ./usr/share/
drwxr-xr-x root/root         0 2020-07-15 04:28 ./usr/share/doc/
drwxr-xr-x root/root         0 2020-07-15 04:28 ./usr/share/doc/rbfeeder/
-rw-r--r-- root/root      1199 2020-07-15 04:28 ./usr/share/doc/rbfeeder/changelog.Debian.gz
-rw-r--r-- root/root      1255 2020-07-15 04:28 ./usr/share/doc/rbfeeder/copyright


Code: [Select]
[email protected]:~ $ sudo dpkg -L rbfeeder
/.
/etc
/etc/rbfeeder.ini
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/rbfeeder.service
/opt
/opt/radarbox
/opt/radarbox/specs
/opt/radarbox/specs/cat21_2.1.json
/opt/radarbox/specs/cat21_2.4.json
/usr
/usr/bin
/usr/bin/dump1090-rb
/usr/bin/rbfeeder
/usr/share
/usr/share/doc
/usr/share/doc/rbfeeder
/usr/share/doc/rbfeeder/changelog.Debian.gz
/usr/share/doc/rbfeeder/copyright


1) Our source code is available at our github, as opensource (see 'copyright' file in latest package available, just pushed into out APT for 32bits).

2) Just dpkg-buildpackage to create standard package. But note that you won't be able to use your compiled version. We have some kind of protection and only builds made by US are able to comunicate with our servers. Still, you can download and build our software.

3) It's available in our APT repository now.

+) Yes, I'm from AirNav Team, Jonis :)

Please, if is possible, report any problem related to rbfeeder here (in forum) but specially in our git repository, in the 'Issues' section. That's a better way to keep tracking of fixes.
Again: URL is available in 'copyright' file that is installed with rbfeeder package in the latest version.
« Last Edit: July 23, 2020, 11:44:03 AM by Jonis Maurin Ceara »

abcd567

  • Sr. Member
  • ****
  • Posts: 339
  • CYYZ - Toronto
Re: RBFeeder on RPi has memory leak with UAT
« Reply #32 on: July 23, 2020, 08:45:59 PM »
Hi Jonis,
Glad to see you in the forum.

Thank you so much for detailed reply/clarification/guidance.

Sorry I did not recognize it was you when you made your first post using your middle name which I was not aware of.

Thanks again for your great work as AirNav Software Developer, and now for participating in the forum to help the AirNav/Radarbox community.

Regards,
ab cd