Cruisers Forum
 


Closed Thread
  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 19-09-2010, 13:29   #106
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Looks like it will really be interesting this time
Just installed .918 over 2.1.0 stable on the eee with XP duct taped to the nav table without letting the installer delete the config. Got a crash in the installer itself, saying something about NSISBmps (looks like it tried to clean the mess before finishing with less success than expected), but got the latest beta running without any visible problems.
Will try to shake it a little more tomorrow while the boat will be moving again.

Pavel
nohal is offline  
Old 19-09-2010, 13:37   #107
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by JacoTux View Post
OpenCPN build 918 on Linux

when I activate the pluging DashboardWindows OpenCPN crashes with a segmentation fault.

Only if my USB receiver is plugged
I can confirm this, as long as I use a direct /dev/ttyUSB0, and don't use libgpsd. I'll FlySpray this one tomorrow.
Thomas
Attached Thumbnails
Click image for larger version

Name:	dash-grash1.png
Views:	185
Size:	51.7 KB
ID:	19433  
cagney is offline  
Old 19-09-2010, 16:48   #108
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
Hello all XP crashers....

OK, I get it. Maybe.

Demo PlugIn was removed from 918 build, since it really has no function in light of Dashboard. So, OpenCPN tried valiantly to load and initialize some old demo_pi.dll, and crashed. demo_pi.dll is the faulty code.

Workaround: delete "Program Files\opencpn\plugins\demo_pi.dll"

Real Solution: Implement an exception trap around all plugins, so that OCPN does not lose control on bad PlugIn code.

Sorry for the hiccup
Dave
bdbcat is online now  
Old 20-09-2010, 03:23   #109
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Quote:
Originally Posted by cagney View Post
I can confirm this, as long as I use a direct /dev/ttyUSB0, and don't use libgpsd. I'll FlySpray this one tomorrow.
Thomas
Hi Thomas,

Can you try to revert patch #12 of commit 2199ade2cf884c324cdeaa1965aae13699203855

SourceForge - opencpn/opencpn/commitdiff

I don't know why Dave changed this, I's required because NMEA0183 class differ between base OpenCPN & dashboard plugin but the compiler reuse the first one despite the changes producing a crash. Dunno if he found another workaround leading to the removal of this option.

Thanks for reporting.
SethDart is offline  
Old 20-09-2010, 20:28   #110
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
Sethdart....

Which changed line(s) are you referring to? There are a lot of changes in this diff...

Thanks
Dave
bdbcat is online now  
Old 21-09-2010, 00:28   #111
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Quote:
Originally Posted by bdbcat View Post
Sethdart....

Which changed line(s) are you referring to? There are a lot of changes in this diff...

Thanks
Dave
Hi Dave,

Sorry, I was not clear enough. Patch/chunk #12 in this commit is:
Code:
diff --git a/plugins/dashboard_pi/src/CMakeLists.txt b/plugins/dashboard_pi/src/CMakeLists.txt
index a76c2c3..81ed6fe 100644 (file)
--- a/plugins/dashboard_pi/src/CMakeLists.txt
+++ b/plugins/dashboard_pi/src/CMakeLists.txt
@@ -49,7 +49,7 @@ IF(NOT WIN32)
 
 ENDIF(NOT WIN32)
  
-SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
+#SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
  
  # Add some definitions to satisfy MS
  IF(WIN32)
SethDart is offline  
Old 21-09-2010, 06:21   #112
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
Sethdart....

Has this fix been tested?

Code:
SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
Maybe I am dense, but this code looks like it will do the same thing for linux:

Code:
IF(NOT WIN32)
 ADD_DEFINITIONS( "-Wall -g -fexceptions" )

 IF(NOT APPLE)
  SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
 ELSE(NOT APPLE)
  SET(CMAKE_SHARED_LINKER_FLAGS "-Wl")
 ENDIF(NOT APPLE)

ENDIF(NOT WIN32)
In my build logs, I see the proper flags for dashboard compile/link.
What is going on here?

Stumped
Dave
bdbcat is online now  
Old 21-09-2010, 06:34   #113
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Quote:
Originally Posted by bdbcat View Post
Has this fix been tested?
Not tested! :-( GNU/Linux only here :-) I noticed this code change and thought it might be related. In fact I did not noticed the previous Apple specific code change that make the latter redundant. Sorry for that.

I just compiled it from scratch and it works as expected on my GNU/Linux Fedora 13 x86
SethDart is offline  
Old 21-09-2010, 07:06   #114
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
Sethdart....

OK, lets reset.

What was the original complaint? What system/configuration? Can anybody reproduce this? Cagney, what is your status on this one?

Thanks
Dave
bdbcat is online now  
Old 21-09-2010, 12:13   #115
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by bdbcat View Post
Sethdart....

OK, lets reset.

What was the original complaint? What system/configuration? Can anybody reproduce this? Cagney, what is your status on this one?

Thanks
Dave
Dave

Still the same. Using a usb gps directly to /dev/ttyUSB0 the system crashes the moment (or just after) the dashboard is displayed.
New dump below. Just updated to latest git in case something has changed.

Thomas
Attached Thumbnails
Click image for larger version

Name:	dash-grash2.png
Views:	165
Size:	55.0 KB
ID:	19490  
cagney is offline  
Old 21-09-2010, 14:35   #116
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Quote:
Originally Posted by cagney View Post
Dave

Still the same. Using a usb gps directly to /dev/ttyUSB0 the system crashes the moment (or just after) the dashboard is displayed.
New dump below. Just updated to latest git in case something has changed.

Thomas
Hi Thomas,

Can you send me the full backtrace so I can track it down. I guess there's something wrong with the "wxString &sentence" received.

Thanks
SethDart is offline  
Old 22-09-2010, 08:56   #117
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by SethDart View Post
Hi Thomas,

Can you send me the full backtrace so I can track it down. I guess there's something wrong with the "wxString &sentence" received.

Thanks
Is this dump enough for you?
Attached Thumbnails
Click image for larger version

Name:	dash-grash3.png
Views:	187
Size:	39.9 KB
ID:	19513  
cagney is offline  
Old 28-09-2010, 09:16   #118
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
Just a gentle reminder:

If you have posted bug reports on Flyspray, please check your postings occasionally.

Especially, if your posted task has a status of "Implemented in Current Beta", then please retest the issue in your environment to validate the fix. Leave comments as appropriate, and request a task closure if the issue is resolved.

Some posters are doing this already, and I really appreciate it. (c.f. FS#97)

The object of this game is to (eventually) remove all issues from the Bug tracker, and advance to the next level....

Thanks
Dave
bdbcat is online now  
Old 28-09-2010, 11:54   #119
Registered User
 
manimaul's Avatar

Join Date: Feb 2008
Location: Seattle, WA
Posts: 416
Hello OpenCPN team,

I'm back from Alaska and am excited about spending more time on OpenCPN. I've been working really hard learning C++ so I can step up my level of contribution. It looks like development is still moving fast... wow! For now here is something simple I can add:

Flyspray #129 - attached is png/cpp to make the route manager icon match the rest.

Thomas, I'm taking assignment for this bug Flyspray #66.

Will
__________________
Marine Navigation for Android:
https://mxmariner.com
manimaul is offline  
Old 28-09-2010, 14:35   #120
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 336
Note sure if its a bug or a feature. 2.2 build 918 on ubuntu remix 10.4. Started OPCN with a route loaded. No problems. Then using the cursor to move the map and zoom and explore as always, I accidentally touched a waypoint of the given route and dragged it instead of the screen. Tested it again.

So, without activating the route or any routing features turned on it is possible to move waypoints of existing routes with the cursor, simply by clicking on them and dragging them to a new location. This is without any route editing features turned on. I think this is not a desired features..

Best regards and thanks

/ch
sailias is offline  
Closed 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
Beta Test / Technical bdbcat OpenCPN 2881 28-06-2024 02:46
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 11:52.


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.