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 08-08-2022, 12:03   #151
Registered User

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

Just change some settings to let the prefill run again.
And yes, if you move around in the Finnish charts this triggers the problem (potentially).
You will always see which charts are currently handled (i.e. opened) in the provider.log.

So what I often do (assuming to be in /home/pi/avnav/data/ocharts):

tail --follow=name provider.log

That will show you the ongoing stuff.
wellenvogel02 is offline   Reply With Quote
Old 08-08-2022, 12:38   #152
Registered User
 
ekoleponen's Avatar

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

Ok, gdb did complain about a file...
Got more corexxxx-files if needed.
Attached Thumbnails
Click image for larger version

Name:	dbg mes 2022-08-08 22-31-52.png
Views:	46
Size:	12.7 KB
ID:	262485  
Attached Files
File Type: doc Pi4debug11684.doc (3.4 KB, 18 views)
File Type: doc providerlog2022-08-08-22-10-49.doc (188.2 KB, 16 views)
File Type: doc providerlog2022-08-08-22-12-09.doc (193.3 KB, 45 views)
File Type: doc providerlog2022-08-08-22-12-57.doc (188.1 KB, 40 views)
ekoleponen is offline   Reply With Quote
Old 08-08-2022, 13:22   #153
Registered User

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

Many thanks.
The complain from gdb is ok, don't worry...
Funny enough it crashes more or less at the same place.
So I will create a new lib with a lot of debug output tomorrow.
If you want to play a bit it would behelpful to find out whether the problem occurs at some particular charts or just at arbitrary ones.
Typically the problematic chart is the last one in a log when a crash occurs.
wellenvogel02 is offline   Reply With Quote
Old 09-08-2022, 01:24   #154
Registered User
 
ekoleponen's Avatar

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

Happy to help !!

I wonder, could it be a corrupted SD-memory cell?
ekoleponen is offline   Reply With Quote
Old 09-08-2022, 01:26   #155
Registered User

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

At the end everything is possible. Sure.
But on the other hand it's somehow predictable where it cores...
Let me build some debug stuff into the lib and let's try again.
wellenvogel02 is offline   Reply With Quote
Old 09-08-2022, 03:07   #156
Registered User

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

Ok now I created a new lib with a lot of debug output stuff.
It's on the same dropbox folder, subfolder bullseye-arm64-diag.
Could you copy this one to your system and restart?
Potentially there will not be cores any more (but the charts are potentially somehow corrupt).
You could search for lines with:
INFO-AssembleLineGeometries invalid result (index 1 != 0, list==NULL)
in the provider.log and provide some of them (but especially need the lines before this message and potentially after a block of such messages).
Some lines are potentially rather long as they give us the list of all records that has been read for this chart.
So the provider.log file could quickly fill up and skip to the next one.
wellenvogel02 is offline   Reply With Quote
Old 09-08-2022, 05:16   #157
Registered User
 
ekoleponen's Avatar

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

Can not send you the provider.log file because it is much too large, even though I shrunk it.

The file which the photo decribes is 6 MiB!!
Attached Thumbnails
Click image for larger version

Name:	providerlog 2022-08-09 15-13-15.png
Views:	44
Size:	303.8 KB
ID:	262514  
ekoleponen is offline   Reply With Quote
Old 09-08-2022, 12:21   #158
Registered User

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

Ok, I received the log.
The interesting part is:
2022/08/09-14:38:42.844-0x7fb81257c0-INFO-Ingest200: record to large: /home/pi/Charts/oeuSENC-FI/OC-358-AJIAP4.oesu
2022/08/09-14:38:42.845-0x7fb81257c0-INFO-ERROR: ingest200 finished (2) with record 96, len 9084026, totalBytes 35530888, lastRead 6 /home/pi/Charts/oeuSENC-FI/OC-358-AJIAP4.oesu

The record type 96 is really the one containing all the infos that later the "AssembleLineGeometry" is missing.

Btw: Do you still see segmentation faults? I would suspect not...
wellenvogel02 is offline   Reply With Quote
Old 09-08-2022, 12:51   #159
Registered User

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

Ok, I just created a patched lib again that changes the record size limit to 20000000 bytes.
So at least for the chart we saw in the last log it should solve the problem.
And I removed the very large log line.
Could you try again - sub folder: bullseye-arm64-diag20

We need to check again the logs for AssembleLineGeometry....
wellenvogel02 is offline   Reply With Quote
Old 09-08-2022, 13:05   #160
Registered User
 
ekoleponen's Avatar

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

No segmentation errors, will try the new lib and report back.

Only "PROVIDEROUT"-messages attached after 10 minutes of using.
Attached Thumbnails
Click image for larger version

Name:	providerout 2022-08-09 22-58-45.png
Views:	39
Size:	30.7 KB
ID:	262540  
ekoleponen is offline   Reply With Quote
Old 09-08-2022, 13:06   #161
Registered User

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

Ok, good news - so we are investigating at the right place ;-)
wellenvogel02 is offline   Reply With Quote
Old 09-08-2022, 13:32   #162
Registered User
 
ekoleponen's Avatar

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

provider.log attached, no "AssembleLineGeometries"-entries.

AvNav was used about 5 minutes.
Attached Files
File Type: doc providerlog.doc (194.5 KB, 30 views)
ekoleponen is offline   Reply With Quote
Old 09-08-2022, 22:34   #163
Registered User

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

Ok, cool.
So it seems that at least this chart is somehow special - i.e. having a lot of points - this way really having some large records that the plugin code did not expect.
The render timeouts around this chart also support this hypothesis - rendering of a tile seems to take really long.
Could you now just again make a change in the settings so that the prefill is starting over?
Will run for many hours and give us a clear picture if we still have problems at other places.
I'm already discussing the problem with the OpenCPN plugin development and the o-charts guys...
wellenvogel02 is offline   Reply With Quote
Old 10-08-2022, 12:00   #164
Registered User
 
ekoleponen's Avatar

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

RPi has done the preFill now for 9 hours.
I have watched and used only the OchartsProvider-page.

The preFill started with Estonian maps and they were ready after one hour, no "ERROR-render timeout"-messages. And the numbers/sizes advanced on a steady pace in the OchartsProvider-page.

With the Finnish maps it has now worked for 8 hours.
Been watching now and then what is going on via the "tail --follow=name provider.log" command.
Many times when there are "ERROR-render timeout"-messages there is a halt for 2 -6 minutes, during that time no number/size changes in the OchartsProvider-page. The longest waits I think come when there are two "ERROR-render timeout"-messages one after the other.

Planning to leave RPi on for the night and check in the morning if it has advanced to the Polish charts...
ekoleponen is offline   Reply With Quote
Old 10-08-2022, 13:06   #165
Registered User

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

Many thanks for doing all the investigations.
Most probably there was really at least one corrupted chart.
Investigation on this is ongoing...
Did you still see some "AssembleLineGeometry..." log entries?
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 11:22.


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.