Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-08-2014, 10:30   #61
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: OpenCPN Beta Version 3.3.1931 Released

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

OK, thanks to your crash dump report I have discovered the root cause of the problem you report.

We had a leak in GDIObjects, specifically Windows Regions. Windows has a hard limit of 10,000 GDI Objects per process, and fails ungracefully when the limit is reached.

We leaked about 1 Object per second, when an active GPS was showing ownship on the screen. Works out to about 3 hours, give or take. .............

New OCPN code in github master now.

Thanks
Dave
Very good, I think you made it. The code pulled today has now been running for about eight hours without any crash.
Many thanks.
Håkan
__________________

__________________
Hakan is offline   Reply With Quote
Old 07-08-2014, 23:14   #62
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 270
Re: OpenCPN Beta Version 3.3.1931 Released

not saved switching track record on the toolbar
__________________

__________________
Baikal is offline   Reply With Quote
Old 09-08-2014, 20:12   #63
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,398
Re: OpenCPN Beta Version 3.3.1931 Released

Code:
Build succeeded.

"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins\dashboard_pi\dashboar
d_pi.vcxproj" (default target) (8) ->
"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj" (default target) (10) ->
(ClCompile target) ->
  ..\src\Route.cpp(665): warning C4305: 'initializing' : truncation from 'double
' to 'float' [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]

  ..\src\Route.cpp(674): warning C4305: '-=' : truncation from 'double' to 'floa
t' [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
  ..\src\ais.cpp(751): warning C4305: '=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
  ..\src\ais.cpp(753): warning C4305: '=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
  ..\src\ais.cpp(755): warning C4305: '=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
  ..\src\ais.cpp(995): warning C4305: '+=' : truncation from 'double' to 'float'
 [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
  ..\src\ais.cpp(997): warning C4305: '-=' : truncation from 'double' to 'float'
 [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
  c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(632): warning C4005: 'M_PI' : macro redefinition [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]


"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\ALL_BUILD.vcxproj" (default t
arget) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins\dashboard_pi\dashboar
d_pi.vcxproj" (default target) (8) ->
  ..\..\..\plugins\dashboard_pi\src\baro_history.cpp(156): warning C4101: 'WindS
pdScale' : unreferenced local variable [C:\Data-Dart\Up-Soft\Navigation\opencpn-
git\build\plugins\dashboard_pi\dashboard_pi.vcxproj]
  ..\..\..\plugins\dashboard_pi\src\baro_history.cpp(155): warning C4101: 'val1'
 : unreferenced local variable [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\buil
d\plugins\dashboard_pi\dashboard_pi.vcxproj]
  ..\..\..\plugins\dashboard_pi\src\baro_history.cpp(259): warning C4101: 'dir' : unreferenced local variable [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins\dashboard_pi\dashboard_pi.vcxproj]

    11 Warning(s)
    0 Error(s)
__________________
rgleason is offline   Reply With Quote
Old 09-08-2014, 20:20   #64
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,398
Re: OpenCPN Beta Version 3.3.1931 Released

Code:
# Run command: "C:/Program Files (x86)/NSIS/makensis.exe" "C:/Data-Dart/Up-Soft/Navigation/opencpn-git/build/_CPack_Packages/win32/NSIS/project.nsi"
# Output: Processing config: C:\Program Files (x86)\NSIS\nsisconf.nsh

Processing script file: "C:/Data-Dart/Up-Soft/Navigation/opencpn-git/build/_CPack_Packages/win32/NSIS/project.nsi" (ACP)

----------------------------------------------------------------------

NSIS String Functions Header File 1.09 - Copyright 2004 Diego Pedroso

----------------------------------------------------------------------

 (C:\Program Files (x86)\NSIS\Include\StrFunc.nsh:52)

$ {StrLoc} - Copyright 2004 Diego Pedroso - Based on functions by Ximon Eighteen (macro:STRFUNC_FUNC:11)

warning: LangString "Installer_Unsupported_XP_SP_Version" set multiple times for 1029, wasting space (C:/Data-Dart/Up-Soft/Navigation/opencpn-git/buildwin/NSIS_Unicode/Include\Langstrings_NORWEGIAN.nsh:353)

Error: FileReadUTF16LE is only available when building a Unicode installer

Error in script "C:/Data-Dart/Up-Soft/Navigation/opencpn-git/build/_CPack_Packages/win32/NSIS/project.nsi" on line 1916 -- aborting creation process
project.nsi" on line 1916 -- aborting creation process

Code:
          ${Do}
                FileReadUTF16LE $R0 $R1
                ${If} $R1 == ""
                    Goto done1
I am using NSIS 3.0b now is that part of the problem?
__________________
rgleason is offline   Reply With Quote
Old 09-08-2014, 20:27   #65
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: OpenCPN Beta Version 3.3.1931 Released

Rick...
That NSIS 3.0 is your problem is pretty sure.

Pavel
__________________
nohal is offline   Reply With Quote
Old 10-08-2014, 20:22   #66
Registered User

Join Date: Mar 2009
Location: Currently in Malaysia
Boat: Valiant Esprit 37
Posts: 126
Re: OpenCPN Beta Version 3.3.1931 Released

Hi Dave!

I posted this on the Furuno GOS upload page but wasn't sure you saw it so I'm reposting here.

Sorry it took me so long to reply.

I've finally done a test with 3.3.1931 and I've got good news and bad news. The good news is that it appears to be communicating properly with the GPS. When the upload completes, the GPS beeps indicating it received the upload.

The bad news is that the format of the data being sent to the GPS has changed and it's causing a problem. The $GPRTE sentence is only including 2 waypoints per sentence. 3.31824 is working properly for me and it sends 7 per sentence. Furuno can only accept 4 $GPRTE sentences. My 10 waypoint route cause 5 $GPRTE sentences to be created and I'm almost certain that is the cause of the problem.

As for renaming route waypoints, I understand your concern. It's a damned if you do and damned if you don't situation. I'm sure in the future you'll get people claiming the Furuno upload doesn't work if they have waypoint names that exceed 6 characters or use lower case letters. Furuno users will have to understand the limitations of their GPS and learn to accommodate it.

In any event, I didn't realize I could reverse the route and get it to renumber the waypoints. I'm always moving forward, rarely back!

I also tested 1931 on my other ports and it still doesn't work. I don't believe it has anything to do with OpenCPN. I have my uploads working again with my one good port and I'll keep trying to research that and find the answer. Someone mentioned voltages as a possible issue. When I have time, I disconnect all ports and test them one at a time as the only connection to the GPS. I suspect I'll find the solution when I do that.

Let me know if you would like me to test again. I've attached 2 jpegs showing the NEMA outputs from the good upload(the first one) and the upload on 3.3.1931(the 2nd one).

Gene
Attached Thumbnails
Click image for larger version

Name:	Opencpn Furuno Upload Good.JPG
Views:	105
Size:	93.5 KB
ID:	86414   Click image for larger version

Name:	Opencpn Furuno Upload.JPG
Views:	99
Size:	96.3 KB
ID:	86415  

__________________
reflectionsv37 is offline   Reply With Quote
Old 11-08-2014, 20:35   #67
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,398
Re: OpenCPN Beta Version 3.3.1931 Released

Uninstalled NSIS 3.0b and reinstalled NSIS 2.46.
Git pull
cmake ..
cmake --build .
cpack

Result:
Invalid command: #LangString
!include: error in script: "C:/Data-Dart/Up-Soft/Navigation/opencpn-git/buildwin/NSIS_Unicode/Include\Langstrings_GERMAN.nsh" on line 1
Error in script "C:/Data-Dart/Up-Soft/Navigation/opencpn-git/build/_CPack_Packages/win32/NSIS/project.nsi" on line 648 -- aborting creation process

Line 648
!insertmacro MUI_LANGUAGE "German"
!include /NONFATAL "Langstrings_GERMAN.nsh"

Line 1 -C:\Data-Dart\Up-Soft\Navigation\opencpn-git\buildwin\NSIS_Unicode\Include\Langstrings_GERM AN.nsh
#LangString Installer ${LANG_ENGLISH} "installer"
LangString Installer ${LANG_GERMAN} "Installationsprogramm"
__________________
rgleason is offline   Reply With Quote
Old 11-08-2014, 20:44   #68
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,398
Re: OpenCPN Beta Version 3.3.1931 Released

cmake --build . --config release

Produced these warnings:
Quote:
Build succeeded.

"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\ALL_BUILD.vcxproj" (default t
arget) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins\dashboard_pi\dashboar
d_pi.vcxproj" (default target) (8) ->
"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj" (default tar
get) (10) ->
(ClCompile target) ->
..\src\Route.cpp(665): warning C4305: 'initializing' : truncation from 'double
' to 'float' [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]

..\src\Route.cpp(674): warning C4305: '-=' : truncation from 'double' to 'floa
t' [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
..\src\ais.cpp(751): warning C4305: '=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
..\src\ais.cpp(753): warning C4305: '=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
..\src\ais.cpp(755): warning C4305: '=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
..\src\ais.cpp(995): warning C4305: '+=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
..\src\ais.cpp(997): warning C4305: '-=' : truncation from 'double' to 'float'
[C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\opencpn.vcxproj]
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(632): wa
rning C4005: 'M_PI' : macro redefinition [C:\Data-Dart\Up-Soft\Navigation\opencp
n-git\build\opencpn.vcxproj]


"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\ALL_BUILD.vcxproj" (default t
arget) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins\dashboard_pi\dashboar
d_pi.vcxproj" (default target) (8) ->
..\..\..\plugins\dashboard_pi\src\baro_history.cpp (156): warning C4101: 'WindS
pdScale' : unreferenced local variable [C:\Data-Dart\Up-Soft\Navigation\opencpn-
git\build\plugins\dashboard_pi\dashboard_pi.vcxpro j]
..\..\..\plugins\dashboard_pi\src\baro_history.cpp (155): warning C4101: 'val1'
: unreferenced local variable [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\buil
d\plugins\dashboard_pi\dashboard_pi.vcxproj]
..\..\..\plugins\dashboard_pi\src\baro_history.cpp (259): warning C4101: 'dir'
: unreferenced local variable [C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build
\plugins\dashboard_pi\dashboard_pi.vcxproj]
11 Warning(s)
0 Error(s)
__________________
rgleason is offline   Reply With Quote
Old 11-08-2014, 20:47   #69
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: OpenCPN Beta Version 3.3.1931 Released

Rick...
It looks like your environment is still screwed up, the packaging works normally if your setup is according to the build instructions...

Pavel
__________________
nohal is offline   Reply With Quote
Old 12-08-2014, 12:29   #70
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
Re: OpenCPN Beta Version 3.3.1931 Released

I was running "phiggins" old AIS simulator on /dev/ttyS0. To do this you have to give yourself root privileges by means of sudo. O threw this dialog at me.

Click image for larger version

Name:	phig1.png
Views:	127
Size:	33.8 KB
ID:	86487

The simulator worked just fine without this bad advice.
I don't think that we want to advice anyone to join the "root" group .....

I know that this is an odd corner case. I'm probably the only one ever getting this message

Thomas
__________________
cagney is offline   Reply With Quote
Old 12-08-2014, 14:50   #71
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: OpenCPN Beta Version 3.3.1931 Released

Hello,

Quote:
Originally Posted by cagney View Post
I was running "phiggins" old AIS simulator on /dev/ttyS0. To do this you have to give yourself root privileges by means of sudo. O threw this dialog at me.

Attachment 86487

The simulator worked just fine without this bad advice.
I don't think that we want to advice anyone to join the "root" group .....

I know that this is an odd corner case. I'm probably the only one ever getting this message

Thomas
I also got this kind of message this summer with O 322 W 7 under.

I solved the problem by shutting down the PC and restarting the PC and O.

Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 13-08-2014, 03:24   #72
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: OpenCPN Beta Version 3.3.1931 Released

Hello Dave, Hello Mike, Hello Paul,

Here is a problem, a serious bug, which concerns OpenCPN but probably also the plugins Tcurrent and GE2KAP.

I had already encountered this problem this summer (GE2KAP V11)and this again with the release 3.3.1931.

I had installed 331931 and I added the plugin Tcurrent Mike. It works correctly.

Yesterday I added the plugin GE2KAP (V12). I tested GE2KAP in which there are bugs but I contacted Paul about it. I do not think the bug had to do with the problem I have also.

Since I installed and tested GE2KAP:
- I have a warning message to the O startup. See the screenshot copied on it.
- Icon plugin Tcurrent no longer appears in the icon bar of O.

THEN :

- I tried to disabled GE2KAP. The problem does not disappear.
- After disabling GE2KAP, I deleted the file ge2kap-pi.dll. The problem does not disappear.

I remember on my last similar test, I had great difficulty in getting rid of this problem. I expect was to have to uninstall all and, perhaps,clean the registry with CCleaner.

Best regards
Attached Thumbnails
Click image for larger version

Name:	2014-08-13_Error.jpg
Views:	74
Size:	10.1 KB
ID:	86529  
__________________
Gilletarom is offline   Reply With Quote
Old 13-08-2014, 07:26   #73
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: OpenCPN Beta Version 3.3.1931 Released

Hello Dave,

The chart bar is not below. Now, the chart bar is under the icon bar.

Note that simultaneously, I was running firefox, thunderbird, GE2KAP, GE and O. This was possible last year. Not now ....

See screen copy .
Attached Thumbnails
Click image for larger version

Name:	2014-08-13_OpenCPN 3.3.1931_Problem_with_TCurrent-GE2KAP_Chart-bar-is-up.jpg
Views:	91
Size:	42.8 KB
ID:	86543  
__________________
Gilletarom is offline   Reply With Quote
Old 13-08-2014, 07:37   #74
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Beta Version 3.3.1931 Released

Gilletarom...

I have never seen this message before. It is definitely not part of OpenCPN base code. Also not present in TCurrent PlugIn.

Some google search does not give much, but suggests that it relates to USB copy protection dongles. This makes me think of VisitMyHarbors chart stick. Or any other USB devices you may have.

Does this give you any ideas?

Thanks
Dave

By the way, I would like to see a copy of your logfile when in OpenGL mode on 3.3.1931, just to confirm your OpenGL environment is being detected correctly.
Thanks
__________________
bdbcat is offline   Reply With Quote
Old 13-08-2014, 07:41   #75
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: OpenCPN Beta Version 3.3.1931 Released

Hello Dave,

Maybe my logfile will be useful for you. Here join.

Gilletarom
Attached Files
File Type: doc opencpn.zip.doc (160.6 KB, 30 views)
__________________

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



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:51.


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.