|
|
21-10-2015, 17:34
|
#166
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Beta test 4.1.925 Release
FFF,
If you want to debug crashes you need to set up your machine for building the program. This is not a process for newbies to software development. Under Visual Studio you can stop the program when it crashes and see what might have led to that point.
But really this is probably a problem with your system and most likely the video chip and/or software driver. The info in the log file can be a big help in debugging such problems.
I can run the latest beta for hours on Win10 without crashes.
|
|
|
21-10-2015, 23:14
|
#167
|
Registered User
Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,702
|
Re: OpenCPN Beta test 4.1.925 Release
What you might do with respect to the charts is as well to take an easier approach (manual --> install charts):
- erase the charts folder you have now
- install single folders for different sort of charts
\charts\cm93
\charts\rencs
\charts\encs
(and if you like for the NOAA regions subfolders)
and then start first installing just one type of charts. Test. Then another...
Also to isolate problem areas.
You can publish the log here attaching it (the paper clip from the editing window - rename it to .doc previously to avoid problems with the forum rules) or cut and paste parts from it directly in your post.
To make reading easier you might want to bracket the quote using delimiters:
either CODE or QUOTE starting a quote with [ quote] and closing it with [ /quote]" (without the " " after the opening "["). Same with CODE. Using code will avoid that code sequences are interpreted as emoticons.
Step by step....
And yes, what has been mentioned: OpenGL on an old PC with XP might give troubles. But let us isolate the "culprits" first.
|
|
|
22-10-2015, 11:59
|
#168
|
Registered User
Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
|
Re: OpenCPN Beta test 4.1.925 Release
FYI :
latest commits from today are causing some new compile warnings under Win7 / VC2013 ...
4> chcanv.cpp
4>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include \math.h(1298): warning C4005: 'M_PI' : macro redefinition
4> C:\data\wxWidgets-3.0.2\include\wx/math.h(21) : see previous definition of 'M_PI'
4>C:\git\OpenCPN\src\chcanv.cpp(3951): warning C4305: 'initializing' : truncation from 'double' to 'const float'
4> glChartCanvas.cpp
4>C:\git\OpenCPN\src\glChartCanvas.cpp(3619): warning C4305: '+=' : truncation from 'double' to 'float'
4> multiplexer.cpp
4> navutil.cpp
4> options.cpp
4> pluginmanager.cpp
4>C:\git\OpenCPN\src\pluginmanager.cpp(4906): warning C4273: 'wxEVT_DOWNLOAD_EVENT' : inconsistent dll linkage
4> c:\git\opencpn\include\ocpn_plugin.h(1128) : see previous definition of 'wxEVT_DOWNLOAD_EVENT'
4> routeman.cpp
4> routeprop.cpp
4> toolbar.cpp
4> viewport.cpp
4>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(1298): warning C4005: 'M_PI' : macro redefinition
4> C:\data\wxWidgets-3.0.2\include\wx/math.h(21) : see previous definition of 'M_PI'
Nothing serious, everything seems to work, but new ...
Thomas
|
|
|
22-10-2015, 16:45
|
#169
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,526
|
Re: OpenCPN Beta test 4.1.925 Release
Running a very recent version of 4.1.925 (git master cc57a1f )
Zoom into Mystic Ct with RNC Noaa after full rebuild of charts, and opencpn bombs.
It has happened quite reliably.
Could be a bad chart?
|
|
|
22-10-2015, 17:27
|
#170
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,526
|
Re: OpenCPN Beta test 4.1.925 Release
Here is the log
|
|
|
22-10-2015, 19:08
|
#171
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Beta test 4.1.925 Release
Quote:
Originally Posted by rgleason
Running a very recent version of 4.1.925 (git master cc57a1f )
Zoom into Mystic Ct with RNC Noaa after full rebuild of charts, and opencpn bombs.
It has happened quite reliably.
Could be a bad chart?
|
Rick,
Cannot reproduce this. Is there a particular coordinate at screen center that you can give?
If you think it is a corrupt chart file you can delete folder 13214 and rerun the chart downloader. BTW, several NOAA charts have been updated today.
|
|
|
24-10-2015, 18:25
|
#172
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,526
|
Re: OpenCPN Beta test 4.1.925 Release
Dan
Quote:
Cannot reproduce this. Is there a particular coordinate at screen center that you can give?
If you think it is a corrupt chart file you can delete folder 13214 and rerun the chart downloader. BTW, several NOAA charts have been updated today.
|
It happens in downloaded v4.1.1022 as well. It does not happen when OpenGL is turned on. When OpenGL is off
Coords: 41 21N 71 58 W
Chart: RNC Noaa 13215_1.kap (I seem to have two of these.)
Zoom in and out, then zoom in more, eventually it freezes, or Opencpn simply disappears (whoof!)
|
|
|
25-10-2015, 13:44
|
#173
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Beta test 4.1.925 Release
Quote:
Originally Posted by rgleason
Dan
It happens in downloaded v4.1.1022 as well. It does not happen when OpenGL is turned on. When OpenGL is off
Coords: 41 21N 71 58 W
Chart: RNC Noaa 13215_1.kap (I seem to have two of these.)
Zoom in and out, then zoom in more, eventually it freezes, or Opencpn simply disappears (whoof!)
|
I cannot reproduce this crash problem. However, I centered the display on approximately these coordinates and then zoomed in way over zoomed and then back out to see almost the whole continent and western Atlantic. There were times when the chart canvas went away entirely for a split second revealing the windows behind it. This is with OpenGL off. It could be that there is something happening that I cannot reproduce exactly perhaps due to differences in CPU speed, number of CPUs, memory size, GPU etc.
Most worrisome is that when I kept zooming in and out some "flag bit" became stuck and OpenCPN tried to render every raster chart on the whole eastern coast of the US. This put the program into "Not responding" mode. It was not dead, it was not using more than about 10% of cpu on a slow AMD A8 and about 150MB of memory. Other programs worked ok. Eventually I had to use task manager to kill O after waiting about 30 minutes. It was very strange to see all the east cost from Maine to the Keys displayed as one big RNC quilt.
I can't be sure but I suspect this might be some kind of bug in the Polyconic projection. There are one or two RNC small scale charts of the Great Lakes that are Polyconic. The corner of one is not far from the coordinates you give (maybe 500NM). So as you zoom in and out this chart gets added or taken away from the quilted group. As an experiment can you manually disable any RNC small scale (big area) charts that are Polyconic? You can do this with a right click on the piano keys. If the problem goes away then we have narrowed it a bit.
|
|
|
25-10-2015, 17:48
|
#174
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,526
|
Re: OpenCPN Beta test 4.1.925 Release
TDan,
The chart is USCG-01 31214_1.kap . All the bottom Chart buttons are Mercator.
I have been using a Chart Group with multiple USCG regions which created duplicates of charts which I thought might be causing the problem, so I simplified that to just USCG-01 for this test. Still fails and freezes when zoom out and into 590 (34x) at approxiimately those coords above. Have tried tuning of and on Disable full screen quiiting.- with failure both ways. Have tried Show Skewed charts north up on and off, still fails. On both v4.1.925 and v4.1.1022 with OpenGL off.
Now I just found out Opencpn was set to use Intel Integrated Graphics (How this changed I do not know.) I reset it to NVIDIA, but it is still happening! ---I don't think I have to reboot for this, because it is a program setup. Laptop has onboard Intel and NVidia adapter.
I don't think I am going to obsess over this problem any more.
PS: Did run chart downloader on all the files. Worked great, took awhile. Sometimes I would finish a download and the "Download" button message got corrupted and was on two lines. I would have to hit it twice to get it to download again. Then sometimes it would not download, just sit there. Closing the pluging and opening it again seemed to be the easiest way to get it working again. --Picky MSVC2013
|
|
|
25-10-2015, 18:30
|
#175
|
Registered User
Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
|
Re: OpenCPN Beta test 4.1.925 Release
Rick,
I have reproduced your crash. I put the crash dump info into the 1022 beta build thread. I hope Dave will look at it. I think this might be a rather serious problem.
|
|
|
26-10-2015, 03:22
|
#176
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,526
|
Re: OpenCPN Beta test 4.1.925 Release
Thanks TDan for finding and duplicating it
|
|
|
01-11-2015, 08:25
|
#177
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,387
|
Re: OpenCPN Beta test 4.1.925 Release
@TransmitterDan...
re:
"I have reproduced your crash. I put the crash dump info into the 1022 beta build thread. I hope Dave will look at it."
And I have. I found a clear memory corruption problem on non-OpenGL operation at high overzoom. It has been in there a little while, I think. It is corrected now, and will show up in the next Beta Release.
Thanks for your help in isolating this bug.
Dave
|
|
|
04-11-2015, 08:16
|
#178
|
Registered User
Join Date: Feb 2010
Posts: 619
|
Re: OpenCPN Beta test 4.1.925 Release
I've used OCPN 4.1.925 on a much larger than usual monitor: 2560x1600. On my simple laptop, NO OpenGL, 1280x800, no problems at all.
I attach the result of CM93 without OpenGL.
With Open GL enabled the stripes go away, but:
- the "empty" icons for waypoints become black squares
- the "dotting", "dashing" of routes looks quite different and takes a long time to see the effect of a change
- to see the effect of changing a font in WPT names one needs to edit and save once more one by one...
Sorry if already reported. 4.0.0 and S-57 same behaviour.
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|