Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-06-2014, 09:53   #76
Marine Service Provider
 
bdbcat's Avatar

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

Rick...

Should not have to guess at this stuff.

Find the proper logfile.
1. Run your debug build until it crashes.
2. Using windows File find function, find all the possible logfiles.
3. The most recent one ( i.e. just a minute ago) is the one.
4. Take note of this location. You will need it often. Maybe a shortcut on the desktop will help. But be sure to close it if you open in an editor, before you run O again, so that it will be updated.

Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 28-06-2014, 13:41   #77
Registered User
 
rgleason's Avatar

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

Short memory?..
Quote:
Rick...
They did not get deleted. You have to copy them into your build directory to be able to run the not-installed debug builds as noted in Compiling - Windows | Official OpenCPN Homepage
Ended up copy and pasting uidata to two places
..opencpn-git/uidata
..opencpn-git/build/uidata

Then of course charts loaded in MSVC debug.
Yes, I'll do a search on *.log in ...opencpn-git and pick the most recent date/time.

Have more results next. Lunch
__________________

__________________
rgleason is online now   Reply With Quote
Old 28-06-2014, 15:01   #78
Registered User
 
rgleason's Avatar

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

Had to
copy ..opencpn-git/build/data/ (gshhs, sound, tcdata and s57data folders)
out to ..opencpn/build

Then I could see world gshhs and actually have charts. Why can't these stay in "data" it would be more intuitive. Then you just copy uidata and data into the various locations like build and build/release.

This change might help get more people doing debug!

Still see the reverse color in bsb. Had some errors and breaks but it was due to the data location.

With debug and opengl checked with texture and texture cache machine is slow for sure, would not want to use it this way. Much different running the release version, with same code, a totally different experience. Also under Debug with Opengl off is actuallly useable and not bad in terms of panning and zooming. It is the debug code and opengl calcs that really slows things down at first, then it gets better as texture cache is filled.

I forced some Full rebuild of charts. I am using the NVIDIA Gefore 540M card, I checked again. See attached breaks.

Don't know if this helps as charts may not have been set up correctly.
Attached Files
File Type: doc Break-MSVC-during Fulll Rebuild of Charts.doc (6.6 KB, 31 views)
File Type: doc Debug full scan -Coruppted.doc (6.6 KB, 21 views)
__________________
rgleason is online now   Reply With Quote
Old 28-06-2014, 15:31   #79
Registered User
 
rgleason's Avatar

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

Using Opengl with Texture and Texture Cache checked it is even slower and you must wait for processing (no moving the chart because it screws up saving to the cache) so it really seems slower or less free. Running this with Opengl, Texture and Texture Caching, in Debug mode is an awful lot to do and the computer feels like a lead weight, but be patient, it generally works...so far. ENC, BSB and CM93. Sometimes, actually fairly frequently, it is hard to get it to "catch" that there are charts than need rendering, even when you are zooming in. Then somehow it does catch on to the fact that it has work to do, and then the chart cannot be moved until the texture map is done. Be patient in the Debug - Opengl -Texture Cache mode.
__________________
rgleason is online now   Reply With Quote
Old 29-06-2014, 12:56   #80
Marine Service Provider
 
bdbcat's Avatar

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

Rick...

I understand that you are still getting some color reversal problems on your Windows build.

Will you try to run without Compression caching for a bit, and see if you can reproduce this?

The thing is this: If you got a color reversal (for whatever bug reason) while you were caching compressed textures, then that reversal will end up in the cache, and you will see it forever more.

So, as a test, try to run with compression enabled, but caching disabled.

Also, a note. The reason that Windows Debug build is so slow with compression enabled is that in Debug mode, Windows tries to do a very thorough job of checking all internal memory allocations to try to detect corruption. This can be very helpful in development, but is verrrry slow, as you notice.

You can run the Release mode in VS2010 GUI. It will give some information on a crash, although not as much as the Debug mode. But it runs at full speed, which is useful.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-06-2014, 01:56   #81
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: OpenCPN Beta Version 3.3.1824 Released

Having problems with GPSD and UDP since upgrade to 3.3.1824 using Pavels PPA.(Not suggesting this is the problem)

O worked for a while then when I try to add new GPSD with localhost and port 2947 it gives me an error message "you must enter the address"

Also when I try to enter UDP connection using 192.168.1.5 as my address, it saves it as 0.0.0.0.

Both can be see in the one screen shot.

Ubuntu 14.04 Xubuntu
Thanks
Redog
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 300614 - 17:36:40.png
Views:	98
Size:	196.3 KB
ID:	84164  
__________________
redog is offline   Reply With Quote
Old 30-06-2014, 07:37   #82
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 374
Re: OpenCPN Beta Version 3.3.1824 Released

Quote:
Originally Posted by redog View Post
O worked for a while then when I try to add new GPSD with localhost and port 2947 it gives me an error message "you must enter the address"

Also when I try to enter UDP connection using 192.168.1.5 as my address, it saves it as 0.0.0.0.
The second problem isn't a problem, it's simply OpenCPN being more honest with you. For input only UDP connections OpenCPN has always ignored whatever you stuck in that field and just listened on all addresses of all interfaces it has (a special address represented by zeros). The wiki needs to be updated to explain that and the lack of update is my fault which I hope to correct in the coming week.

Are you sure OpenCPN worked entering "localhost" for a GPSD network connection before? I didn't intentionally change anything GPSD-related (although not discounting having done so inadvertently). Try using "127.0.0.1" and see if that works instead of "localhost".
__________________
muttnik is offline   Reply With Quote
Old 30-06-2014, 16:00   #83
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: OpenCPN Beta Version 3.3.1824 Released

Muttnik
I remember following discussion about 0.0.0.0 , but was unaware it had been implemented. It does allow connection and information flow from other computer. All good on that matter.

Yes using 127.0.0.1 allows O to save connection but I don’t see any data flow in the NMEA Debug Window or get a position lock.

Further to this problem if I use localhost and then close the options window before closing the error window. When I do then close the error window O shuts down.

Another subtle difference is when I open the debug window, the try to bring the options window to the top, it won't let me.
I must close the debug window to get access to the options window.

I also notice that when you close the debug window with the X in top corner, that the tick box in the options window stays ticked.
I believe this has always been the way with old versions, so if it has been designed to not be able to see options window when debug window is open, a suggestion that the tick should disappear on closing the debug window.

Cheers Redog
__________________
redog is offline   Reply With Quote
Old 30-06-2014, 16:37   #84
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 374
Re: OpenCPN Beta Version 3.3.1824 Released

Not accepting a text name rather than an IP address I seem to have stupidly broken and will fix (thanks for spotting). I'll look at the data flow issue while I'm about it. I'm not very good with GUIs so am not optimistic about my ability to fix pre-existing layout issues.
__________________
muttnik is offline   Reply With Quote
Old 30-06-2014, 19:24   #85
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: OpenCPN Beta Version 3.3.1824 Released

Muttnik
Just confirming reinstalled old version of O and it functions as expected.
Localhost accepted and data flows.
Redog

Sent from my ME302C using Cruisers Sailing Forum mobile app
__________________
redog is offline   Reply With Quote
Old 01-07-2014, 07:45   #86
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Beta Version 3.3.1824 Released

Testing 3.3.1824 on my 10' W8.8 I got a reproducible crash
(openGL enable or disable )
With AIS - GPS connected and a dozen of targets
Open the target list, manipulate and exit by red cross = crash
A crash report has been sent
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 01-07-2014, 09:34   #87
Registered User
 
rgleason's Avatar

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

Most recent Opencpn 3.3.1824 compiles with just 30 warnings.
__________________
rgleason is online now   Reply With Quote
Old 01-07-2014, 10:18   #88
Registered User

Join Date: Feb 2011
Posts: 490
Re: OpenCPN Beta Version 3.3.1824 Released

OpenCPN 3.3.1824 works OK Windows 7 Ultimate.
__________________
P_Dub is offline   Reply With Quote
Old 01-07-2014, 11:26   #89
Registered User

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

O crashes after something like 10 - 15 minutes left to its own. Using the Baltic AIS feed (1022 targets) and CM93.

Click image for larger version

Name:	3.3.1824_crash.png
Views:	84
Size:	83.2 KB
ID:	84230

Thomas

PS

I'm using the up to date git code-base. The crash is repeatable.
__________________
cagney is offline   Reply With Quote
Old 01-07-2014, 14:09   #90
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Beta Version 3.3.1824 Released

More test still with my 10' net book W8.1
GPS connected via AIS. A route activated, a track activated but the boat was static. About a dozen of targets in the area.

After about 10-15 minutes manipulating ( zooming, dragging, opening AIS target query etc...) I got crashes
The second one I successfully took a screen shot (attached)
I was not proposed to send a crash report
I also attach the two logs
first crash
21:23:36: 2014-07-01
21:23:36: ------- Starting OpenCPN -------
21:23:36: Version 3.3.1824 Build 2014-06-24
21:23:36: wxWidgets version: wxWidgets 2.8.12
21:23:36: MemoryStatus: mem_total: 1476 mb, mem_initial: 9 mb
21:23:36: SData_Locn is C:\Program Files (x86)\OpenCPN\
21:23:36: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
21:23:36: Styles loading from C:\Program Files (x86)\OpenCPN\uidata\styles.xml
21:23:36: No styles found at: C:\ProgramData\opencpn\
21:23:36: No styles found at: C:\ProgramData\opencpn\.opencpn\
21:23:36: Setting Viewpoint Lat/Lon 42.2473, -8.7322
21:23:36: Setting Ownship Lat/Lon 42.2775, -8.7343
21:23:36: Applying NavObjChanges
21:23:36: System default Language: fr_FR
9:23:36 PM: Opencpn language set to: en_US
9:23:38 PM: ChartSymbols loaded from C:\Program Files (x86)\OpenCPN\s57data\chartsymbols.xml
9:23:39 PM: Using s57data in C:\Program Files (x86)\OpenCPN\s57data
9:23:39 PM: Setting Viewpoint Lat/Lon 42.2473, -8.7322
9:23:39 PM: Setting Ownship Lat/Lon 42.2775, -8.7343
9:23:39 PM: Opening NMEA Datastream Serial:COM3
9:23:39 PM: Creating glChartCanvas
9:23:39 PM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
9:23:39 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
9:23:39 PM: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
API Version detected: 106
PlugIn Version detected: 102
9:23:40 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\gribnew_pi.dll
9:23:40 PM: C:\Program Files (x86)\OpenCPN\plugins\gribnew_pi.dll
API Version detected: 107
PlugIn Version detected: 203
9:23:40 PM: OpenGL-> Renderer String: AMD Radeon HD 8180
9:23:40 PM: OpenGL-> Texture rectangle format: de1
9:23:40 PM: OpenGL-> Using Framebuffer Objects
9:23:40 PM: OpenGL-> Using FBO Stencil buffer
9:23:40 PM: OpenGL-> Using Stencil buffer clipping
9:23:40 PM: OpenGL-> Not Using compression
9:23:40 PM: ChartDB Cache policy: Application target is 738 MBytes
9:23:40 PM: Loading chart db version: V018
9:23:40 PM: Chartdb: Chart directory list follows
9:23:40 PM: Chart directory #0: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2009
9:23:40 PM: Chart directory #1: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011
9:23:40 PM: Chart directory #2: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ BSB3-shom
9:23:40 PM: Chart directory #3: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ BSB3-Cote-Atlantique
9:23:40 PM: Chart directory #4: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ BSB3-GE-North-Spain
9:23:41 PM: GPS Watchdog Timeout is: 6 sec.
9:23:41 PM: Initializing Chart C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\
9:23:41 PM: CM93Composite Chart Root is C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\
9:23:41 PM: Loaded CM93 Dictionary from C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\
9:23:41 PM: Loading CM93 cell C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\03901020/D/03961053.D
9:23:41 PM: Changing NMEA Datasource for GPRMC to Serial:COM3 (Priority: 1)
9:23:52 PM: Loading CM93 cell C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\03901020/E/03961053.E
9:24:38 PM: LOGBOOK: 2014-07-01 19:24:38 UTC GPS Lat 42.27754 Lon -8.73434 COG 13.10000 SOG 0.00 kts
9:28:54 PM: Loading Tide/Current data source: C:\Program Files (x86)\OpenCPN\tcdata\HARMONIC.IDX
9:28:55 PM: Loading Tide/Current data source: C:\Users\Jeanpierremartine\Documents\Bateau\Marees \HARMONIC_V8\HARMONIC.IDX
9:30:00 PM: LOGBOOK: 2014-07-01 19:30:00 UTC GPS Lat 42.27754 Lon -8.73433 COG 129.00000 SOG 0.00 kts
9:32:04 PM: Loading CM93 cell C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\03901020/F/03961053.F
9:41:47 PM: Loading CM93 cell C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\03901020/G/03961053.G

second crash
21:58:55: 2014-07-01
21:58:55: ------- Starting OpenCPN -------
21:58:55: Version 3.3.1824 Build 2014-06-24
21:58:55: wxWidgets version: wxWidgets 2.8.12
21:58:55: MemoryStatus: mem_total: 1476 mb, mem_initial: 9 mb
21:58:55: SData_Locn is C:\Program Files (x86)\OpenCPN\
21:58:55: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
21:58:55: Styles loading from C:\Program Files (x86)\OpenCPN\uidata\styles.xml
21:58:55: No styles found at: C:\ProgramData\opencpn\
21:58:55: No styles found at: C:\ProgramData\opencpn\.opencpn\
21:58:55: Setting Viewpoint Lat/Lon 42.2473, -8.7322
21:58:55: Setting Ownship Lat/Lon 42.2775, -8.7343
21:58:55: Applying NavObjChanges
21:58:55: System default Language: fr_FR
9:58:55 PM: Opencpn language set to: en_US
9:58:57 PM: ChartSymbols loaded from C:\Program Files (x86)\OpenCPN\s57data\chartsymbols.xml
9:58:58 PM: Using s57data in C:\Program Files (x86)\OpenCPN\s57data
9:58:58 PM: Setting Viewpoint Lat/Lon 42.2473, -8.7322
9:58:58 PM: Setting Ownship Lat/Lon 42.2775, -8.7343
9:58:58 PM: Opening NMEA Datastream Serial:COM3
9:58:58 PM: Creating glChartCanvas
9:58:58 PM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
9:58:58 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
9:58:58 PM: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
API Version detected: 106
PlugIn Version detected: 102
9:58:58 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\gribnew_pi.dll
9:58:58 PM: C:\Program Files (x86)\OpenCPN\plugins\gribnew_pi.dll
API Version detected: 107
PlugIn Version detected: 203
9:58:59 PM: OpenGL-> Renderer String: AMD Radeon HD 8180
9:58:59 PM: OpenGL-> Texture rectangle format: de1
9:58:59 PM: OpenGL-> Using Framebuffer Objects
9:58:59 PM: OpenGL-> Using FBO Stencil buffer
9:58:59 PM: OpenGL-> Using Stencil buffer clipping
9:58:59 PM: OpenGL-> Not Using compression
9:58:59 PM: ChartDB Cache policy: Application target is 738 MBytes
9:58:59 PM: Loading chart db version: V018
9:58:59 PM: Chartdb: Chart directory list follows
9:58:59 PM: Chart directory #0: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2009
9:58:59 PM: Chart directory #1: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011
9:58:59 PM: Chart directory #2: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ BSB3-shom
9:58:59 PM: Chart directory #3: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ BSB3-Cote-Atlantique
9:58:59 PM: Chart directory #4: C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ BSB3-GE-North-Spain
9:58:59 PM: GPS Watchdog Timeout is: 6 sec.
9:58:59 PM: Initializing Chart C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\
9:58:59 PM: CM93Composite Chart Root is C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\
9:58:59 PM: Loaded CM93 Dictionary from C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\
9:58:59 PM: Loading CM93 cell C:\Users\Jeanpierremartine\Documents\Bateau\Carte\ CM93ed2-2011\\03901020/D/03961053.D
9:59:01 PM: Changing NMEA Datasource for GPRMC to Serial:COM3 (Priority: 1)
9:59:56 PM: LOGBOOK: 2014-07-01 19:59:56 UTC GPS Lat 42.27754 Lon -8.73435 COG 129.00000 SOG 0.00 kts
Attached Thumbnails
Click image for larger version

Name:	crash.jpg
Views:	102
Size:	112.6 KB
ID:	84251  
__________________

__________________
Ptizef 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 06:52.


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.