Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-05-2011, 14:05   #61
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

Printing also works here on Vista....starting with a blanc page.
I was testing it printing to .pdf and as the first page was blanc,I
assumed the file was empty.

The page did not line up correcly though,and inch missing to the left and
a similar blanc space to the right and bottom of the map.

Tore
Attached Files
File Type: pdf Printing Chart Print.pdf (281.0 KB, 35 views)
__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 03-05-2011, 11:47   #62
Marine Service Provider
 
bdbcat's Avatar

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

Hello testers!

Status report:

As you may see from Flyspray tasklist, there are enough "Solution Pending" items that I would normally be ready for a new Beta about now. And I am, except....

I would very much like to get to the bottom of these occasional Windows crashes on cm93 quilted chart dragging. Experience indicates that if we declare this issue to be an "unknowable glitch" in 423, and issue a new Beta, the problem will be temporarily masked. The probability of reappearance in the 2.5 Release or later would then be high, IME.

I have posted a debug procedure in this thread for those who can reproduce the fault. OpenCPN Version 2.4 Beta Build 423

I ask that those who can do so, please try hard to reproduce and document this fault. To those who cannot, I beg your patience, please.

Thanks, and good luck
Dave
__________________

__________________
bdbcat is online now   Reply With Quote
Old 04-05-2011, 10:39   #63
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Version 2.4 Beta Build 423

Dave,
don't have anything for the crashes, but have a little rendering issue while moving a waypoint around. FS#423 or something similar? Icon at Free OpenCPN Icons
Also this icon shows pretty clearly the reason for which I wrote the patch in FS#390

Pavel
Attached Thumbnails
Click image for larger version

Name:	artifacts.png
Views:	89
Size:	3.6 KB
ID:	26958  
__________________
nohal is offline   Reply With Quote
Old 04-05-2011, 11:04   #64
Registered User

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

With a somewhat heavy conscience, I did check whether the panning issue on appending to route reported in Forums - Post 679471">Feature-IRJDSUNE9932123321222xxeww-Requests-IRJDSUNE9932123321222xxeww-Thread has anything to do with RenderRouteLegInfo() I added there...

It seems it is yet another difference between the binary 423 distribution and the GIT source for 423. My tally runs as follows:

- the layers gpx files location
- Polish locale strings location
- HARMONIC.IDX contents
- append to route panning behaviour
__________________
PjotrC is offline   Reply With Quote
Old 04-05-2011, 12:01   #65
Marine Service Provider
 
bdbcat's Avatar

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

PjotrC

Sorry, I am not following you.

Could you try to explain again?

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 05-05-2011, 04:41   #66
Registered User

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

Dave...

It must be my slip on the GIT then. I have 3 running OCPN 423: downloaded installation, locally built opencpn and locally built PACKAGE setup. I recompiled and indeed I get the same behaviour now for Append Waypoint to Route in all three 423.

Thanks for your attention and efforts!

Piotr
__________________
PjotrC is offline   Reply With Quote
Old 05-05-2011, 06:45   #67
Registered User

Join Date: May 2011
Posts: 2
Re: OpenCPN Version 2.4 Beta Build 423

Since Ubuntu 8.10 -D_FORTIFY_SOURCE=2 is enabled when compiling
with -O2 or higher[1]. OpenCPN "release" builds use -O3 and are
thus "fortified" [2]. The current (git repo) version causes a runtime
exception to be thrown around the potentially unsafe use of
strcpy in navutil.cpp:3041:

strcpy ( pOLE->OBJLName, sObj.mb_str() );

No compile time warning is given. Other occurrences of strcpy may
cause the same issue. I've had to define -U_FORTIFY_SOURCE as
CMAKE_CXX_FLAGS and CMAKE_C_FLAGS to disable the checks.

How to reproduce: Enable CM93 charts on release version built on
a recent Ubuntu (and likely other Linux variants). Restart application.

I am unfortunately not good enough a coder for replacing strcpy with
one of its safer alternatives.

[1] https://wiki.ubuntu.com/CompilerFlags
[2] Jakub Jelinek - [PATCH] Object size checking to prevent (some) buffer overflows
__________________

__________________
thenavigator 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 17:43.


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.