Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 07-01-2023, 15:29   #61
Registered User

Join Date: Feb 2012
Posts: 61
Re: OpenCPN Version 5.7.1 Beta Test #2

Hi Dave and bcn

I tried your suggestion but simply are rejected files that exceed standard size.
However, I believe that the files already sent are sufficient to demonstrate the problems mentioned.

Regards

Carl
Alfange is offline   Reply With Quote
Old 07-01-2023, 16:30   #62
Registered User

Join Date: Oct 2022
Location: San Francisco Bay
Boat: Catalina 34
Posts: 30
Re: OpenCPN Version 5.7.1 Beta Test #2

Testing the latest (git master / Jan 7th) and overall looking good.



Great to see native N2K w/ can0 on my RPi4 working however getting a SIGSEGV when quiting/exiting. Only happens when can0 is enable in connections, otherwise looking good.



Priorities seem to work well though perhaps more need to be added as readings are flapping between my heading/attitude sensor and my 'smart' tri-speedo w/ attitude and depth.



Crashing on line 5108 in dashboard_pi.cpp (here's a snip of th e code, backtrace below)


void DashboardWindow::SendSentenceToAllInstruments(DASH _CAP st, double value, wxString unit) {
for (size_t i = 0; i < m_ArrayOfInstrument.GetCount(); i++) {
if (m_ArrayOfInstrument.Item(i)->m_cap_flag.test(st)) // *** this is line 5108 ****
m_ArrayOfInstrument.Item(i)->m_pInstrument->SetData(st, value, unit);
}
}


Backtrace:


(gdb) backtrace
#0 0xa3b65990 in std::bitset<33u>::_Unchecked_test(unsigned int) const (__pos=<optimized out>, this=<optimized out>)
at /usr/include/c++/10/bitset:1066
#1 std::bitset<33u>::test(unsigned int) const (__position=<optimized out>, this=<optimized out>)
at /usr/include/c++/10/bitset:1326
#2 DashboardWindow::SendSentenceToAllInstruments(DASH _CAP, double, wxString)
(this=this@entry=0x39aae58, st=st@entry=OCPN_DBP_STC_ALTI, value=-1.9099999999999999, unit=...)
at /root/build/OpenCPN/plugins/dashboard_pi/src/dashboard_pi.cpp:5108
#3 0xa3b65ad0 in dashboard_pi::SendSentenceToAllInstruments(DASH_CA P, double, wxString) (this=this@entry=
0x250c1d8, st=st@entry=OCPN_DBP_STC_ALTI, value=-1.9099999999999999, unit=...)
at /root/build/OpenCPN/plugins/dashboard_pi/src/dashboard_pi.cpp:914
#4 0xa3b75460 in dashboard_pi::HandleN2K_129029(ObservedEvt) (this=this@entry=0x250c1d8, ev=...)
at /root/build/OpenCPN/plugins/dashboard_pi/src/dashboard_pi.cpp:2059
#5 0xa3b759a4 in operator() (ev=..., __closure=<optimized out>)
at /root/build/OpenCPN/plugins/dashboard_pi/src/dashboard_pi.cpp:625
#6 wxEventFunctorFunctor<wxEventTypeTag<ObservedEvt>, dashboard_pi::Init()::<lambda(ObservedEvt)> >:perator()(wxEvtHandler *, wxEvent &) (this=<optimized out>, event=...) at /usr/include/wx-3.0/wx/event.h:537
#7 0xb658824c in wxEvtHandler::ProcessEventIfMatchesId(wxEventTable EntryBase const&, wxEvtHandler*, wxEvent&) ()
at /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0
#8 0xb6588740 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
at /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0
#9 0xb6588810 in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0
#10 0xb65888e0 in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0
#11 0xb65889ac in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0
#12 0xb65895d4 in wxEvtHandler::ProcessPendingEvents() () at /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0
#13 0xb6402fe0 in wxAppConsoleBase::ProcessPendingEvents() () at /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0
#14 0xb6762770 in wxApp:oIdle() () at /usr/lib/arm-linux-gnueabihf/libwx_gtk3u_core-3.0.so.0
#15 0xb6762868 in () at /usr/lib/arm-linux-gnueabihf/libwx_gtk3u_core-3.0.so.0
#16 0xb4c305d0 in g_main_context_dispatch () at /usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0
#17 0x00000000 in ()
sanner is offline   Reply With Quote
Old 07-01-2023, 16:54   #63
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Version 5.7.1 Beta Test #2

Sanner...
re:
"Priorities seem to work well though perhaps more need to be added as readings are flapping between my heading/attitude sensor and my 'smart' tri-speedo w/ attitude and depth."


More on this, please?
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 07-01-2023, 17:32   #64
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Version 5.7.1 Beta Test #2

ZuZa....
Let;s compare notes. Here is what I did on Win10:
1. Downloaded two GPX files from links supplied.
2. Move the files to OCPN "layers" folder.
3. Start OCPN 5.6.2. Layers are not shown, as expected and reported.
4. Start OCPN Beta#2. Layers are shown, without problem. Bug was evidently fixed earlier for OCPN 5.7.x.



Will you please reconfirm your results?
Anyone else?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 07-01-2023, 18:23   #65
Registered User

Join Date: Oct 2022
Location: San Francisco Bay
Boat: Catalina 34
Posts: 30
Re: OpenCPN Version 5.7.1 Beta Test #2

One example, I have two sensors that ouput PGN:127257
(attitude yawl/pitch/roll). dashboard_pi displays one value and then a moment later displays the other sensor's output - continually flapping back and forth between the two values (every second or so). Hope that helps. Thanks.
Quote:
Originally Posted by bdbcat View Post
Sanner...
re:
"Priorities seem to work well though perhaps more need to be added as readings are flapping between my heading/attitude sensor and my 'smart' tri-speedo w/ attitude and depth."


More on this, please?
Thanks
Dave
sanner is offline   Reply With Quote
Old 07-01-2023, 18:50   #66
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OpenCPN Version 5.7.1 Beta Test #2

Quote:
Originally Posted by rgleason View Post
P_dub

Hi. it is best to enter these suggestions into Tracker or they get lost. Thanks.

Done

https://opencpn.org/flyspray/index.p...s&task_id=2914
rgleason is online now   Reply With Quote
Old 08-01-2023, 10:08   #67
Registered User

Join Date: Feb 2012
Posts: 61
Re: OpenCPN Version 5.7.1 Beta Test #2

Thank you Dave

Well, the program is installed normally, but unfortunately when trying to start, before it is fully loaded OpenCPN crashes, so I can not open the software to check the Layers.

Thank you
Alfange is offline   Reply With Quote
Old 08-01-2023, 10:39   #68
Registered User

Join Date: Feb 2011
Posts: 1,108
Re: OpenCPN Version 5.7.1 Beta Test #2

opencpn_5.7.1+10.e05722f this last version crashes constantly after opening.
Thank you reverted to an older vesion.
P_Dub is offline   Reply With Quote
Old 08-01-2023, 13:01   #69
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: OpenCPN Version 5.7.1 Beta Test #2

Quote:
Originally Posted by bdbcat View Post
ZuZa....
Let;s compare notes. Here is what I did on Win10:
1. Downloaded two GPX files from links supplied.
2. Move the files to OCPN "layers" folder.
3. Start OCPN 5.6.2. Layers are not shown, as expected and reported.
4. Start OCPN Beta#2. Layers are shown, without problem. Bug was evidently fixed earlier for OCPN 5.7.x.

Will you please reconfirm your results?
Anyone else?
Thanks
Dave
Both supplied files are well shown as temporary layers on my Win10 using present Git master code.
Hakan is offline   Reply With Quote
Old 08-01-2023, 14:27   #70
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: OpenCPN Version 5.7.1 Beta Test #2

Quote:
Originally Posted by abarrow View Post
Linux Mint Mate 21.1 64 bit. Using the version from Launchpad (not Flatpak).

Crashes immediately after start.

try: sudo opencpn. So it works here (not the flatpak version) on my Mint Vanessa 64 bits.
verkerkbr is offline   Reply With Quote
Old 08-01-2023, 21:51   #71
Registered User

Join Date: Jun 2017
Posts: 404
Re: OpenCPN Version 5.7.1 Beta Test #2

There seems to be big memory leak in this version. I run it for about 5 days and it grew to 8GB.
top command was showing most of memory taken by OpenCPN.
I had to kill it.
mgrouch is offline   Reply With Quote
Old 09-01-2023, 04:40   #72
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 468
Re: OpenCPN Version 5.7.1 Beta Test #2

When a SAR AIS target goes undetected for a period the black line is not drawn perpendicular to the course as it is with others, but horizontally.
Attached Images
 
AedanC is offline   Reply With Quote
Old 09-01-2023, 06:29   #73
Registered User

Join Date: Jan 2012
Posts: 78
Re: OpenCPN Version 5.7.1 Beta Test #2

Quote:
Originally Posted by verkerkbr View Post
try: sudo opencpn. So it works here (not the flatpak version) on my Mint Vanessa 64 bits.
Yep! Works fine with root privs.
abarrow is offline   Reply With Quote
Old 09-01-2023, 07:12   #74
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Version 5.7.1 Beta Test #2

mgrouch...
"There seems to be big memory leak in this version"....


Windows? Linux? What platform?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 09-01-2023, 07:38   #75
Registered User

Join Date: Jun 2017
Posts: 404
Re: OpenCPN Version 5.7.1 Beta Test #2

Quote:
Originally Posted by bdbcat View Post
mgrouch...
"There seems to be big memory leak in this version"....


Windows? Linux? What platform?


Thanks
Dave


Raspberry pi OS Bullseye arm64.
mgrouch 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 Beta Version 5.7.1 Beta Test #1 - Plugins rgleason OpenCPN 115 08-03-2023 00:01
OpenCPN Version 5.1.511 Beta Test bdbcat OpenCPN 103 23-05-2020 04:02
OpenCPN Version 5.1.428 Beta Test bdbcat OpenCPN 289 19-05-2020 04:46
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

Advertise Here


All times are GMT -7. The time now is 08:44.


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.