|
|
24-05-2020, 19:47
|
#61
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,387
|
Re: OpenCPN Version 5.1.518 Beta Test
cagney...
re:
"I have repeated crashes with raster charts when zooming and panning."
I have added some very busy debug printing code to try to isolate your raster cache crash problem.
Please build from github master now, run OCPN from a command line (without ddd). Clear the cache, and on the command console you will see lots of lines of printout, looking like:
Code:
/home/dsr/Charts/RNC/US_REGION04/12280/12280_2.KAP 2048 11264 512 512 7048 13192
Run until crash. The last few lines on the console may be useful.
Thanks
Dave
|
|
|
24-05-2020, 23:50
|
#62
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by bdbcat
cagney...
re:
"I have repeated crashes with raster charts when zooming and panning."
I have added some very busy debug printing code to try to isolate your raster cache crash problem.
Please build from github master now, run OCPN from a command line (without ddd). Clear the cache, and on the command console you will see lots of lines of printout, looking like:
Code:
/home/dsr/Charts/RNC/US_REGION04/12280/12280_2.KAP 2048 11264 512 512 7048 13192
Run until crash. The last few lines on the console may be useful.
Thanks
Dave
|
Dave
It took much longer to create a crash this time.
Cache was 68.4 MB.
Going North from Miami, as last time.
Quote:
/home/thomas/Charts/RNC/US_REGION06/11488/11488_1.KAP 8192 14336 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION06/11488/11488_1.KAP 8192 13824 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION06/11488/11488_1.KAP 7168 13824 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION06/11488/11488_1.KAP 6656 13824 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION06/11488/11488_1.KAP 8704 15360 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION06/11488/11488_1.KAP 4608 15360 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION06/11488/11488_1.KAP 8704 14848 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 9216 16384 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 9216 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 8704 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 9728 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 8192 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 7680 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 7168 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 6656 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 6144 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 5632 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 5120 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 4608 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 4096 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 3584 16896 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 9728 16384 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 8704 16384 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 8192 16384 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 7680 16384 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 7168 16384 512 512 13088 18480
/home/thomas/Charts/RNC/US_REGION07/11488/11488_1.KAP 6656 16384 512 512 13088 18480
Segmentation fault (core dumped)
|
Thanks
Thomas
|
|
|
25-05-2020, 01:25
|
#63
|
Registered User
Join Date: Dec 2009
Location: Norway
Boat: Saxe Ocean
Posts: 55
|
Re: OpenCPN Version 5.1.518 Beta Test
Wdefender blocking install
Threat detected:Trojan:Win32/Fuery.C!cl
webfile: C:\Users\oijhjkjjh\Downloads\opencpn-msvc_5.1.518+2202.1e2918d_setup.exe| http://download.opencpn.org/beta/ope...918d_setup.exe
W10 Pro 1909, up to date.
|
|
|
25-05-2020, 03:38
|
#64
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by bdbcat
TDan...
re:
"What i mean is the small box lower right that displays scale I want to click it and a dialog box lets me type in the scale. Then the existing zoom function takes that new ratio and runs."
Done, in github now.
Please have a look.
Thanks
Dave
|
Dave..
I first quick test: (Limited time today)
Enter e.g. enter 5000 in the scale message box is zooming to 1:5000. Very good. But the correct chart cell is not called for. So, to show the chart for that zoom scale I've to make "+" / "-" to "collect" correct cell or raster chart.
Thanks
Håkan
|
|
|
25-05-2020, 04:01
|
#65
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,536
|
Re: OpenCPN Version 5.1.518 Beta Test
Try downloading from a different internet server.
Quote:
Originally Posted by SamH
|
|
|
|
25-05-2020, 04:09
|
#66
|
Registered User
Join Date: Dec 2009
Location: Norway
Boat: Saxe Ocean
Posts: 55
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by rgleason
Try downloading from a different internet server.
|
This is the url from post #1.
|
|
|
25-05-2020, 10:00
|
#67
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by Hakan
Dave..
I first quick test: (Limited time today)
Enter e.g. enter 5000 in the scale message box is zooming to 1:5000. Very good. But the correct chart cell is not called for. So, to show the chart for that zoom scale I've to make "+" / "-" to "collect" correct cell or raster chart.
Thanks
Håkan
|
Dave..
More info on this issue.
Win10
CM93 seems to work as it should.
My test was on oeSENC and rasters.
To reproduce:
-Use oeSENC
-Goto zoom scale 300 000 by the new function.
-Zoom in and out by the normal function.
-Goto zoom scale 5000 by the new function; No details.
-Zoom in or out by the noemal function. Details are there.
Håkan
|
|
|
25-05-2020, 14:05
|
#68
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by bdbcat
Dan...
You must not be using current github.
On current github, "chartdldrgui.h" includes checkedlistctrl.h. So everything compiles OK.
I have tried building with your idea, to remove checkedlistctrl.h, and adding guards.
Still fails.
What other changes have you made?
Do you have a link to your built installer?
Thanks
Dave
|
Dave,
Been digging on this. I see something that may be a hint. If I scroll down in the long list of 1007 charts when I get to chart “Atka Island, western part” then the next chart should be “Korovin Bay to Wall Bay-Atka Island;Martin Harbor”
But that entry and all the ones after it are rapidly shown on top of one another and the scroll bar is “confused”. Eventually it shows the last chart having overwritten all the intervening ones.
There is a clue there somewhere.
|
|
|
25-05-2020, 18:01
|
#69
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Version 5.1.518 Beta Test
Here is an installer for testing the chart list bug:
https://1drv.ms/u/s!Ahh4-68oWChagb42...7vSfw?e=9y0fwh
I learned a little more about this. The long list of chart titles (1007 charts) drives the Desktop Window Manager (DWM) into overdrive. So I think this is not a "bug" in O in the strict sense. Somehow the list is using up resources and causing problems for Windows itself.
|
|
|
25-05-2020, 18:06
|
#70
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by bdbcat
TDan...
re:
"What i mean is the small box lower right that displays scale I want to click it and a dialog box lets me type in the scale. Then the existing zoom function takes that new ratio and runs."
Done, in github now.
Please have a look.
Thanks
Dave
|
Dave,
Awesome-sauce....I like it.
|
|
|
25-05-2020, 19:39
|
#71
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,387
|
Re: OpenCPN Version 5.1.518 Beta Test
TDan...
"So I think this is not a "bug" in O in the strict sense. Somehow the list is using up resources and causing problems for Windows itself."
Precisely.
So we need a workaround, somehow. Thinking....
btw, your installer fails in the same way my local build does. So at least we are on the same page.
Thanks
Dave
|
|
|
25-05-2020, 19:53
|
#72
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by bdbcat
TDan...
"So I think this is not a "bug" in O in the strict sense. Somehow the list is using up resources and causing problems for Windows itself."
Precisely.
So we need a workaround, somehow. Thinking....
btw, your installer fails in the same way my local build does. So at least we are on the same page.
Thanks
Dave
|
Dave,
It doesn't fail for me. It just takes a long time to populate the table. I takes about a minute on a fast machine. If I wait it comes back and all is well after that.
|
|
|
25-05-2020, 20:11
|
#73
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Version 5.1.518 Beta Test
Quote:
Originally Posted by bdbcat
TDan...
"So I think this is not a "bug" in O in the strict sense. Somehow the list is using up resources and causing problems for Windows itself."
Precisely.
So we need a workaround, somehow. Thinking....
btw, your installer fails in the same way my local build does. So at least we are on the same page.
Thanks
Dave
|
Dave,
This is the line that "does the damage":
Code:
void ChartDldrPanelImpl::FillFromFile()
:
m_scrollWinChartList->FitInside(); // Takes 36 seconds on fast I7
|
|
|
25-05-2020, 20:43
|
#74
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,387
|
Re: OpenCPN Version 5.1.518 Beta Test
Dan...
Yes, as I said in:
https://www.cruisersforum.com/forums...ml#post3147043
If I wait long enough, the list population completes. But then closing the dialog, OCPN hangs, and the entire system needs reboot.
Still poking around...
Dave
|
|
|
25-05-2020, 20:54
|
#75
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,387
|
Re: OpenCPN Version 5.1.518 Beta Test
Dan...
Interesting that smaller chart lists work OK, although maybe a little slow. It feels like there is some kind of non-linear math here, a geometric increase in computational complexity with linear increase in "n".
For fun I tried:
m_scrollWinChartList->SetAutoLayout( false );
before starting the list population.
Result: No effect....
Still thinking....
If we come with no solution, we will need to revert to the checked list control. Not as pretty...
Dave
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|