Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 16-05-2014, 04:53   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Opencpn Beta 3.3.1713

3.3.1713
Have done a git pull and MSVC++ Clean, and full Rebuild (several times)
there is an instant Break that is persistant, something about a corrupted dll call... Unhandled exception at 0x00e9de8d in opencpn.exe: 0xC0000005: Access violation reading location 0x000000dc.

3.3.1715 Sean's Optimized
This seems to just quit with:
'opencpn.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x289c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x27d8) has exited with code -1 (0xffffffff).
Detected memory leaks!
Dumping objects ->
{2963} normal block at 0x02E8E790, 8 bytes long.
Data: < > 01 CD CD CD 18 01 00 00
..\src\chart1.cpp(917) : {2961} normal block at 0x02E7BE28, 4 bytes long.
Data: < > 90 E7 E8 02
Object dump complete.
The program '[10844] opencpn.exe: Native' has exited with code -1 (0xffffffff).

Is MSVC++ missing something or does it have a bad dll perhaps?

Attached are two docs with results from last night.
Attached Files
File Type: doc Opencpn331715-Sean-optimized.doc (8.6 KB, 60 views)
File Type: doc Opencpn331713.doc (9.5 KB, 61 views)
rgleason is offline   Reply With Quote
Old 16-05-2014, 05:32   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

3.3.1713
Tried Clean ALL_Build and Rebuild ALL_Build. Then Build > Build Solution
Now get the following errors:
32>Project not selected to build for this solution configuration
31>LINK : fatal error LNK1104: cannot open file '../../Debug/opencpn.lib'
30>LINK : fatal error LNK1104: cannot open file '../../Debug/opencpn.lib'
28>LINK : fatal error LNK1104: cannot open file '../../Debug/opencpn.lib'
27>LINK : fatal error LNK1104: cannot open file '../../Debug/opencpn.lib'
29>LINK : fatal error LNK1104: cannot open file '../../Debug/opencpn.lib'

And also cmake --build . shows an error for missing opencpn.exe
Have tried git fetch and git pull but that does not bring opencpn.exe and opencpn.lib down. I guess I need to force git to check all files and do that. Need to find the command.

git fetch --all
or git reset --hard origin/master
http://stackoverflow.com/questions/1...-files-on-pull
rgleason is offline   Reply With Quote
Old 16-05-2014, 06:11   #3
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Opencpn Beta 3.3.1713

I have kept my hands off from 3.3.1713 and 3.3.1715.
Too many dust right now. You will have to be patient.
3.3.1712 works however.

Gerhard
CarCode is online now   Reply With Quote
Old 16-05-2014, 07:05   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Opencpn Beta 3.3.1713

Gerhard....

3.3.1715 is OK as long as you don't do texture compression, at least so far for me. I have changed the code so that this function defaults "OFF".

You can enable it in options->display.

It is worth a test.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 16-05-2014, 08:09   #5
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Opencpn Beta 3.3.1713

Dave,

I see about 68 commits since 3.3.1712 and it will take some time for me because I will implement them step by step to not destroy my working code.
So please be patient.

Thank you.

Gerhard
CarCode is online now   Reply With Quote
Old 16-05-2014, 10:19   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Have now done a fresh git clone, cmake and MSVC++

git clone git://github.com/OpenCPN/OpenCPN.git opencpn-git2

CMD cd ...opencpn-git2
mkdir build
cmake .. (tinyxml library not found)
cmake --build . (see attached) 62 warnings 0 errors.
MSVC Build > Build Solution
Debug

Immediate Break
Immediate Break
Unhandled exception at 0x0141e1fd in opencpn.exe: 0xC0000005: Access violation reading location 0x000000dc.

See attached.

Both Sean's Optimized and Beta are doing this on my machine both with fresh git clones. I'd like to know what the problem is.
Attached Files
File Type: doc 3.3.1713-MSVC Output after fresh_git_clone.doc (24.9 KB, 61 views)
rgleason is offline   Reply With Quote
Old 17-05-2014, 12:25   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Sean's Optimized Opencpn
========
git fetch and cmake, then MSVC and it get immediate break still with:
Unhandled exception at 0x0067e1fd in opencpn.exe: 0xC0000005: Access violation reading location 0x000000dc.

Same output.

====
Opencpn Beta - most current
====
after git fetch and cmake, with MSVC
Unhandled exception at 0x00aede8d in opencpn.exe: 0xC0000005: Access violation reading location 0x000000dc.

====

Is it possible I need to reinstall MSVC?
I have two graphic cards, Intel Accelerated and NVIDIA Geforce.
I use only the NVIDIA, but is it possible something has changed with the GL drivers etc, due to Sean's optimizations?

If I go back to earlier version, say 3.3.1418 and find out that I don't get these immediate breaks, that will tell me it is Sean's Optimizations. It seems like everything is busting up here...

By the way, the cmake --build . --config release versions seem to work fine!!!
rgleason is offline   Reply With Quote
Old 17-05-2014, 12:40   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Tried an earlier version of Opencpn and got this.
===
First-chance exception at 0x01423ee6 in opencpn.exe: 0xC0000005: Access violation reading location 0x000000dc.
'opencpn.exe': Loaded 'C:\Windows\SysWOW64\apphelp.dll', Cannot find or open the PDB file
The program '[9376] opencpn.exe: Native' has exited with code 1 (0x1).
rgleason is offline   Reply With Quote
Old 17-05-2014, 23:21   #9
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Opencpn Beta 3.3.1713

What if you compile in debug mode? What if you run with the /no_opengl switch?

Better yet, wait 20 minutes and I'll have a commit that I believe fixes this.. at least if this binary works:

https://sourceforge.net/projects/ope..._experimental/
seandepagnier is offline   Reply With Quote
Old 18-05-2014, 05:38   #10
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Sean, I downloaded opencpn_3.3.1715_setup.exe
https://sourceforge.net/projects/ope..._experimental/

It is the similar to what I was testing earlier as compiled release, and with OpenGL off it is very responsive in zoom and scan and I find no resistance or slowness at all!
It was a bit jumpy at first, so I tried to Options > Charts > Loaded Charts Tab
Update and Scan Database -- it got hung up so there were some problems. Restarted the program and "Forced Full Database Rebuild" which ran through quickly and made pan and zoom even better with OpenGL not checked.

Then I checked OpenGL and it stopped responding. I picked to close the program and restarted it. I made sure the checks for Accelerated Graphics OpenGL >Options all were unchecked including Use Accel Panning, Texture Compression & Texture Compression Cache.

With OpenGL everything works fine I think but my mouse wheel is so sensitive the program zooms in and out a lot as I am trying to adjust, its quite incredible. Is there some way to adjust the sensitivity of the roller ball? - I think I need to go into the mouse settings for this change....

I think something hangs up when I check Accelerated Panning, but I don't really need that anyway because panning is very fast anyway. On a raspberry_pi it might be useful, but on this laptop these optimizations make it quite fluid. Bravo. Thank you. (more test later)

So to answer your question the Sourceforge v3.3.715 does work. I will git fetch again and see if my most favorite program MSVCC will agree to compile! (I don't know why I bash MS compiler, but I do. I really should resist.)

Thanks for your efforts!
rgleason is offline   Reply With Quote
Old 18-05-2014, 05:47   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Have NVIDIA Geforce GT 540M Driver Date 10/2/2012 v 9.18.13.697
with Intel HD Graphics Family Driver date 3.25.2011 v8.15.10.2342 but I have this turned off and use only the NVIDIA.

DELL Inspiron XPS 15 L502x Laptop
rgleason is offline   Reply With Quote
Old 18-05-2014, 07:10   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Okay, I've git fetched both Opencpn Beta and Opencpn Sean Optimized, done cmake with both ( 0 errors 0 warnings) and then MSVC build solution, then Debug.
Attached is the output from each, the Opencpn Chart window never opens, only get the Output in MSVC. Also the log file is not showing any entry for either version.

Also "cmake --build . --config release" completes with 0 errors 0 warnings. I need to try them next.

---I wonder if wxwidgets is corrupt or msvc corrupt, but the none debug version seems to run fine...? Really puzzled.
rgleason is offline   Reply With Quote
Old 18-05-2014, 07:43   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Compiled Release Opencpn 3.3.1715 Beta
and Compiled Release 3.3.1713 Sean's Optimized
using cmake --build . --config release
Then copied opencpn.exe from respective complies into my binary Opencpn directory. Then start it up and it runs fine. See attached logs.

Oh, they both work, but my mouse wheel is overly sensitive zooming in and out, even when set to one line. Is there a way to get finer control? Otherwise the shift+ and - work okay. with Both Accel Graphis checked (no options checked) and also accel graphics opengl unchecked.
Attached Files
File Type: doc Opencpn-Logs-compiled-release-331715and331713.doc (27.4 KB, 47 views)
rgleason is offline   Reply With Quote
Old 18-05-2014, 07:44   #14
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

So now I think I need to go back to something like v 3.3.1418 and see if this happens there with MSVC Debug.
rgleason is offline   Reply With Quote
Old 18-05-2014, 08:03   #15
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Opencpn Beta 3.3.1713

Mouse wheel sensitivity problem is more prominent with 3.3.1715 Beta than with 3.3.1713 Sean Optimized.
rgleason is offline   Reply With Quote
Reply

Tags
enc, opencpn


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 Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 02:53
OpenCPN Version 2.1.0 Beta bdbcat OpenCPN 1045 25-06-2010 10:09
OpenCPN Version 1.3.5 Beta Technical bdbcat OpenCPN 544 24-03-2010 10:34

Advertise Here


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


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.