Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-08-2022, 13:29   #166
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

Glad to be able help the community!!

So far no "AssembleLineGeometry"-entries at all.
ekoleponen is offline   Reply With Quote
Old 11-08-2022, 01:43   #167
Registered User

Join Date: Feb 2015
Posts: 124
Re: AvNav - navigation in the browser

If everything was running now without problems it would be helpful to see if there was only one problem with the strange corrupted chart - or if you also encountered the problems I have seen on my side (the ones I made the first correction for).
So if you are still motivated to test:
(1) remove the file /home/pi/Charts/oeuSENC-FI/OC-358-AJIAP4.oesu (or just move it to a directory outside /home/pi/Charts)
(2) revert the lib back to the original version
(3) restart AvNav and make some change in the o-charts setting to retrigger the prefill process
(4) watch for segmentation faults
If no seg faults occur we know that it was only the one chart.
If there are seg faults, try again with the first corrected library (sub folder bullseye-arm64) and check if this passes.
wellenvogel02 is offline   Reply With Quote
Old 11-08-2022, 04:56   #168
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

OK, started the process
ekoleponen is offline   Reply With Quote
Old 11-08-2022, 07:08   #169
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

Tests failed.

What I did:
1. moved the file /home/pi/Charts/oeuSENC-FI/OC-358-AJIAP4.oesu away
2. put the original libo-charts_pi.so to work
3. restarted avnav
4. Estonia ok, Finland generated segmentation fault (see attatchments)
5. downloaded the patched libo from subfolder bullseye-arm64
6. put the patched libo to work
7. restarted avnav
8. Estonia ok, Finland chokes the RPi totally when the cache is about 8000 kB:s
(see attatchments, hope these give some info)

By choking I mean no mouse, keyboard or ssh, just brutal poweroff to recover, then after poweron/rebooting about 30 seconds to do something...I stopped avnav (sudo systemctl stop avnav).

Not looking very good...
Attached Files
File Type: doc segfault_origlib.doc (149 Bytes, 15 views)
File Type: doc avnavlog.doc (34.0 KB, 36 views)
File Type: doc providerlog.doc (13.9 KB, 29 views)
ekoleponen is offline   Reply With Quote
Old 11-08-2022, 10:31   #170
Registered User

Join Date: Feb 2015
Posts: 124
Re: AvNav - navigation in the browser

Unfortunately the logs do not really give us a lot of information.
Espcially it's hard to relate which log refers to which problem.
In the provider.log it seems that the system cannot really decrypt the charts any more. But we need a provider.log that contains the start up.
So you need to add the other logs with the timestamps.

If you would repeat it would make a lot of sense to stop AvNav, move all the logs (avnav/data/log, avnav/data/ocharts) into a separate directory for each step and then start AvNav.
This way we can easily relate the logs to the problems.

You could try again with the diag lib (not diag20!) - this could give us some more hints.

But at least first conclusion:
It's not only the the one chart that is potentially corrupted - there are more issues.

Which way do you connect to your system?
If you have the desktop running (even if with VNC) you maybe should reduce the memory settings for the avnav o-charts plugin again to it's default.
Such a blocking of the Pi could easily be caused by exhausted memory.
A "top" command could give you some hints (even if it takes minutes to start...).
wellenvogel02 is offline   Reply With Quote
Old 11-08-2022, 11:47   #171
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

I am running a desktop, vnc and ssh are enabled.

What I will do next is that I am going to make a new clean install via the op3/64bit image,
install the programs I need and then download and install the charts.

Let's then see where we are, and if necessary test from there.

Will get back!
ekoleponen is offline   Reply With Quote
Old 13-08-2022, 03:34   #172
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

Ok, back in business


Did a fresh install of the OP3, and downloaded the ocharts via Ocpn.


Have not yest installed AvNav going to do it via OP3.
I guess the preFill starts, when the Provider is defined to use the Ocpn charts.


Any instructions ?
ekoleponen is offline   Reply With Quote
Old 13-08-2022, 10:31   #173
Registered User

Join Date: Feb 2015
Posts: 124
Re: AvNav - navigation in the browser

Do the charts work with OpenCPN.
Otherwise just use them like the last time.
Unfortunately the simple "use OpenCPN charts" in the plugin config does not work.
As a last resort just download them agsin from the store ans upload to AvNav.
wellenvogel02 is offline   Reply With Quote
Old 13-08-2022, 13:00   #174
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

Ok, thanks for the help.
ekoleponen is offline   Reply With Quote
Old 16-08-2022, 10:46   #175
Registered User

Join Date: Feb 2015
Posts: 124
Re: AvNav - navigation in the browser

Any new results?
wellenvogel02 is offline   Reply With Quote
Old 17-08-2022, 01:58   #176
Registered User

Join Date: Feb 2015
Posts: 124
Re: AvNav - navigation in the browser

I've got an info from o-charts that the chart set with the corrupt chart should have been corrected - so maybe an update of the set should solve at least parts of the problems.
wellenvogel02 is offline   Reply With Quote
Old 18-08-2022, 08:50   #177
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

What I have done:
- clean OP3 install
- downloaded the charts (FI, EE, PL) for Opencpn
- checked they worked, Opencpn crashed once (which is why I got interested in AvNav in the first place)

- installed AvNav via OP3
- changed the memory allocation to 20%
- did NOT change the configuration to use Opencpn-charts
- downloaded today (18.8) the FI-charts from Ocharts, uploaded them to AvNav
- AvNav started to work with the chart files, after 4 hours it was done, no catastrophic error messages ( if I understand correctly), only in the attached picture contains an error of "invalid chart type".

- downloaded and uploaded the EE- and PL-charts without problems, and AvNav made the prefills succesfully.

So at the moment things look good !
Attached Thumbnails
Click image for larger version

Name:	error FI use 2022-08-18 18-04-36.png
Views:	46
Size:	190.7 KB
ID:	263059  
ekoleponen is offline   Reply With Quote
Old 19-08-2022, 10:08   #178
Registered User

Join Date: Feb 2015
Posts: 124
Re: AvNav - navigation in the browser

Ok, thanks for testing again...
So my understanding:
(1) With the corrected FI set things are working without issues with the original software without any corrections.
(2) the other sets are working anyway
The "invalid chart type" is no real problem as charts of this type are not used at all.
There are still some minor errors but I guess we can ignore them.
wellenvogel02 is offline   Reply With Quote
Old 19-08-2022, 10:38   #179
Registered User
 
ekoleponen's Avatar

Join Date: Jul 2022
Posts: 56
Re: AvNav - navigation in the browser

(1) That is correct
(2) That is correct

One anomality:
after the completion of the preFill of the FI-charts, I have noticed that every time I have started the RPi, the preFill-process starts for about 2 minutes to prefill the FI-preFilled filecache. The timestamp of the FI-preFilled filecache changes, the size stays the same.
Other two chartsets remain stable along with their timestamps.
ekoleponen is offline   Reply With Quote
Old 19-08-2022, 10:45   #180
Registered User

Join Date: Feb 2015
Posts: 124
Re: AvNav - navigation in the browser

Do you see the errors again on each start up?
It could happen that AvNav assumes that it should create some missing tiles - but finally it is not able to do this.
But I guess this should not really be a problem at all.
Once you start using the charts the cache files will grow anyway as there will be additional charts that will get rendered and cached...
wellenvogel02 is offline   Reply With Quote
Reply

Tags
navigation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ipad navigation (google earth and navigation) Cpt Balu Navigation 2 11-03-2019 18:55
Browser Cookies Mirage35 Flotsam & Sailing Miscellany 19 29-01-2017 06:29
Dual Browser Windows for Android devices sinbad7 Navigation 0 19-11-2013 13:01
Going Back To Browser, Away From Apps GaryMayo Forum Tech Support & Site Help 0 11-12-2012 14:00

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 19:17.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.