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-06-2022, 04:27   #2221
Registered User

Join Date: May 2022
Location: Belgium
Boat: To come
Posts: 68
Re: Weather Routing

Quote:
Originally Posted by hasse_A View Post
Raoul,

This reminds me of something I also experienced and mentioned a few days back but for me it happened while routing.



Do you need to kill the program or does it terminate by itself ?
If you need to kill it, it might be related to what I have seen.

/Hans
Hello Hans,

The program freeze. Nothing happens. I tried to move the windows but they are frozen. When I select OpenCPN or WeatherRouting or Grib window, I see appearing the message (Not responding) on the title bar and I finally receive the message asking me to wait or to cancel the program. Waiting does not help. My conclusion is that this is a separate issue from yours.

Best regards,
Raoul
ALROCHARARI is offline   Reply With Quote
Old 10-06-2022, 04:41   #2222
Registered User

Join Date: May 2022
Location: Belgium
Boat: To come
Posts: 68
Re: Weather Routing

Hello guys,

I still have a very strange beheavior.

Working in & out with WeatherRouting and other plugins using different screens: my laptop 2560x1440 and a connection though a docking station to a 3840x1080 screen. At a certain point, the WeatherRouting icon is not responding whatever I do. Complete uninstallation of WeatherRouting with folders & tarbal file deletion is necessary with reinstallation before being able to use it again. Did not identified the exact reproductible sequence to generate it yet.

Had somebody already similar issue?

Best regards,
Raoul
ALROCHARARI is offline   Reply With Quote
Old 10-06-2022, 04:49   #2223
Registered User
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 560
Re: Weather Routing

Quote:
Originally Posted by ALROCHARARI View Post
Hello Hans,
My conclusion is that this is a separate issue from yours.
Raul,

Maybe not, I might not have had the patience to wait it out. Next time I will let it hang for a while and see what happens,

/Hans
hasse_A is offline   Reply With Quote
Old 10-06-2022, 05:11   #2224
Registered User
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 560
Re: Weather Routing

Dave,

Now I got it to hang while it was "Calculating Cyclon Crossings". That's also the only box I can move. CPU at about 30%. Can not minimize OpenCPN.

/Hans
hasse_A is offline   Reply With Quote
Old 10-06-2022, 08:04   #2225
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Weather Routing

All...
My observations:
There are two classes of problem.


1. Simple GUI window focus/refresh problem on Windows.

There is some GUI problem which occurs with some control dialog positions. I have implemented a simpler dialog, not using wxSplitter, only simple box sizers. And the problem persists. It still shows the same window refresh problem when part of the dialog is off-screen. Working to narrow this down now. Looks like some trouble with wxListCtrl. Technically, OCPN is not "hung" He is getting and processing events. He is just not getting any Refresh events, so the GUI appears to be hung. You can see this, as the cursor changes to green arrow near the chart edges. This is OCPN responding to mouse input. He is not hung.
If the control dialog is fully on-screen, we do not see this GUI problem.



2. Legitimate logic errors causing a true hang, with elevated processor load, on all platforms.


If the entire extent of a proposed route is on-screen, the route completes normally. However, after completion, if the user then attempts to zoom in to large scale on any part of the route, at some scale value the system will eventually hang. It seems to be stuck in some unresolved recursive loop in the RenderOverlay() method.


Sean, this one is yours.


@Hans: How does this map with your experience?


Dave
bdbcat is offline   Reply With Quote
Old 10-06-2022, 08:32   #2226
Registered User
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 560
Re: Weather Routing

Quote:
Originally Posted by bdbcat View Post
All...
My observations:
There are two classes of problem.


1. Simple GUI window focus/refresh problem on Windows.

There is some GUI problem which occurs with some control dialog positions. I have implemented a simpler dialog, not using wxSplitter, only simple box sizers. And the problem persists. It still shows the same window refresh problem when part of the dialog is off-screen. Working to narrow this down now. Looks like some trouble with wxListCtrl. Technically, OCPN is not "hung" He is getting and processing events. He is just not getting any Refresh events, so the GUI appears to be hung. You can see this, as the cursor changes to green arrow near the chart edges. This is OCPN responding to mouse input. He is not hung.
If the control dialog is fully on-screen, we do not see this GUI problem.



2. Legitimate logic errors causing a true hang, with elevated processor load, on all platforms.


If the entire extent of a proposed route is on-screen, the route completes normally. However, after completion, if the user then attempts to zoom in to large scale on any part of the route, at some scale value the system will eventually hang. It seems to be stuck in some unresolved recursive loop in the RenderOverlay() method.


Sean, this one is yours.


@Hans: How does this map with your experience?


Dave
Number 1) I totally agree. I see the green arrows and if you go to the bottom in this case the empty box in the left lower corner appears. I think this is the box where chart info should be displayed. Maybe you need to have charts loaded to see this.

Number 2) Yes, this is absolutely true.

/Hans
hasse_A is offline   Reply With Quote
Old 10-06-2022, 13:23   #2227
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Weather Routing

Sean, et al...
I have recorded a video (with audio commentary) demonstrating the simplest hang condition I could create. The video shows my actions in IDE to capture a stack trace at the hang point. This should get you started on looking into this bug.


https://www.dropbox.com/s/ow70ujxj73...08.44.mkv?dl=0


I also attach a screenshot of the stack trace at the hang point.


Thanks for looking
Dave
Attached Thumbnails
Click image for larger version

Name:	stack.jpeg
Views:	65
Size:	86.3 KB
ID:	259350  
bdbcat is offline   Reply With Quote
Old 11-06-2022, 06:46   #2228
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Weather Routing

Thank you Dave. routemap.cpp:1349 has

" } while(s1 != skippoints);"

and line 1273 comment

Quote:
/* how many times do we cross this route going from this point to infinity,
return -1 if inconclusive */
rgleason is offline   Reply With Quote
Old 11-06-2022, 14:11   #2229
Registered User

Join Date: May 2022
Location: Belgium
Boat: To come
Posts: 68
Re: Weather Routing

Hello guys,

Do you have same problem of "Over ground" routes?

Best regards,
Raoul
Attached Thumbnails
Click image for larger version

Name:	Over ground.jpg
Views:	71
Size:	357.9 KB
ID:	259393  
ALROCHARARI is offline   Reply With Quote
Old 11-06-2022, 14:42   #2230
Registered User
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 560
Re: Weather Routing

Quote:
Originally Posted by ALROCHARARI View Post
Hello guys,

Do you have same problem of "Over ground" routes?

Best regards,
Raoul
It might be a dumb question but I will ask it anyway.
Have you activated the box "Detect Land" under the configuration ?

One other dumb question.
Have you downloaded and installed the High resolution base chart ?

To answer your question: No I have not had problems with this so far.

/Hans
hasse_A is offline   Reply With Quote
Old 11-06-2022, 22:49   #2231
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
Re: Weather Routing

Quote:
Originally Posted by bdbcat View Post
Sean, et al...
I have recorded a video (with audio commentary) demonstrating the simplest hang condition I could create. The video shows my actions in IDE to capture a stack trace at the hang point. This should get you started on looking into this bug.


https://www.dropbox.com/s/ow70ujxj73...08.44.mkv?dl=0


I also attach a screenshot of the stack trace at the hang point.


Thanks for looking
Dave
I study your report but I cannot reproduce the hang. I need to reproduce the hang to correctly fix this.

Can you post your weatherroutingconfiguration.xml, boat.xml and possibly just attach the .opencpn/plugin/weather_routing folder?
seandepagnier is offline   Reply With Quote
Old 12-06-2022, 07:52   #2232
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Weather Routing

Sean...
The entire folder (except the "stock" polars):


https://www.dropbox.com/sh/6yiwdusnu...9c8kxKSMa?dl=0


Dave
bdbcat is offline   Reply With Quote
Old 12-06-2022, 08:31   #2233
Registered User
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 560
Re: Weather Routing

I have noticed another problem where the router does not finish despite it's saying so. The effect is that you do not get a time of arrival or duration in the report. Also I think the time given in the WR-window is the time when the routing stopped and not the time of arrival.
See attachment.
Attached Thumbnails
Click image for larger version

Name:	Route not complete.jpg
Views:	62
Size:	327.2 KB
ID:	259415  
hasse_A is offline   Reply With Quote
Old 12-06-2022, 08:39   #2234
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Weather Routing

Hans...
Working on the rendering hang problem now. We'll come back to this "completion" bug later. Please keep it in mind.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 12-06-2022, 08:43   #2235
Registered User
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 560
Re: Weather Routing

Quote:
Originally Posted by bdbcat View Post
Hans...
Working on the rendering hang problem now. We'll come back to this "completion" bug later. Please keep it in mind.
Of course. One thing at a time.

In the case shown it is only with certain times of departures this happens.
I will save the complete state of the setup including gribs and polar diagram so we are sure we can reproduce the error.

/Hans
hasse_A is offline   Reply With Quote
Reply

Tags
paracelle, weather


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
Yachts in transit - new system for weather, blogging, diving, walking tracking sail-fish Navigation 13 22-05-2016 15:57
SSB Weather info VirtualVagabond General Sailing Forum 8 15-01-2016 08:40
Optimum SSB/satphone combo setup tulsag Marine Electronics 33 30-04-2012 07:19
MaxSea Weather Routing svrevelations Weather | Gear, Reports and Resources 12 10-10-2011 01:08
Sea Myths and Sayings Mariners The Sailor's Confessional 5 29-09-2011 13:51

Advertise Here


All times are GMT -7. The time now is 09:32.


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.