Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 21-11-2015, 18:37   #181
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,024
Re: OpenCPN Beta test 4.1.1108 Release

Latest git (https://github.com/transmitterdan/Op...4fef758d640ee7) has a crash problem in windows. To duplicate I run in the VS2013 debugger. Select CM93 chart group (no other chart types turned on) and zoom out to see about 1/4 the world. Then pan west using left arrow key. Almost immediately O will trap here:

Code:
First-chance exception at 0x6D5B3D4D (glu32.dll) in opencpn.exe: 0xC0000005: Access violation reading location 0xFD849D88.
Unhandled exception at 0x6D5B3D4D (glu32.dll) in opencpn.exe: 0xC000041D: An unhandled exception was encountered during a user callback.
This is at line #2752 in glChartCanvas.cpp. The call to glTessEndPolygon(tobj) causes a memory exception. I think tobj is valid but don't know why glTessEndPolygon() blows up.
__________________

__________________
transmitterdan is offline   Reply With Quote
Old 21-11-2015, 19:14   #182
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: OpenCPN Beta test 4.1.1108 Release

TDan am I missing something? VDRServer1.py?
C:\Python27> python VDRServer1.py Hakefjord.txt 127.0.0.1 2947 .033
python: can't open file 'VDRServer1.py': [Errno 2] No such file or directory

---I've got the name the code that and put it in pyton directory.
__________________

__________________
rgleason is offline   Reply With Quote
Old 21-11-2015, 19:24   #183
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: OpenCPN Beta test 4.1.1108 Release

Ok, using TDan's python server, this newer version of Opencpn also freezes up!
I quit. I am going back to a previous version if I can find it. This one is messed up.
__________________
rgleason is offline   Reply With Quote
Old 21-11-2015, 19:42   #184
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,024
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by rgleason View Post
Ok, using TDan's python server, this newer version of Opencpn also freezes up!
I quit. I am going back to a previous version if I can find it. This one is messed up.
I just posted what might be an example of the freeze up. Can you run O in the VS2013 debugger and see where it traps an exception?
__________________
transmitterdan is offline   Reply With Quote
Old 21-11-2015, 20:04   #185
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,024
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by rgleason View Post
Ok, using TDan's python server, this newer version of Opencpn also freezes up!
I quit. I am going back to a previous version if I can find it. This one is messed up.
Rick, you can try this install file: https://drive.google.com/file/d/0B-_...ew?usp=sharing

It is built from latest git and may work for you.
__________________
transmitterdan is offline   Reply With Quote
Old 21-11-2015, 20:12   #186
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: OpenCPN Beta test 4.1.1108 Release

I now have it working with the 11-08-2015 v4.1.1108 on the opencpn.org download page Download OpenCPN | Official OpenCPN Homepage

Dan's python script works beautifully and so does VDR. So I think the current beta has a bug!

By the way, using Dan's python script, we are testing the entire Opencpn interface, including the nmea part, so I think it is a better test for opencpn.

I have Sean's plugin Sweepplot working with Hartmut's Meerkermeer....txt nmea file.

Dan I will try your version tomorrow if you don't mind, it is getting late here. Thank you for all your help. Will let you know how that goes tomorrow. Nite.
__________________
rgleason is offline   Reply With Quote
Old 21-11-2015, 20:37   #187
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: OpenCPN Beta test 4.1.1108 Release

Rick, you can try this install file: https://drive.google.com/file/d/0B-_...ew?usp=sharing
It is built from latest git and may work for you.
Latest git? Is it d7673fa Set upper bound on scaled vector chart text size?

I compiled that last and it failed with nmea data. Lets see what happens with this one tomorrow morning.
__________________
rgleason is offline   Reply With Quote
Old 22-11-2015, 00:06   #188
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,143
Re: OpenCPN Beta test 4.1.1108 Release

I have not been building on ARM for a while.

Tonight I built the latest and there was one big problem:

With OpenGL and texture compression caching turned on.

Raster charts are initially displayed OK, but then they are progressively blurred in rectangular sections until the whole chart is blurry.
__________________
NahanniV is offline   Reply With Quote
Old 22-11-2015, 01:18   #189
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: OpenCPN Beta test 4.1.1108 Release

Windows memory build up after "long" time use: OCPN hangs after eight hours.
The memory was built up from ~200 000 kB to 1 863 000 kB. See here and some posts forward for more details: OpenCPN Beta test 4.1.1108 Release

I think some storage is full after around eight hours since UDP data is lost, as BR24Radar_pi announce 07:45. The log says:
Code:
4:30:00 AM: LOGBOOK:  2015-11-22 03:30:00 UTC  GPS Lat   57.99805 Lon   11.75314 COG   27.50000 SOG   5.20 kts
5:00:00 AM: LOGBOOK:  2015-11-22 04:00:00 UTC  GPS Lat   58.00143 Lon   11.75620 COG   21.80000 SOG   5.30 kts
5:30:00 AM: LOGBOOK:  2015-11-22 04:30:00 UTC  GPS Lat   58.00480 Lon   11.75915 COG   27.20000 SOG   4.40 kts
6:00:00 AM: LOGBOOK:  2015-11-22 05:00:00 UTC  GPS Lat   58.00748 Lon   11.76125 COG   18.30000 SOG   3.50 kts
6:30:00 AM: LOGBOOK:  2015-11-22 05:30:00 UTC  GPS Lat   58.00958 Lon   11.76273 COG   18.30000 SOG   3.00 kts
7:00:00 AM: LOGBOOK:  2015-11-22 06:00:00 UTC  GPS Lat   57.98662 Lon   11.74115 COG   32.10000 SOG   4.60 kts
7:30:00 AM: LOGBOOK:  2015-11-22 06:30:00 UTC  GPS Lat   57.98985 Lon   11.74454 COG   25.60000 SOG   5.30 kts
7:45:23 AM: BR24radar_pi: Heading source is now HDT
7:45:24 AM:    ***GPS Watchdog timeout at Lat:58.006   Lon: 11.7602
7:45:33 AM: BR24radar_pi: Lost Heading data
7:45:37 AM: BR24radar_pi: Lost Boat Position data
8:00:00 AM: LOGBOOK:  2015-11-22 07:00:00 UTC  DR Lat   58.00602 Lon   11.76022
8:25:47 AM: Warning: Caught MainLoopException, continuing...
8:30:00 AM: LOGBOOK:  2015-11-22 07:30:00 UTC  DR Lat   58.00602 Lon   11.76022
8:35:51 AM: Warning: Caught MainLoopException, continuing...
8:39:53 AM: Warning: Caught MainLoopException, continuing...
8:39:53 AM: Warning: Caught MainLoopException, continuing...
8:39:53 AM: Warning: Caught MainLoopException, continuing...
8:39:53 AM: Warning: Caught MainLoopException, continuing...
8:39:53 AM: Warning: Caught MainLoopException, continuing...
>>>>Continuing for some seconds until hung.
The logged session is attached and the picture shows last memory usage, although in Swedish.
I still suspect the UDP connection?????
Håkan
Attached Thumbnails
Click image for larger version

Name:	activity.PNG
Views:	50
Size:	5.7 KB
ID:	113495  
Attached Files
File Type: pdf opencpn.log.pdf (22.0 KB, 8 views)
__________________
Hakan is offline   Reply With Quote
Old 22-11-2015, 05:35   #190
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: OpenCPN Beta test 4.1.1108 Release

Continuing Windows memory....
I've test the same issue on version 4.1.925 and there is no memory built up for else the same conditions?????
Håkan
__________________
Hakan is offline   Reply With Quote
Old 22-11-2015, 05:41   #191
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: OpenCPN Beta test 4.1.1108 Release

Dave..
re:"Hakan, Paul, et al...
We think we have the last "cm93 Grey box" regression resolved.
Please try the current github master, and let us know how it goes
"

Now also successfully tested on another Win10 and another XP though both with the Intel 965 graphic chipset.

Håkan
__________________
Hakan is offline   Reply With Quote
Old 22-11-2015, 05:59   #192
Registered User

Join Date: Oct 2014
Posts: 177
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by rgleason View Post
Paul. and Dan what version ocpn are you using? I believe I am using 4.1.1108. 5a4dcad Implement mag var.. Should I drop back?

PS: Updated to current repos. I am embarrassed to say that I did not copy the newest opencpn.lib from opencpn/build/release to opencpn/build and I think that may be the problem. opencpn.lib was from 11/16. - Will find out soon.
Rick,

Mostly I have been using my own builds of OpenCPN using "git pull" from the master on GitHub. When you asked this question (yesterday, 21 Nov), I was using the db55fce commit to verify that Dave and Sean had fixed the CM93 rendering problems were fixed. I build the install package for Win, and I make a parallel install. Then I install the VDR plugin using the vdr_pi-0.4-win32.exe installer from OpenCPN.org.

I have recently run Hakan's VDR with the Beta test 4.1.1108 Release from OpenCPN.org website and my builds on Nov. 14, 15, 19, 20, 21 and 22. The plugin works well with these.

Paul
__________________
.Paul. is offline   Reply With Quote
Old 22-11-2015, 06:10   #193
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,024
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by Hakan View Post
Continuing Windows memory....
I've test the same issue on version 4.1.925 and there is no memory built up for else the same conditions?????
Håkan
Håkan,

I have tried to duplicate this issue but cannot. The memory usage fluctuates up and down based on the displayed chart region and scale but never "runs away". I even wrote a VDR player that outputs the west coast of Sweden VDR file via UDP. What type of data are you receiving by UDP? Can you make a VDR file that I can test with? Perhaps it is data specific.
__________________
transmitterdan is offline   Reply With Quote
Old 22-11-2015, 06:24   #194
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: OpenCPN Beta test 4.1.1108 Release

I have downloaded the Opencpn Beta File DanT gave me and installed it overover my older versions of 4.1.1108.

This version still fails when running DanT python Nmea Server or VDR.
It is the same version as the one I compiled earlier which also failed.

The older Beta version on opencpn.org does not fail. I am going back to that, and I think I am going to quit this foolishness! Thanks for all your help.

Please see the attached file.
Attached Files
File Type: doc Nmea-Freezeups.doc (107.2 KB, 10 views)
__________________
rgleason is offline   Reply With Quote
Old 22-11-2015, 06:41   #195
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: OpenCPN Beta test 4.1.1108 Release

Just to be sure, I uninstalled Opencpn v4.1.1108 and reinstalled it (the one TDan provided) with a fresh install (not parallel).
Tested and it failed again!
Then to be doubly sure I disconnected from the internet. Disabled Norton Firewall and Antivirus and tried it again. It failed three times.

To be perfectly clear, I am using Win7 on a Dell Inspiron 15 XPS Laptop L502 and it is nothing unusual. I don't know why it would not work on my machine and work on others.

I am going back to the sandbox to play in a stable environment.
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn

Thread Tools
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 test 4.1.1022 Release bdbcat OpenCPN 122 07-11-2015 02:12
OpenCPN Beta test 4.1.925 Release bdbcat OpenCPN 177 04-11-2015 09:16
OpenCPN Beta test 4.1.602 Release bdbcat OpenCPN 193 13-10-2015 09:19
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 20:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 03:53



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:27.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.