Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 29-04-2011, 21:30   #46
Registered User

Join Date: Mar 2010
Location: Wandering around North America
Boat: Defever 43 - Gray Hawk
Posts: 602
Re: OpenCPN Version 2.4 Beta Build 423

I've been using 423 for some local travel in the gulf islands. The only bug I have seen is an occasional failure to display the track at higher zoom levels. I can't reproduce the problem but it happened twice in the last week. I zoomed in once to navigate a narrow channel and lost the track until I zoomed out again at which point it immediately reappeared. When it happened today I zoomed out, the track reappeared, zoomed in again and the track was still there.
__________________

__________________
bobofthenorth is offline   Reply With Quote
Old 29-04-2011, 21:37   #47
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN Version 2.4 Beta Build 423

Quote:
Originally Posted by HamishB View Post
Hi,

anyone else able to reproduce this regression since 412?

FS#428 : errant sprites along bottom of raster map in 2.4.423

thanks,
Hamish
trying(on XP,yet!)..I think I have it but it comes and goes ..usually a black line-I was lucky to catch this pretty blue one
Click image for larger version

Name:	Clipboardlowerblinking.jpg
Views:	66
Size:	155.7 KB
ID:	26765
__________________

__________________
HappySeagull is offline   Reply With Quote
Old 29-04-2011, 21:46   #48
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN Version 2.4 Beta Build 423

and after posting that,and closing the browser,returning to the still-open window OpenCPN is running in,it's morphed to this!
settings I have on are ONLY disable full screen quilting,show chart outlines,show depth units,show skewed raster Northup..if that helps..only mentioned because i was trying hard to get it but can't say if these make a diff yet-supper time!
Click image for larger version

Name:	Sprites.jpg
Views:	72
Size:	148.9 KB
ID:	26767
__________________
HappySeagull is offline   Reply With Quote
Old 30-04-2011, 06:20   #49
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: OpenCPN Version 2.4 Beta Build 423

I upgraded to 11.04 on my 64 bit box.
One of the easiest upgrades I have had, until..
I tested compiling OpenCPN. First I had this error
Quote:
[ 7%] Built target GARMINHOST
[ 7%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea.cpp.o
In file included from /home/thomas/Testing/GitOpenCPN/opencpn/src/nmea.cpp:52:0:
/home/thomas/Testing/GitOpenCPN/opencpn/include/nmea.h:51:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
Commenting out the fix from last year regarding glib's GSocket issue.
Line 47-53 in nmea.h
and
Line 42-49 in ais.h
made the code compile.
But trying to start resulted in an instant crash
Code:
 $ opencpn

*** buffer overflow detected ***: opencpn terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f15546631d7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd0f0)[0x7f15546620f0]
opencpn(_ZN8MyConfig12LoadMyConfigEi+0x6185)[0x51e745]
opencpn(_ZN5MyApp6OnInitEv+0x1c17)[0x49ac77]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x54)[0x7f1556e8f524]
opencpn(main+0x12)[0x480302]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f1554583eff]
opencpn[0x479c29]
======= Memory map: ========
....
....
Exactly the same result was "achieved" editing "CMakeLists.txt" instead.
Assuming that
Code:
 FIND_PACKAGE(GTK2 2.6)
did not work, I added
Code:
 IF(NOT WIN32)
 ...
   ADD_DEFINITIONS("`pkg-config --cflags --libs gtk+-2.0`")
ENDIF(NOT WIN32)
Compiling worked and I had the same error message as above when trying to start OpenCPN.

The 64 bit 423 deb package installs and runs without a problem.

Ideas anyone?

Thomas
__________________
cagney is offline   Reply With Quote
Old 30-04-2011, 06:23   #50
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 2.4 Beta Build 423

Hello XP crashers....

OK, time to do a little Windows crash dump debugging....

For those Windows XP users who have a semi-repeatable crash scenario, we can get some useful information regarding the stat of the sytem at crash time by doing the following.

Procedure:

0. Download a special debug version of opencpn.exe http://opencpn.de/sites/default/file...mp/opencpn.exe
hosting provided by Gunther (Netsurfer) Thanks.

1. Verify that drwtsn32.exe is available. Description of the Dr. Watson for Windows (Drwtsn32.exe) Tool
2. Configure drwtsn32.exe Start->Run drwtsn32
Set "Crash Dump Type" to "Full"
Take note of "Crash Dump" text entry box. This is where the crash dump will be stored. We need that later.
Also note that drwtsn32 is sticky, and will automatically be loaded at each reboot, providing a "just in time" debugger to catch application faults of many types. Non-intrusive otherwise.
3. Run OpenCPN, make it crash. Say "OK" to all crash report dialogs, except "Don't Send" to Microsoft
4. Get windbg.exe from Microsoft Debugging Tools for Windows 32-bit Version.
5. Run windbg
File->Open Crash Dump
Navigate to the crash dump save location recorded in Step 2 above, and open the dump file, generally called "user.dmp"
Churn, churn.... ignore warnings.
When able, do Windbg menu View->Call Stack

If you have downloaded the opencpn source files from sourceforge git repository, we can get even more information.
in Windbg, Set File->SourceFilePath to the ....\src directory of the opencpn source code tree.
You will see a bit of an OpenCPN source code file, with crash location highlighted. This is what we need to know.

6. Take a screenshot.
7. Post here, or send to me.

Thanks for the extra effort
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-04-2011, 07:15   #51
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 2.4 Beta Build 423

Thomas....

Does ddd give any info?

Stack trace indicates failure in config reading. This is unexpected.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-04-2011, 07:19   #52
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 2.4 Beta Build 423

Hello....

More on post 50.

Step 0. Forgot to state that the new debug version of opencpn should be copied into the folder currently containing opencpn, probably Program Files\opencpn\opencpn.exe. It should replace the existing version of opencpn.exe. No change in actual code, it just just includes the debug symbols in the .exe assembly for crash decoding.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-04-2011, 09:39   #53
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Version 2.4 Beta Build 423

This is the earlier mentioned effect of slow-moving the chart in follow-the-boat mode. A dashed line becomes thicker and thicker... every other move does move indeed, and every other one makes it thicker.

PS. The line is CTNARE (Caution Area). Also moving it around results in varied dashed or contiguous appearance.
Attached Thumbnails
Click image for larger version

Name:	before_rezoom.jpg
Views:	88
Size:	41.5 KB
ID:	26779   Click image for larger version

Name:	after_rezoom.jpg
Views:	86
Size:	41.0 KB
ID:	26780  

__________________
PjotrC is offline   Reply With Quote
Old 30-04-2011, 11:32   #54
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: OpenCPN Version 2.4 Beta Build 423

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

Does ddd give any info?

Stack trace indicates failure in config reading. This is unexpected.

Dave
Dave
Testing further with the compiled version where I changed CMakeLists.txt.
Part of it at least, is config. I deleted everything in the config directory except the SENC dir.
With this, the program starts and works normally (restarts OK) as long as I only loads RNC. Loading any kind of vector charts creates a crash.
Click image for larger version

Name:	crash1105.png
Views:	70
Size:	54.5 KB
ID:	26790

There are a lot of error messages from ddd/gdb about missing (non existing on my system) files, such as
Quote:
../nptl/sysdeps/unix/sysv/linux/raise.c
Check the bottom window. I had this in ddd even before the upgrade to 11.04 ?? I don't know, yet where this comes from.
I have also attached a gdb session. The new threads, in the beginning of the file, came from loading RNC charts. The buffer overflow came when loading vector charts.
gdb-run.txt.doc
Thomas

PS One possible reason for the problems could be the new version of gcc/g++??
__________________
cagney is offline   Reply With Quote
Old 01-05-2011, 11:31   #55
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: OpenCPN Version 2.4 Beta Build 423

In cm93.cpp line 1605, an error break was left active.

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 01-05-2011, 11:32   #56
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: OpenCPN Version 2.4 Beta Build 423

Quote:
Originally Posted by cagney View Post
I upgraded to 11.04 on my 64 bit box.
One of the easiest upgrades I have had, until..
I tested compiling OpenCPN. First I had this error


Commenting out the fix from last year regarding glib's GSocket issue.
Line 47-53 in nmea.h
and
Line 42-49 in ais.h
made the code compile.
But trying to start resulted in an instant crash
Code:
 $ opencpn

*** buffer overflow detected ***: opencpn terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f15546631d7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd0f0)[0x7f15546620f0]
opencpn(_ZN8MyConfig12LoadMyConfigEi+0x6185)[0x51e745]
opencpn(_ZN5MyApp6OnInitEv+0x1c17)[0x49ac77]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x54)[0x7f1556e8f524]
opencpn(main+0x12)[0x480302]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f1554583eff]
opencpn[0x479c29]
======= Memory map: ========
....
....
Exactly the same result was "achieved" editing "CMakeLists.txt" instead.
Assuming that
Code:
 FIND_PACKAGE(GTK2 2.6)
did not work, I added
Code:
 IF(NOT WIN32)
 ...
   ADD_DEFINITIONS("`pkg-config --cflags --libs gtk+-2.0`")
ENDIF(NOT WIN32)
Compiling worked and I had the same error message as above when trying to start OpenCPN.

The 64 bit 423 deb package installs and runs without a problem.

Ideas anyone?

Thomas
Dave

Digging a bit more.
At the very beginning of the build log
Code:
-- Some or all of the gtk libraries were not found. (missing:  GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
Looking further, this is a reported bug in Ubuntu 11.04, that the Ubuntu developers blame on Cmake.
It looks like we have to live with this for a while.

My hack fixing this starting at line 82 adding one line with pkg-config
Code:
 IF(NOT WIN32)
 ...
   ADD_DEFINITIONS("`pkg-config --cflags --libs gtk+-2.0`")
ENDIF(NOT WIN32)
This also makes (line ~ 100 )
Code:
 FIND_PACKAGE(GTK2 2.6)
 IF (GTK2_FOUND)
     INCLUDE_DIRECTORIES(${GTK2_INCLUDE_DIRS})
     ADD_DEFINITIONS(-DocpnUSE_GTK_OPTIMIZE)
     SET(EXTRA_LIBS ${EXTRA_LIBS} ${GTK2_LIBRARIES})
 ENDIF (GTK2_FOUND)
redundant. At least on my 64 bit Kubuntu 11.04.

Some how we need to put a temporary fix in for this condition, until either Ubuntu or Cmake, has fixed the problem.

Thomas
__________________
cagney is offline   Reply With Quote
Old 01-05-2011, 15:30   #57
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: OpenCPN Version 2.4 Beta Build 423

Dave..

Most features seems to work for me in Vista now but the Printer option does not.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 01-05-2011, 19:14   #58
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,046
Re: OpenCPN Version 2.4 Beta Build 423

Printing works here on XP, with an additional empty page coming out with every print.
__________________
LeaseOnLife is offline   Reply With Quote
Old 01-05-2011, 20:01   #59
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: OpenCPN Version 2.4 Beta Build 423

Printing also works here on Vista.
__________________
ChuckSK is offline   Reply With Quote
Old 02-05-2011, 00:00   #60
Registered User

Join Date: Mar 2010
Location: Göteborg, Sweden
Boat: Seamaster 700
Posts: 96
Send a message via Skype™ to balp
Re: OpenCPN Version 2.4 Beta Build 423

Quote:
Originally Posted by cagney View Post
Looking further, this is a reported bug in Ubuntu 11.04, that the Ubuntu developers blame on Cmake.
It looks like we have to live with this for a while.
The quick and dirty fix, patching FindGTK.cmake on the Ubuntu machine looks to work. Patch is in the ubuntu ticket. I don't think we should add work arounds for that bug. just yet....
__________________

__________________
balp is offline   Reply With Quote
Reply

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 Version 2.4 Beta Build 412 bdbcat OpenCPN 63 22-04-2011 19:19
OpenCPN Version 2.4 Beta Build 324 bdbcat OpenCPN 141 12-04-2011 15:15
OpenCPN Version 2.4 Beta Build 310 bdbcat OpenCPN 53 27-03-2011 12:05



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.