Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 25-05-2017, 06:24   #91
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 580
Re: OpenCPN Version 4.6.1 Released

Quote:
Originally Posted by bdbcat View Post
Baikal...

Screenshot possible?

Thanks
Dave
The error is floating, has not yet appeared.
The bug is manifested when the laptop was powered by batteries
Baikal is offline   Reply With Quote
Old 25-05-2017, 10:28   #92
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 580
Re: OpenCPN Version 4.6.1 Released

Quote:
Originally Posted by bdbcat View Post
Baikal...

Screenshot possible?

Thanks
Dave
............
Attached Thumbnails
Click image for larger version

Name:	bag2JPG.JPG
Views:	111
Size:	59.1 KB
ID:	148400  
Baikal is offline   Reply With Quote
Old 29-05-2017, 21:15   #93
Registered User

Join Date: Jan 2011
Posts: 670
Re: OpenCPN Version 4.6.1 Released

Quote:
Originally Posted by RhythmDoctor View Post
Hi all,

I may have found a problem with v4.6.1. When I run it at my boat, it fails to close properly. A crosshatch pattern appears on the screen and it freezes. When I run it on the same Windows tablet at home, it closes fine. The key difference between the two locations is that at the boat, there is a stream of NMEA data coming in on COM3 (GPS) and COM5 (AIS). Here are the relevant lines from the log file...
Quote:
Originally Posted by transmitterdan View Post
I run a lot of NMEA data into O when testing. I use the Ethernet to force a ton of messages (AIS, GPS, wind, etc.). I have never sent that. Try disabling any add-on plugins except the built-in ones. Maybe a plugin won't give up control.
I have spent time over the last few weeks replicating this issue in different environments.

First I tried removing all plugins, and it did initially resolve the problem - it ran and exited gracefully. But then I started adding in the plugins one by one, and at one point the problem happened again. After that, I once again removed all the plugins, and this time the problem would not go away - the program would freeze upon attempted exit even with all the plugins removed from the plugins folder. I restored the previous opencpn.ini file, and the program still hung even without any plugins.

In all of these cases, if I stopped the NMEA stream (by turning off the external GPS, or quitting interface software that was directing the stream to a COM port or IP address), the freeze would stop and the program would immediately exit gracefully.

Since removing the plugins ultimately was not a fix, I proceeded to test on different computers. Since it is a portable installation on a microSD card, I can simply insert the card into different computers (and plug in a GPS) to run the test. Here is what I have learned.
  • The issue (program freezes upon attempting to close) only happens on one of the three computers that I tried.
  • It only happens with 4.6.1 (not with 4.0.0).
  • It only happens when there is NMEA data coming in.
  • It happens when data is received over a TCP stream, UDP multicast, Bluetooth virtual COM port, or USB port converted to virtual COM port via GPSgate free version.
  • The computer where this problem happens is an Acer Switch 10 tablet running Windows 10 OS.
  • If I insert the SD card into my laptop (Asus E403s running Windows 10 with USB Garmin handheld/GPSgate), it runs and exits gracefully.
  • If I insert the SD card into my 8" tablet (Lenovo Miix2 8" running Windows 8.1 with internal GPS/GeolocationTCP), it runs and exits gracefully.
  • If I run v4.0.0 on the Acer Switch 10, it runs and exits gracefully.

So this problem only happens in 4.6.1 with a very specific combination of hardware, although on that tablet it always happens if there is a stream coming in by a variety of methods.

For now I have changed over to the 8" tablet on the boat, but I would much prefer to be using my 10" tablet. Please suggest what I should try next.
__________________
Please support OpenCPN by donating through Paypal!
RhythmDoctor is offline   Reply With Quote
Old 30-05-2017, 08:53   #94
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Version 4.6.1 Released

Have you gotten all driver updates from Acer and latest Windows updates for the problem PC?
transmitterdan is offline   Reply With Quote
Old 30-05-2017, 08:55   #95
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Version 4.6.1 Released

Also, if you force close the app when it refuses to close can you see what are the last few log entries in opencpn.log?
transmitterdan is offline   Reply With Quote
Old 30-05-2017, 09:41   #96
Registered User

Join Date: Jan 2011
Posts: 670
Re: OpenCPN Version 4.6.1 Released

Quote:
Originally Posted by transmitterdan View Post
Also, if you force close the app when it refuses to close can you see what are the last few log entries in opencpn.log?
I posted that a few weeks ago. Read back to view.
__________________
Please support OpenCPN by donating through Paypal!
RhythmDoctor is offline   Reply With Quote
Old 30-05-2017, 17:32   #97
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Version 4.6.1 Released

Quote:
Originally Posted by RhythmDoctor View Post
I posted that a few weeks ago. Read back to view.
Would be interesting to see the whole session in the log file. It should be releasing all the plugins before the message: "opencpn::MyFrame exiting cleanly." So maybe earlier in the log file is a hint as to why the plugins could not be released.
transmitterdan is offline   Reply With Quote
Old 01-06-2017, 00:30   #98
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCPN Version 4.6.1 Released

Hi
I am getting a crash and able to replicate on 3 computers.

Ubuntu 16.04
Open 4.6.1

Process as follows:
Options/Display/Units/Bearings
Show true bearings and headings (UNTICK)
Show magnetic bearings and headings (TICK)
click OK
Close O
Restart O
Open route manager
Try to open properties of any route by any means ,double click or highlight and click properties.

O shuts down.

Cheers all
Redog
redog is offline   Reply With Quote
Old 01-06-2017, 02:46   #99
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCPN Version 4.6.1 Released

Further to my last post.(#98)
How can O display both magnetic and true bearings at the same time?

Am I missing something here? I am known to have the odd seniors moment.

But looking at the screenshot attached both can be ticked at the same time.

The manual only shows 1 line, "Bearings (Tick box) Show magnetic bearings and headings" which makes sense to me, as this would turn off the true.

Cheers Redog
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-06-01 19-29-33.jpg
Views:	80
Size:	412.8 KB
ID:	148906  
redog is offline   Reply With Quote
Old 01-06-2017, 04:09   #100
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OpenCPN Version 4.6.1 Released

redog

I'm on Kubuntu 16.06 & O 4.6.1, and can't repeat you crash. Same result with OpenGL on/off.
Quote:
How can O display both magnetic and true bearings at the same time?
Like this for example

Name:   Screenshot_20170601_065806.png
Views: 281
Size:  8.3 KB

Have you checked your log file for any clues?
Have you tried to start O with a new opencpn.conf file, by renaming the old one?
Have you tried to deactivate all your plugins and then turning them on one by one to see if there is a problem with one particular plugin?

Thomas
cagney is offline   Reply With Quote
Old 01-06-2017, 04:11   #101
Registered User

Join Date: May 2012
Posts: 1,184
Re: OpenCPN Version 4.6.1 Released

Redog,

Thanks for the pointer. I have updated the manual for 4.6.1!

https://opencpn.org/wiki/dokuwiki/do...ptions_setting

You can tick both items and will get both true and magnetic bearings displayed.

Mike
Rasbats is offline   Reply With Quote
Old 01-06-2017, 05:51   #102
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCPN Version 4.6.1 Released

Quote:
Originally Posted by cagney View Post
redog

I'm on Kubuntu 16.06 & O 4.6.1, and can't repeat you crash. Same result with OpenGL on/off. Yes


Like this for example OK I can see the usefulness of that now. Haven’t really checked routes whilst under way, only used the route information window for bearing to waypoint, which shows me only magnetic as requested.
Attachment 148908

Have you checked your log file for any clues? Looked but no answers jump out.
Have you tried to start O with a new opencpn.conf file, by renaming the old one? This is how I arrived at my conclusion, by comparing them side by side changing 1 thing at a time and then restarting O with the new setting each time to find a result .
Have you tried to deactivate all your plugins and then turning them on one by one to see if there is a problem with one particular plugin? Disabled all plugins still get the crash.

Thomas
Thomas
Answers in red to your questions/suggestions.
Thanks for your input.
Redog
redog is offline   Reply With Quote
Old 01-06-2017, 06:44   #103
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,702
Re: OpenCPN Version 4.6.1 Released

You are using a file with your routes and tracks?
What happens if you back-up this file starting with an empty one?
Talking about the navobj.xml file

You might have some data in there that breaks the program - should not, but has happened in the past.
bcn is offline   Reply With Quote
Old 01-06-2017, 10:30   #104
Registered User

Join Date: Jul 2009
Location: Pima, Arizona
Boat: Camelot - Islander 37
Posts: 28
Re: OpenCPN Version 4.6.1 Released

Running Windows 7. When trying to install 4.6.1 I receive the following message:
Thanks
cem

Installer integrity check has failed. Common causes include incomplete download or damaged media. Contact the installer's author to obtain a new copy.
More information at:
http://nsis.sf/NSIS_error

Cowpoke is offline   Reply With Quote
Old 01-06-2017, 13:15   #105
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCPN Version 4.6.1 Released

Quote:
Originally Posted by bcn View Post
You are using a file with your routes and tracks? Yes saved to folder on computer

What happens if you back-up this file starting with an empty one? Deleted all routes waypoints etc and created a new route with same result.

Talking about the navobj.xml file From log, looks OK to a novice.
"05:20:45 AEST: Loading navobjects from navobj.xml
05:20:45 AEST: Done loading navobjects
05:20:45 AEST: Applying NavObjChanges"


You might have some data in there that breaks the program - should not, but has happened in the past.
Redog
redog is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
OpenCPN Beta Version 3.1.814 Released bdbcat OpenCPN 185 14-09-2012 07:43
OpenCPN Beta Version 3.1.802 Released bdbcat OpenCPN 158 14-08-2012 10:07
OpenCPN Beta Version 3.1.714 Released bdbcat OpenCPN 91 01-08-2012 17:08

Advertise Here


All times are GMT -7. The time now is 03:12.


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.