Open Fgonzalez22 opened 3 months ago
I have just done a trial on Ubuntu and it appears to be working normally. If you export ODPoints to a file then delete the points you can re-import them from the OD Points tab and they show up as normal. If I do the same with Layers the OD Points are displayed, if they are temporary they will not exist in the next run of OCPN, if they are permanent they will be there but hidden. You have to select to see them. This is the default behavior. You can change this by going into 'Settings/plugins/OCPN Draw/Preferences' and selecting 'Show Layers'. This will make all the layers visible by default at startup, un-selected will make them all hidden at startup.
If your system is not doing that can you provide more information about the platform you are using and the version of OCPN and ODraw?
@.*** sent you OpenCPN Draw
1 item, 68.9 MB in total ・ Expires on 14 May, 2024
Message: report
1 item
IMG_3514.MOV - 68.9 MB
Get more out of WeTransfer, get Pro
About WeTransfer: https://wetransfer.com/about Help: https://wetransfer.zendesk.com/hc/en-us Legal: https://wetransfer.com/legal/terms
To make sure our emails arrive, please add @.*** to your contacts.
Hi Jon, thanks for your prompt reply. I’m running the latest Openplotter 3 / OpenCPN on a Rasbperry 4. All updates ok.
I have shared a videos via we transfer where you can see what’s going on.
When I import the OD points, in the second try they load, but when I close OpenCPN it doesn’t close normally. So next time I open It shows a warning it was not closed normally and the point are not there. This problem with closing opnCPN only occur after importing the points.
Regarding the Layers, thanks for the note, I will have into account I have to activate them each time.
Thanks Jon, Cheers
Fernando González del Solar
De: jongough @.*** Enviado el: martes, 7 de mayo de 2024 18:44 Para: jongough/ocpn_draw_pi CC: Fgonzalez22; Author Asunto: Re: [jongough/ocpn_draw_pi] OD Points and Layers (Issue #551)
I have just done a trial on Ubuntu and it appears to be working normally. If you export ODPoints to a file then delete the points you can re-import them from the OD Points tab and they show up as normal. If I do the same with Layers the OD Points are displayed, if they are temporary they will not exist in the next run of OCPN, if they are permanent they will be there but hidden. You have to select to see them. This is the default behaviour.
If your system is not doing that can you provide more information about the platform you are using and the version of OCPN and ODraw?
— Reply to this email directly, view it on GitHub https://github.com/jongough/ocpn_draw_pi/issues/551#issuecomment-2099360339 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQKHFWO5RJKSRF6U4UPPR3ZBFDLTAVCNFSM6AAAAABHLXRW5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGM3DAMZTHE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AMQKHFXKFS3EBN7APH6AS63ZBFDLTA5CNFSM6AAAAABHLXRW5SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT5EGZFG.gif Message ID: @.***>
I have just done a trial on a Pi3b+ using OCPN 5.8.4 and OD 1.8.46.0 on openplotter 2.* on Rasbian 11 bullseye and it appears to be working as expected. I can export ODPoints, import them as ODPoints, import them as a Layer, make the layer show after a restart (setting in ODraw properties/General tab). So at that point it is still working OK. Exactly what versions of OCPN and OD are you using on the Pi?
My system info is:
Installed: OpenCPN 5.8.4+8089+1637c28fb~ubuntu20.04.1
OCPN Draw 1.8.17.0
Just checked OCPN Preferences, and I saw I have: “Remove OCPN_Draw settings and restore to default on restart” set to YES. I guess that’s the default because I have never seen this menu, but just checking.
De: jongough @.*** Enviado el: martes, 7 de mayo de 2024 18:44 Para: jongough/ocpn_draw_pi CC: Fgonzalez22; Author Asunto: Re: [jongough/ocpn_draw_pi] OD Points and Layers (Issue #551)
I have just done a trial on Ubuntu and it appears to be working normally. If you export ODPoints to a file then delete the points you can re-import them from the OD Points tab and they show up as normal. If I do the same with Layers the OD Points are displayed, if they are temporary they will not exist in the next run of OCPN, if they are permanent they will be there but hidden. You have to select to see them. This is the default behaviour.
If your system is not doing that can you provide more information about the platform you are using and the version of OCPN and ODraw?
— Reply to this email directly, view it on GitHub https://github.com/jongough/ocpn_draw_pi/issues/551#issuecomment-2099360339 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQKHFWO5RJKSRF6U4UPPR3ZBFDLTAVCNFSM6AAAAABHLXRW5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGM3DAMZTHE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AMQKHFXKFS3EBN7APH6AS63ZBFDLTA5CNFSM6AAAAABHLXRW5SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT5EGZFG.gif Message ID: @.***>
The button is a little confusing. The actual setting is shown in brackets '(No)' with the button showing you what you want to change to 'Yes'. If you click the button 'Yes' it will change to 'No' and the text beside it will change to '(Yes)'. I will have to have a think about the wording to make it more clear.
Can you update to the same version of ODraw that I used, 1.8.46.0, and see if you still have the problem?
Thanks Jon! I will update. In opecpn plugin menu this is the only version available and I don’t see any option to get newer versions. Any suggestions on how to update?Fernando Gonzalez del SolarEnviado desde mi IphoneEl 8 may 2024, a la(s) 8:30 p. m., jongough @.***> escribió: The button is a little confusing. The actual setting is shown in brackets '(No)' with the button showing you what you want to change to 'Yes'. If you click the button 'Yes' it will change to 'No' and the text beside it will change to '(Yes)'. I will have to have a think about the wording to make it more clear. Can you update to the same version of ODraw that I used, 1.8.46.0, and see if you still have the problem?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
You need to update the plugin catalog
Then you should be able to update any plugin that is newer than the ones you have. For OD use 1.8.46.0 as I know that one works. The newer version has an issue on android because OCPN is not quite up to date on that platform and the latest version OD uses the newer facilities of OCPN that have not yet been released on some platforms(as far as I know).
Thanks Jon, I just updated as instructed. Rebooted raspi just in case. The mentioned problems persist. I have noticed something that at first didn’t concerned me much, but its not uncommon that while using the import, export, update option on OCPN DRAW, OCPN crashes. No specific patern I could identify. I heve uninstalled and installed again but the problem persists.
De: jongough @.*** Enviado el: jueves, 9 de mayo de 2024 1:37 Para: jongough/ocpn_draw_pi CC: Fgonzalez22; Author Asunto: Re: [jongough/ocpn_draw_pi] OD Points and Layers (Issue #551)
You need to update the plugin catalog image.png (view on web) https://github.com/jongough/ocpn_draw_pi/assets/2803240/e13e6d4f-39e8-4234-bcd6-033fcad4e969 Then you should be able to update any plugin that is newer than the ones you have. For OD use 1.8.46.0 as I know that one works. The newer version has an issue on android because OCPN is not quite up to date on that platform and the latest version OD uses the newer facilities of OCPN that have not yet been released on some platforms(as far as I know).
— Reply to this email directly, view it on GitHub https://github.com/jongough/ocpn_draw_pi/issues/551#issuecomment-2101917909 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQKHFR6VTQZSBB54HQ7OQTZBL4OFAVCNFSM6AAAAABHLXRW5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRHEYTOOJQHE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AMQKHFTEXBTNTVJDFSZCAK3ZBL4OFA5CNFSM6AAAAABHLXRW5SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT5JC4NK.gif Message ID: @.***>
I have just downloaded and installed the latest openplotter 3 arm64 package for a Pi 3B+. I have installed both OD 1.8.46.0 & 1.8.49.0 and they both work as expected. I can export and import GPX files, I and export the GPX and import into a layer and restart and that can both display at startup the layers or not, depending on the setting in the properties general tab. Installing 1.8.49.0 over 1.8.46.0 did cause OCPN to crash, not sure why, but on restart it worked fine.
So with a new openplotter image it all seems to work, so I am not sure what is going on with your implementation. Perhaps you could attach the OCPN log and config file to see if anything obvious stands out in them.
Hi Jon, sorry for the delay, I’ve been traveling
I send you my OCPN.conf and OPENCPN LOG.
The log consists of starting OCPN, importing OD Points, moment it crashes. Re-starting OCPN, importing OD points, not loading them, so re-importing ODs, the do load second time, and closing OCPN. Finally restarting OCPN to verify the imported OD points are not there.
Thanks for your help.
De: jongough @.*** Enviado el: viernes, 10 de mayo de 2024 19:01 Para: jongough/ocpn_draw_pi CC: Fgonzalez22; Author Asunto: Re: [jongough/ocpn_draw_pi] OD Points and Layers (Issue #551)
I have just downloaded and installed the latest openplotter 3 arm64 package for a Pi 3B+. I have installed both OD 1.8.46.0 & 1.8.49.0 and they both work as expected. I can export and import GPX files, I and export the GPX and import into a layer and restart and that can both display at startup the layers or not, depending on the setting in the properties general tab. Installing 1.8.49.0 over 1.8.46.0 did cause OCPN to crash, not sure why, but on restart it worked fine.
So with a new openplotter image it all seems to work, so I am not sure what is going on with your implementation. Perhaps you could attach the OCPN log and config file to see if anything obvious stands out in them.
— Reply to this email directly, view it on GitHub https://github.com/jongough/ocpn_draw_pi/issues/551#issuecomment-2105320930 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQKHFWS54VGSC23JPBLLH3ZBU7TLAVCNFSM6AAAAABHLXRW5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVGMZDAOJTGA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AMQKHFRXCDUEI6B44NCMCF3ZBU7TLA5CNFSM6AAAAABHLXRW5SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT5PSS6E.gif Message ID: @.***>
You will need to use github to attach the files so that I can see them. I have not received, nor can I see the files you say you have sent.
Here they go zipped!
Can you also provide the gpx files you are trying to load?
The loading of the layer OD objects appears to have worked on the first invocation. It looks like 38 OD points were loaded and 2 Paths, this correct? This happened at 12:03.09 and the last message from the app was at 12:04:33 whilst apparently doing AIS processing.
In all three runs OD did load up the OD points and Paths at startup. Not sure why they are not showing, but there is nothing in the log that says OD had a problem.
Attached the od objects file. In the first try, as soon as OCPN loaded de points, even before they showed in the objects window, OCPN closed/crashed. The same happend the first time i tried exporting them weeks before. After rebooting, OCPN loaded OD points but didn't show neither in the OD points window nor on the map. In the second attempt they did show, but disappeared next time I run OCPN.
I only have a Pi 3B+ and have tested with Openplotter 3 and do not have a problem. It 'may' be to do with the Pi 4, although that would seem strange.
There is only one item that may be confusing. If you import points into OD they will show up, if you import them again they are deleted. If they are imported a third time they will show up. The idea was to avoid duplicating points.
I have tried importing the OD Points, making a change to one of them the killing OCPN. On restart the OD points show up with the change made. I am trying to build a virtual Pi 4 so that I can test with something closer to what you are using, but it is a rather slow process.
If you are comfortable using a command prompt you could try to get a backtrace of the crash. This should show what actually was the last module in OCPN that was in use at the time of the crash.
To do this open a command prompt, type 'gdb opencpn' which will load opencpn in the debugger, the issue 'r' to run the program. Opencpn should startup and be runnable. Create the crash conditions and when it does crash issue 'bt' on the command prompt. This should show you a list of all the modules that are in the calling chain with the top most one being what actually crashed. If you can take a screenshot of that and put it up here that may help narrow down what is happening. 'quit' will terminate the gdb session.
Not sure if done correctly but im attaching the debug file until ocpn crashes opening od points. Debug.zip
Almost. When the error came up OCPN stopped, I think. At that point you need to issue the bt
command to get the back-trace showing the calling sequence up to the module that failed. One way to see if this is the error we are looking for is to just issue opencpn
from the command line and see when it crashes if the same error is reported, i.e. Thread 1 "opencpn" received signal SIGBUS, Bus error.
.
Also, have you tried turning off any other plugins so that OD is the only one running? If so, does this give the same error? Watchdog can/does interact with OD to determine if boundaries are being crossed, so that plugin should certainly be disabled or even uninstalled to be sure it is not having an effect (this will not loose its data, and can be reinstalled after the test). I also notice that you have a Paths.gpx
file that is loaded by OD. Can you provide that so I can have a look at it?
Almost. When the error came up OCPN stopped, I think. At that point you need to issue the
bt
command to get the back-trace showing the calling sequence up to the module that failed. One way to see if this is the error we are looking for is to just issueopencpn
from the command line and see when it crashes if the same error is reported, i.e.Thread 1 "opencpn" received signal SIGBUS, Bus error.
.Also, have you tried turning off any other plugins so that OD is the only one running? If so, does this give the same error? Watchdog can/does interact with OD to determine if boundaries are being crossed, so that plugin should certainly be disabled or even uninstalled to be sure it is not having an effect (this will not loose its data, and can be reinstalled after the test). I also notice that you have a
Paths.gpx
file that is loaded by OD. Can you provide that so I can have a look at it?
Uninstalled Watchdog and run bt after crash. Debug and paths files Paths.gpx.zip attached OCPN Debug.zip
I have tried the path.gpx and it works fine.
I deliberately created a crash in OD by dividing 1/0 in the OD event handler. For me this is the series of commands I issued:
dgb opencpn
run -p
this runs OCPN using the local directory for all the files used rather than the normal location for the user.
When the program crashed I issued bt
at the command prompt and the following is last section showing the backtrace:
[New Thread 0x7fffcf7fe640 (LWP 28660)]
[Thread 0x7fffcd004640 (LWP 28658) exited]
[Thread 0x7fffcf7fe640 (LWP 28660) exited]
[Thread 0x7fffee9ff640 (LWP 28659) exited]
[New Thread 0x7fffee9ff640 (LWP 28661)]
[New Thread 0x7fffcf7fe640 (LWP 28662)]
[Thread 0x7fffcf7fe640 (LWP 28662) exited]
[Thread 0x7fffee9ff640 (LWP 28661) exited]
Thread 1 "opencpn" received signal SIGFPE, Arithmetic exception.
0x00007fffcddb4fd3 in ODEventHandler::OnRolloverPopupTimerEvent (this=0x5555590a24b0, event=...) at /home/jon/opencpn/odraw/src/ODEventHandler.cpp:176
176 int k = i/j;
(gdb) bt
#0 0x00007fffcddb4fd3 in ODEventHandler::OnRolloverPopupTimerEvent(wxTimerEvent&) (this=0x5555590a24b0, event=...) at /home/jon/opencpn/odraw/src/ODEventHandler.cpp:176
#1 0x00007ffff7134426 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/local/lib/libwx_baseu-3.2.so.0
#2 0x00007ffff71348c6 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () at /usr/local/lib/libwx_baseu-3.2.so.0
#3 0x00007ffff7134c54 in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/local/lib/libwx_baseu-3.2.so.0
#4 0x00007ffff7134cff in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/local/lib/libwx_baseu-3.2.so.0
#5 0x00007ffff7134e01 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/local/lib/libwx_baseu-3.2.so.0
#6 0x00007ffff713661b in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/local/lib/libwx_baseu-3.2.so.0
#7 0x00007ffff7094274 in wxTimerImpl::SendEvent() () at /usr/local/lib/libwx_baseu-3.2.so.0
#8 0x00007ffff757c8d6 in timeout_callback () at /usr/local/lib/libwx_gtk3u_core-3.2.so.0
#9 0x00007ffff66bb2c8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff66bac44 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff67102b8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff66ba2b3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff4f4dd2d in gtk_main () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#14 0x00007ffff7567525 in wxGUIEventLoop::DoRun() () at /usr/local/lib/libwx_gtk3u_core-3.2.so.0
#15 0x00007ffff6ffda71 in wxEventLoopBase::Run() () at /usr/local/lib/libwx_baseu-3.2.so.0
#16 0x00007ffff6fc6ebf in wxAppConsoleBase::MainLoop() () at /usr/local/lib/libwx_baseu-3.2.so.0
#17 0x00007ffff7047b9a in wxEntry(int&, wchar_t**) () at /usr/local/lib/libwx_baseu-3.2.so.0
#18 0x000055555586c10c in main(int, char**) (argc=<optimised out>, argv=<optimised out>) at /home/jon/opencpn/OpenCPN-5.0/gui/src/ocpn_app.cpp:740
(gdb)
You can see it shows the last program that was executed first and the following lines show how it got there. This is the information I am after for your crash. I can then try and understand what is happening. In your case it will probably not look as detailed as this, but hopefully will provide some information.
Got it! Here it goes: `pi@openplotter:~ $ gdb opencpn GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from opencpn...
(No debugging symbols found in opencpn)
(gdb) r
Starting program: /usr/bin/opencpn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
[New Thread 0x7fe9d87bc0 (LWP 4149)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[New Thread 0x7fe9d87bc0 (LWP 4150)]
[Thread 0x7fe9d87bc0 (LWP 4149) exited]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[Thread 0x7fe9d87bc0 (LWP 4150) exited]
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
[New Thread 0x7fe9cdbbc0 (LWP 4151)]
[New Thread 0x7fe9cdbbc0 (LWP 4152)]
[Thread 0x7fe9cdbbc0 (LWP 4151) exited]
[Thread 0x7fe9cdbbc0 (LWP 4152) exited]
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib conf.c:5200:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
[New Thread 0x7fe9cdbbc0 (LWP 4153)]
[Thread 0x7fe9cdbbc0 (LWP 4153) exited]
[New Thread 0x7fe9cdbbc0 (LWP 4154)]
[Thread 0x7fe9cdbbc0 (LWP 4154) exited]
[New Thread 0x7fe9d87bc0 (LWP 4155)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[Thread 0x7fe9d87bc0 (LWP 4155) exited]
17:59:09: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
17:59:09: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
17:59:09: Debug: Device: 2: sysdefault
17:59:09: Debug: Device: 3: lavrate
17:59:09: Debug: Device: 4: samplerate
17:59:09: Debug: Device: 5: speexrate
17:59:09: Debug: Device: 6: pulse
17:59:09: Debug: Device: 7: upmix
17:59:09: Debug: Device: 8: vdownmix
17:59:09: Debug: Device: 9: dmix
17:59:09: Debug: Device: 10: default
17:59:09: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
17:59:09: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
17:59:09: Debug: Device: 2: sysdefault
17:59:09: Debug: Device: 3: lavrate
17:59:09: Debug: Device: 4: samplerate
17:59:09: Debug: Device: 5: speexrate
17:59:09: Debug: Device: 6: pulse
17:59:09: Debug: Device: 7: upmix
17:59:09: Debug: Device: 8: vdownmix
17:59:09: Debug: Device: 9: dmix
17:59:09: Debug: Device: 10: default
17:59:09: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
17:59:09: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
17:59:09: Debug: Device: 2: sysdefault
17:59:09: Debug: Device: 3: lavrate
17:59:09: Debug: Device: 4: samplerate
17:59:09: Debug: Device: 5: speexrate
17:59:09: Debug: Device: 6: pulse
17:59:09: Debug: Device: 7: upmix
17:59:09: Debug: Device: 8: vdownmix
17:59:09: Debug: Device: 9: dmix
17:59:09: Debug: Device: 10: default
17:59:09: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
17:59:09: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
17:59:09: Debug: Device: 2: sysdefault
17:59:09: Debug: Device: 3: lavrate
17:59:09: Debug: Device: 4: samplerate
17:59:09: Debug: Device: 5: speexrate
17:59:09: Debug: Device: 6: pulse
17:59:09: Debug: Device: 7: upmix
17:59:09: Debug: Device: 8: vdownmix
17:59:09: Debug: Device: 9: dmix
17:59:09: Debug: Device: 10: default
[Detaching after vfork from child process 4156]
[Detaching after vfork from child process 4158]
[Detaching after vfork from child process 4160]
[Detaching after vfork from child process 4162]
[Detaching after vfork from child process 4164]
[Detaching after vfork from child process 4166]
[Detaching after vfork from child process 4168]
[Detaching after vfork from child process 4170]
[Detaching after vfork from child process 4172]
[Detaching after vfork from child process 4173]
[New Thread 0x7fe9cdbbc0 (LWP 4174)]
[New Thread 0x7fe1a0dbc0 (LWP 4175)]
[Detaching after vfork from child process 4176]
[Detaching after vfork from child process 4177]
[Detaching after vfork from child process 4179]
[New Thread 0x7fe0ce6bc0 (LWP 4181)]
[New Thread 0x7fd4f64bc0 (LWP 4182)]
[Thread 0x7fd4f64bc0 (LWP 4182) exited]
GLEW init success!nGLEW init success!nGenerating RSA key...
Generating x509 certificate...
Writing key and certificate to disk...
Success!
[New Thread 0x7fd4f64bc0 (LWP 4183)]
[New Thread 0x7fcfffebc0 (LWP 4184)]
Local IPv4 address: 192.168.8.105
Opened 2 sockets for mDNS service
Service mDNS: opencpn-object-control-service.:8000
Hostname: openplotter
Sending announce
[New Thread 0x7fcf626bc0 (LWP 4185)]
Query PTR _ftp._tcp.local.
Query PTR _nfs._tcp.local.
Query PTR _afpovertcp._tcp.local.
Query PTR _smb._tcp.local.
Query PTR _sftp-ssh._tcp.local.
Query PTR _webdavs._tcp.local.
Query PTR _webdav._tcp.local.
Query PTR _ftp._tcp.local.
Query PTR _nfs._tcp.local.
Query PTR _afpovertcp._tcp.local.
Query PTR _smb._tcp.local.
Query PTR _sftp-ssh._tcp.local.
Query PTR _webdavs._tcp.local.
Query PTR _webdav._tcp.local.
Query PTR _ftp._tcp.local.
Query PTR _nfs._tcp.local.
Query PTR _afpovertcp._tcp.local.
Query PTR _smb._tcp.local.
Query PTR _sftp-ssh._tcp.local.
Query PTR _webdavs._tcp.local.
Query PTR _webdav._tcp.local.
Query PTR _ftp._tcp.local.
Query PTR _nfs._tcp.local.
Query PTR _afpovertcp._tcp.local.
Query PTR _smb._tcp.local.
Query PTR _sftp-ssh._tcp.local.
Query PTR _webdavs._tcp.local.
Query PTR _webdav._tcp.local.
Query PTR _ftp._tcp.local.
Query PTR _nfs._tcp.local.
Query PTR _afpovertcp._tcp.local.
Query PTR _smb._tcp.local.
Query PTR _sftp-ssh._tcp.local.
Query PTR _webdavs._tcp.local.
Query PTR _webdav._tcp.local.
[Thread 0x7fe0ce6bc0 (LWP 4181) exited]
[New Thread 0x7fe0ce6bc0 (LWP 4188)]
[New Thread 0x7fce8a1bc0 (LWP 4191)]
[Thread 0x7fce8a1bc0 (LWP 4191) exited]
[New Thread 0x7fce8a1bc0 (LWP 4193)]
[New Thread 0x7fce05cbc0 (LWP 4194)]
[New Thread 0x7fcd85bbc0 (LWP 4196)]
[Thread 0x7fe0ce6bc0 (LWP 4188) exited]
[Thread 0x7fcd85bbc0 (LWP 4196) exited]
--Type
Thread 1 "opencpn" received signal SIGBUS, Bus error. 0x00000000000012f1 in ?? () (gdb) bt
from /home/pi/.local/lib/opencpn/libocpn_draw_pi.so
from /home/pi/.local/lib/opencpn/libocpn_draw_pi.so
from /home/pi/.local/lib/opencpn/libocpn_draw_pi.so
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_gtk3u_core-3.0.so.0
--Type
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
--Type
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgtk-3.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgtk-3.so.0
--Type
from /lib/aarch64-linux-gnu/libglib-2.0.so.0
from /lib/aarch64-linux-gnu/libglib-2.0.so.0
from /lib/aarch64-linux-gnu/libwx_gtk3u_core-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
(gdb) RET Undefined command: "RET". Try "help". (gdb) `
I have created a debug version of OD for the Pi, you can find it here: https://cloudsmith.io/~opencpn/repos/ocpn_draw-alpha/packages/detail/raw/ocpn_draw_pi-1.8.49.4-android-arm64-16-android-arm64-tarball/1.8.49.4+7554.79ccfe4/
You will need to download it to your machine then go into settings/plugins/
and select import plugin...
button. You should then be able to import and install this version of OD. If the Import plugin...
button does not show up you will need to add CatalogExpert=1
to the OpenCPN config file under [PlugIns]
when OCPN is not running.
Then can you repeat the GDB test and put up the back trace. Thanks.
I have created a debug version of OD for the Pi, you can find it here: https://cloudsmith.io/~opencpn/repos/ocpn_draw-alpha/packages/detail/raw/ocpn_draw_pi-1.8.49.4-android-arm64-16-android-arm64-tarball/1.8.49.4+7554.79ccfe4/ You will need to download it to your machine then go into
settings/plugins/
and selectimport plugin...
button. You should then be able to import and install this version of OD. If theImport plugin...
button does not show up you will need to addCatalogExpert=1
to the OpenCPN config file under[PlugIns]
when OCPN is not running.Then can you repeat the GDB test and put up the back trace. Thanks.
Just to be sure, the file I should download is ocpn_draw_pi-1.8.49.4-android? because im running on a raspberry pi and it says android...
I have built the debian arm* files as well. You will find them on cloudsmith: https://cloudsmith.io/~opencpn/repos/ocpn_draw-alpha/packages/, pick the one you want, not xml files, and install that.
Im having trouble with the import, i have set catalogexpert=1 but when importing y get an incompatibillity message active setting: ubuntu-gtk3-arm64:20.04
I have created the install packages for alpha so that you don't have to do a local install. You will need to pick the 'Alpha' environment and reload the catalog. Then you should be able to install OD 1.8.49.4 on your system. The local install process requires that you pick the correct operating system or it will give the error you are getting.
I have downloaded the version you provided. But when i run debug opencpn from terminal i get an error. I paste it here:
pi@openplotter:~ $ gdb opencpn GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from opencpn... (No debugging symbols found in opencpn) (gdb) run -p Starting program: /usr/bin/opencpn -p [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.front.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM front ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround40.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround40 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround41 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround50 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround51 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround71.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround71 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline [New Thread 0x7fe9d87bc0 (LWP 3860)] Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [New Thread 0x7fe9d87bc0 (LWP 3861)] [Thread 0x7fe9d87bc0 (LWP 3860) exited] Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [Thread 0x7fe9d87bc0 (LWP 3861) exited] ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port [New Thread 0x7fe9cdbbc0 (LWP 3862)] [New Thread 0x7fe9cdbbc0 (LWP 3863)] [Thread 0x7fe9cdbbc0 (LWP 3862) exited] [Thread 0x7fe9cdbbc0 (LWP 3863) exited] ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=6,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0} ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card [New Thread 0x7fe9cdbbc0 (LWP 3864)] [Thread 0x7fe9cdbbc0 (LWP 3864) exited] [New Thread 0x7fe9cdbbc0 (LWP 3865)] [Thread 0x7fe9cdbbc0 (LWP 3865) exited] [New Thread 0x7fe9d87bc0 (LWP 3866)] Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [Thread 0x7fe9d87bc0 (LWP 3866) exited] 11:45:58: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:45:58: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:45:58: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:45:58: Debug: Device: 3: sysdefault 11:45:58: Debug: Device: 4: lavrate 11:45:58: Debug: Device: 5: samplerate 11:45:58: Debug: Device: 6: speexrate 11:45:58: Debug: Device: 7: pulse 11:45:58: Debug: Device: 8: upmix 11:45:58: Debug: Device: 9: vdownmix 11:45:58: Debug: Device: 10: dmix 11:45:58: Debug: Device: 11: default 11:45:58: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:45:58: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:45:58: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:45:58: Debug: Device: 3: sysdefault 11:45:58: Debug: Device: 4: lavrate 11:45:58: Debug: Device: 5: samplerate 11:45:58: Debug: Device: 6: speexrate 11:45:58: Debug: Device: 7: pulse 11:45:58: Debug: Device: 8: upmix 11:45:58: Debug: Device: 9: vdownmix 11:45:58: Debug: Device: 10: dmix 11:45:58: Debug: Device: 11: default 11:45:58: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:45:58: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:45:58: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:45:58: Debug: Device: 3: sysdefault 11:45:58: Debug: Device: 4: lavrate 11:45:58: Debug: Device: 5: samplerate 11:45:58: Debug: Device: 6: speexrate 11:45:58: Debug: Device: 7: pulse 11:45:58: Debug: Device: 8: upmix 11:45:58: Debug: Device: 9: vdownmix 11:45:58: Debug: Device: 10: dmix 11:45:58: Debug: Device: 11: default 11:45:58: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:45:58: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:45:58: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:45:58: Debug: Device: 3: sysdefault 11:45:58: Debug: Device: 4: lavrate 11:45:58: Debug: Device: 5: samplerate 11:45:58: Debug: Device: 6: speexrate 11:45:58: Debug: Device: 7: pulse 11:45:58: Debug: Device: 8: upmix 11:45:58: Debug: Device: 9: vdownmix 11:45:58: Debug: Device: 10: dmix 11:45:58: Debug: Device: 11: default [Detaching after vfork from child process 3867] [Detaching after vfork from child process 3869] [Detaching after vfork from child process 3871] [Detaching after vfork from child process 3873] [Detaching after vfork from child process 3875] [Detaching after vfork from child process 3877] [Detaching after vfork from child process 3879] [Detaching after vfork from child process 3881] [Detaching after vfork from child process 3883] [Detaching after vfork from child process 3884] [New Thread 0x7fe9cdbbc0 (LWP 3885)] [New Thread 0x7fe1a0dbc0 (LWP 3886)] [Detaching after vfork from child process 3887] [Detaching after vfork from child process 3888] [Detaching after vfork from child process 3890] [Thread 0x7fe9cdbbc0 (LWP 3885) exited] [Thread 0x7fea809040 (LWP 3857) exited] [Inferior 1 (process 3857) exited with code 01] (gdb) r Starting program: /usr/bin/opencpn -p [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.front.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM front ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround40.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround40 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround41 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround50 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround51 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround71.0:CARD=0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround71 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline [New Thread 0x7fe9d87bc0 (LWP 3896)] Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [Thread 0x7fe9d87bc0 (LWP 3896) exited] [New Thread 0x7fe9d87bc0 (LWP 3897)] Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [Thread 0x7fe9d87bc0 (LWP 3897) exited] ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port [New Thread 0x7fe9cdbbc0 (LWP 3898)] [Thread 0x7fe9cdbbc0 (LWP 3898) exited] [New Thread 0x7fe9cdbbc0 (LWP 3899)] [Thread 0x7fe9cdbbc0 (LWP 3899) exited] ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=6,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0} ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card [New Thread 0x7fe9cdbbc0 (LWP 3900)] [Thread 0x7fe9cdbbc0 (LWP 3900) exited] [New Thread 0x7fe9cdbbc0 (LWP 3901)] [Thread 0x7fe9cdbbc0 (LWP 3901) exited] [New Thread 0x7fe9d87bc0 (LWP 3902)] Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 11:46:17: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:46:17: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:46:17: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:46:17: Debug: Device: 3: sysdefault 11:46:17: Debug: Device: 4: lavrate 11:46:17: Debug: Device: 5: samplerate 11:46:17: Debug: Device: 6: speexrate 11:46:17: Debug: Device: 7: pulse 11:46:17: Debug: Device: 8: upmix 11:46:17: Debug: Device: 9: vdownmix 11:46:17: Debug: Device: 10: dmix 11:46:17: Debug: Device: 11: default [Thread 0x7fe9d87bc0 (LWP 3902) exited] 11:46:17: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:46:17: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:46:17: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:46:17: Debug: Device: 3: sysdefault 11:46:17: Debug: Device: 4: lavrate 11:46:17: Debug: Device: 5: samplerate 11:46:17: Debug: Device: 6: speexrate 11:46:17: Debug: Device: 7: pulse 11:46:17: Debug: Device: 8: upmix 11:46:17: Debug: Device: 9: vdownmix 11:46:17: Debug: Device: 10: dmix 11:46:17: Debug: Device: 11: default 11:46:17: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:46:17: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:46:17: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:46:17: Debug: Device: 3: sysdefault 11:46:17: Debug: Device: 4: lavrate 11:46:17: Debug: Device: 5: samplerate 11:46:17: Debug: Device: 6: speexrate 11:46:17: Debug: Device: 7: pulse 11:46:17: Debug: Device: 8: upmix 11:46:17: Debug: Device: 9: vdownmix 11:46:17: Debug: Device: 10: dmix 11:46:17: Debug: Device: 11: default 11:46:17: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0) 11:46:17: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0) 11:46:17: Debug: Device: 2: USB Audio Device: - (hw:3,0) 11:46:17: Debug: Device: 3: sysdefault 11:46:17: Debug: Device: 4: lavrate 11:46:17: Debug: Device: 5: samplerate 11:46:17: Debug: Device: 6: speexrate 11:46:17: Debug: Device: 7: pulse 11:46:17: Debug: Device: 8: upmix 11:46:17: Debug: Device: 9: vdownmix 11:46:17: Debug: Device: 10: dmix 11:46:17: Debug: Device: 11: default [Detaching after vfork from child process 3903] [Detaching after vfork from child process 3905] [Detaching after vfork from child process 3907] [Detaching after vfork from child process 3909] [Detaching after vfork from child process 3911] [Detaching after vfork from child process 3913] [Detaching after vfork from child process 3915] [Detaching after vfork from child process 3917] [Detaching after vfork from child process 3919] [Detaching after vfork from child process 3920] [New Thread 0x7fe9cdbbc0 (LWP 3921)] [New Thread 0x7fe1a0dbc0 (LWP 3922)] [Detaching after vfork from child process 3923] [Detaching after vfork from child process 3924] [Detaching after vfork from child process 3926] [Thread 0x7fe9cdbbc0 (LWP 3921) exited] [Thread 0x7fea809040 (LWP 3895) exited] [Inferior 1 (process 3895) exited with code 01] (gdb) bt No stack. (gdb) bt No stack. (gdb)
Restarted pi, and tryed again:
pi@openplotter:~ $ gdb opencpn GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from opencpn...
(No debugging symbols found in opencpn)
(gdb) r
Starting program: /usr/bin/opencpn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.front.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround40.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
[New Thread 0x7fe9d87bc0 (LWP 3501)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[New Thread 0x7fe9d87bc0 (LWP 3502)]
[Thread 0x7fe9d87bc0 (LWP 3501) exited]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[Thread 0x7fe9d87bc0 (LWP 3502) exited]
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
[New Thread 0x7fe9cdbbc0 (LWP 3503)]
[New Thread 0x7fe9cdbbc0 (LWP 3504)]
[Thread 0x7fe9cdbbc0 (LWP 3503) exited]
[Thread 0x7fe9cdbbc0 (LWP 3504) exited]
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=6,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
[New Thread 0x7fe9cdbbc0 (LWP 3505)]
[New Thread 0x7fe9cdbbc0 (LWP 3506)]
[Thread 0x7fe9cdbbc0 (LWP 3505) exited]
[Thread 0x7fe9cdbbc0 (LWP 3506) exited]
[New Thread 0x7fe9d87bc0 (LWP 3507)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
12:19:55: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
12:19:55: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:19:55: Debug: Device: 2: USB Audio Device: - (hw:3,0)
12:19:55: Debug: Device: 3: sysdefault
12:19:55: Debug: Device: 4: lavrate
12:19:55: Debug: Device: 5: samplerate
12:19:55: Debug: Device: 6: speexrate
12:19:55: Debug: Device: 7: pulse
12:19:55: Debug: Device: 8: upmix
12:19:55: Debug: Device: 9: vdownmix
12:19:55: Debug: Device: 10: dmix
12:19:55: Debug: Device: 11: default
12:19:55: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
12:19:55: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:19:55: Debug: Device: 2: USB Audio Device: - (hw:3,0)
12:19:55: Debug: Device: 3: sysdefault
12:19:55: Debug: Device: 4: lavrate
12:19:55: Debug: Device: 5: samplerate
12:19:55: Debug: Device: 6: speexrate
12:19:55: Debug: Device: 7: pulse
12:19:55: Debug: Device: 8: upmix
12:19:55: Debug: Device: 9: vdownmix
12:19:55: Debug: Device: 10: dmix
12:19:55: Debug: Device: 11: default
12:19:55: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
12:19:55: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:19:55: Debug: Device: 2: USB Audio Device: - (hw:3,0)
12:19:55: Debug: Device: 3: sysdefault
12:19:55: Debug: Device: 4: lavrate
12:19:55: Debug: Device: 5: samplerate
12:19:55: Debug: Device: 6: speexrate
12:19:55: Debug: Device: 7: pulse
12:19:55: Debug: Device: 8: upmix
12:19:55: Debug: Device: 9: vdownmix
12:19:55: Debug: Device: 10: dmix
12:19:55: Debug: Device: 11: default
12:19:55: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
12:19:55: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:19:55: Debug: Device: 2: USB Audio Device: - (hw:3,0)
12:19:55: Debug: Device: 3: sysdefault
12:19:55: Debug: Device: 4: lavrate
[Thread 0x7fe9d87bc0 (LWP 3507) exited]
12:19:55: Debug: Device: 5: samplerate
12:19:55: Debug: Device: 6: speexrate
12:19:55: Debug: Device: 7: pulse
12:19:55: Debug: Device: 8: upmix
12:19:55: Debug: Device: 9: vdownmix
12:19:55: Debug: Device: 10: dmix
12:19:55: Debug: Device: 11: default
[Detaching after vfork from child process 3508]
[Detaching after vfork from child process 3510]
[Detaching after vfork from child process 3512]
[Detaching after vfork from child process 3514]
[Detaching after vfork from child process 3516]
[Detaching after vfork from child process 3518]
[Detaching after vfork from child process 3520]
[Detaching after vfork from child process 3522]
[Detaching after vfork from child process 3524]
[Detaching after vfork from child process 3525]
[New Thread 0x7fe9cdbbc0 (LWP 3526)]
[New Thread 0x7fe1a0dbc0 (LWP 3527)]
[Detaching after vfork from child process 3528]
[Detaching after vfork from child process 3529]
[Detaching after vfork from child process 3531]
[New Thread 0x7fe0ce6bc0 (LWP 3533)]
[New Thread 0x7fd4f64bc0 (LWP 3534)]
[Thread 0x7fd4f64bc0 (LWP 3534) exited]
GLEW init success!nGLEW init success!nGenerating RSA key...
Generating x509 certificate...
Writing key and certificate to disk...
Success!
[New Thread 0x7fd4f64bc0 (LWP 3535)]
[New Thread 0x7fcfffebc0 (LWP 3536)]
Local IPv4 address: 192.168.8.105
Opened 2 sockets for mDNS service
Service mDNS: opencpn-object-control-service.:8000
Hostname: openplotter
Sending announce
[New Thread 0x7fcf71dbc0 (LWP 3537)]
[Thread 0x7fe0ce6bc0 (LWP 3533) exited]
[New Thread 0x7fe0ce6bc0 (LWP 3740)]
[New Thread 0x7fce8e1bc0 (LWP 3741)]
Query PTR _googlecast._tcp.local.
Query PTR _googlecast._tcp.local.
[Thread 0x7fe0ce6bc0 (LWP 3740) exited]
Query PTR _googlecast._tcp.local.
Query PTR _googlecast._tcp.local.
Query PTR _googlecast._tcp.local.
Query PTR _googlecast._tcp.local.
[New Thread 0x7fe0ce6bc0 (LWP 3744)]
[New Thread 0x7fce0e0bc0 (LWP 3746)]
[New Thread 0x7fcd8dfbc0 (LWP 3750)]
[New Thread 0x7fcd0debc0 (LWP 3751)]
[Thread 0x7fce8e1bc0 (LWP 3741) exited]
[Thread 0x7fcd8dfbc0 (LWP 3750) exited]
[Thread 0x7fe0ce6bc0 (LWP 3744) exited]
[New Thread 0x7fe0ce6bc0 (LWP 3753)]
Query PTR _victron-car-charger._tcp.local.
Query PTR _victron-energy-meter._udp.local.
[Thread 0x7fe0ce6bc0 (LWP 3753) exited]
[New Thread 0x7fe0ce6bc0 (LWP 3757)]
[Thread 0x7fcd0debc0 (LWP 3751) exited]
Query PTR _http._tcp.local.
Query PTR _http._tcp.local.
Query PTR _http._tcp.local.
--Type
Thread 1 "opencpn" received signal SIGSEGV, Segmentation fault. 0x0000007ff721a9e8 in wxString::compare(wchar_t const*) const () from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0 (gdb) bt
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
pwz=0x7fcee8a548 L"Text Point") at /usr/include/wx-3.0/wx/string.h:2109
at /usr/include/wx-3.0/wx/string.h:3985
this=0x5558bff6a0, event=...) at /ci-source/src/ODEventHandler.cpp:367
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
--Type
from /lib/aarch64-linux-gnu/libwx_gtk3u_core-3.0.so.0
from /lib/aarch64-linux-gnu/libglib-2.0.so.0
from /lib/aarch64-linux-gnu/libglib-2.0.so.0
from /lib/aarch64-linux-gnu/libwx_gtk3u_core-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
I have put up a new version, 1.8.49.5, which should put out a little bit more debugging information, i.e. the ODPoint type and the GUID associated with it. Can you install this and run in debugging mode again and put up the gdb backtrace and the messages that should look something like this:
Sat Jun 1 12:29:24 2024 :: pp->m_sTypeString: Boundary Point GUID: 433d8ba7-273d-4da0-a3b0-78901a701a10
Sat Jun 1 12:29:28 2024 :: pp->m_sTypeString: Boundary Point GUID: 433d8ba7-273d-4da0-a3b0-78901a701a10
Sat Jun 1 12:29:29 2024 :: pp->m_sTypeString: Boundary Point GUID: 6b7ac67f-0dea-4e63-acd0-3a6d52123eac
Sat Jun 1 12:29:29 2024 :: pp->m_sTypeString: Boundary Point GUID: 7366bb90-4142-45ae-9c80-8f1d1e6e5287
Ok, not sure if it came differently, here the new gdb
pi@openplotter:~ $ gdb opencpn GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from opencpn...
(No debugging symbols found in opencpn)
(gdb) r
Starting program: /usr/bin/opencpn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.front.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround40.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
[New Thread 0x7fe9d87bc0 (LWP 3114)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[New Thread 0x7fe9d87bc0 (LWP 3115)]
[Thread 0x7fe9d87bc0 (LWP 3114) exited]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[Thread 0x7fe9d87bc0 (LWP 3115) exited]
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
[New Thread 0x7fe9cdbbc0 (LWP 3116)]
[New Thread 0x7fe9cdbbc0 (LWP 3117)]
[Thread 0x7fe9cdbbc0 (LWP 3116) exited]
[Thread 0x7fe9cdbbc0 (LWP 3117) exited]
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=6,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
[New Thread 0x7fe9cdbbc0 (LWP 3118)]
[Thread 0x7fe9cdbbc0 (LWP 3118) exited]
[New Thread 0x7fe9cdbbc0 (LWP 3119)]
[Thread 0x7fe9cdbbc0 (LWP 3119) exited]
[New Thread 0x7fe9d87bc0 (LWP 3120)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
12:38:00: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
[Thread 0x7fe9d87bc0 (LWP 3120) exited]
12:38:00: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:38:00: Debug: Device: 2: USB Audio Device: - (hw:2,0)
12:38:00: Debug: Device: 3: sysdefault
12:38:00: Debug: Device: 4: lavrate
12:38:00: Debug: Device: 5: samplerate
12:38:00: Debug: Device: 6: speexrate
12:38:00: Debug: Device: 7: pulse
12:38:00: Debug: Device: 8: upmix
12:38:00: Debug: Device: 9: vdownmix
12:38:00: Debug: Device: 10: dmix
12:38:00: Debug: Device: 11: default
12:38:00: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
12:38:00: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:38:00: Debug: Device: 2: USB Audio Device: - (hw:2,0)
12:38:00: Debug: Device: 3: sysdefault
12:38:00: Debug: Device: 4: lavrate
12:38:00: Debug: Device: 5: samplerate
12:38:00: Debug: Device: 6: speexrate
12:38:00: Debug: Device: 7: pulse
12:38:00: Debug: Device: 8: upmix
12:38:00: Debug: Device: 9: vdownmix
12:38:00: Debug: Device: 10: dmix
12:38:00: Debug: Device: 11: default
12:38:00: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
12:38:00: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:38:00: Debug: Device: 2: USB Audio Device: - (hw:2,0)
12:38:00: Debug: Device: 3: sysdefault
12:38:00: Debug: Device: 4: lavrate
12:38:00: Debug: Device: 5: samplerate
12:38:00: Debug: Device: 6: speexrate
12:38:00: Debug: Device: 7: pulse
12:38:00: Debug: Device: 8: upmix
12:38:00: Debug: Device: 9: vdownmix
12:38:00: Debug: Device: 10: dmix
12:38:00: Debug: Device: 11: default
12:38:00: Debug: Device: 0: bcm2835 Headphones: - (hw:0,0)
12:38:00: Debug: Device: 1: vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:1,0)
12:38:00: Debug: Device: 2: USB Audio Device: - (hw:2,0)
12:38:00: Debug: Device: 3: sysdefault
12:38:00: Debug: Device: 4: lavrate
12:38:00: Debug: Device: 5: samplerate
12:38:00: Debug: Device: 6: speexrate
12:38:00: Debug: Device: 7: pulse
12:38:00: Debug: Device: 8: upmix
12:38:00: Debug: Device: 9: vdownmix
12:38:00: Debug: Device: 10: dmix
12:38:00: Debug: Device: 11: default
[Detaching after vfork from child process 3121]
[Detaching after vfork from child process 3123]
[Detaching after vfork from child process 3125]
[Detaching after vfork from child process 3127]
[Detaching after vfork from child process 3129]
[Detaching after vfork from child process 3131]
[Detaching after vfork from child process 3133]
[Detaching after vfork from child process 3135]
[Detaching after vfork from child process 3137]
[Detaching after vfork from child process 3138]
[New Thread 0x7fe9cdbbc0 (LWP 3139)]
[New Thread 0x7fe1a0dbc0 (LWP 3140)]
[Detaching after vfork from child process 3141]
[Detaching after vfork from child process 3142]
[Detaching after vfork from child process 3144]
[New Thread 0x7fe0ce6bc0 (LWP 3146)]
[New Thread 0x7fd4f64bc0 (LWP 3147)]
[Thread 0x7fd4f64bc0 (LWP 3147) exited]
GLEW init success!nGLEW init success!nGenerating RSA key...
Generating x509 certificate...
Writing key and certificate to disk...
Success!
[New Thread 0x7fd4f64bc0 (LWP 3148)]
[New Thread 0x7fcfffebc0 (LWP 3149)]
Local IPv4 address: 192.168.8.105
Opened 2 sockets for mDNS service
Service mDNS: opencpn-object-control-service.:8000
Hostname: openplotter
Sending announce
[New Thread 0x7fcf7bdbc0 (LWP 3150)]
Query PTR _victron-car-charger._tcp.local.
Query PTR _victron-energy-meter._udp.local.
[Thread 0x7fe0ce6bc0 (LWP 3146) exited]
[New Thread 0x7fe0ce6bc0 (LWP 3156)]
[New Thread 0x7fce995bc0 (LWP 3158)]
[New Thread 0x7fce194bc0 (LWP 3159)]
[Thread 0x7fe0ce6bc0 (LWP 3156) exited]
--Type
Thread 1 "opencpn" received signal SIGBUS, Bus error. 0x00000000000014e1 in ?? () (gdb) bt
this=0x555a8202d0, b_full_viz=true)
at /ci-source/src/ODNavObjectChanges.cpp:922
parent=0x5556542c00, islayer=false, isTemporary=false, dirpath=...,
isdirectory=true) at /ci-source/src/ODConfig.cpp:749
this=0x5556542c00, event=...)
at /ci-source/src/PathAndPointManagerDialogImpl.cpp:2043
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
--Type
from /lib/aarch64-linux-gnu/libwx_gtk3u_core-3.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
--Type
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgtk-3.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
--Type
from /lib/aarch64-linux-gnu/libgtk-3.so.0
from /lib/aarch64-linux-gnu/libglib-2.0.so.0
from /lib/aarch64-linux-gnu/libglib-2.0.so.0
from /lib/aarch64-linux-gnu/libwx_gtk3u_core-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
from /lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0
I think this is a symptom of your problem, but unfortunately it is in a different area of code. OD found an object already existed with the same name and GUID and therefore didn't need to process it. Can you try again and see if OCPN starts and is usable without OD showing any 'popup' messages, i.e. having your mouse pointer near an OD object? I need the program to go through the code that showed up previously to try and see what is happening on your machine.
I still cannot create the issue you have on any of my platforms so I cannot see what is happening.
Please only send the top part of the backtrace and the messages produced when a rollover happens. This will reduce the size of the messages. Or create text files with the information in and zip them up and attach them to your response.
Also, can you try removing all OD objects before startup (rename or delete the ODnavobj.xml and the ODnavobj.xml.changes files). You can find where these are by looking in the OCPN log file and looking for something like this:
ODConfig.cpp:248 Loading navobjects from /home/pi/opencpn/OpenCPN-5.0/build-kde572/plugins/ocpn_draw_pi/data/ODnavobj.xml
I have deleted ODnavobj.xml and the ODnavobj.xml.changes files Started OCPN. No paths and no OD present. Loaded paths with no problem Had to load OD Objects twice, first time they did no show. CLosed OCPN with no crash Attached log OD created a new ODnavobj.xml Restarted OCPN. Paths where present, but not the OD points Loaded the OD points. Did nos show. A second time, they showed up. A third time and they where gone. And so on....every time I load the OD points they show up and not the next time. log.zip
I have put up a new version of OD, 1.8.49.5, which includes changes to try and stop rollover popups being called for ODPoints which have just been deleted (happens when you install the same gpx file twice).
If you import ODPoints the first time they will be created, the second time they will be deleted, the third time they will be created, and so on. If you import a layer file the first time it will only create ODPoints when they don't already exist, determined by their GUID. If you double import a gpx file into a layer you will get a new layer created, but the number of points created will equal the number of unique GUID ODPoints. This will show up in the list of items. Also, the default is to not show layers. This can be changed in the General tab of the OD properties page.
Be careful with 'double click' of the mouse left button or equivalent. If you have setup the 'single click' to act like 'double click' you may get some interesting affects. Try doing a 'single click' and then 'single click' on the OK button.
Great, thanks Jon, I will take that into account, best wishes!
I will not be able to make further changes after today for a while, so can you have a quick check and see if it is working for you?
After your recommendation I made several tests. This is what i found: The problem seems to be with layers. I have deleted the OD point layer. Ocpn crashed. After re-start I imported OD points and for the first time they loaded at first try! not only that. After closing ocpn and reopening it again they were still there!!! So I hided the OD Points and loaded OD points file as a permanent layer. Ocpn crashed again. And when I re-started ocpn al OD points had disappeared and only the permanent layer of OD points was present and hidden. So I have decided to delete all layers and only use OD points and paths, and not use layers for now. Its not a problem for me. Without layers all seems ok Thanks for all!
Layers should work, but hiding a layer then reimporting may be an issue, I didn't test that. I did test double importing permanent layers for ODPoints and it worked. I didn't try with paths. Layers are really ment to group points and paths together and keep them away from the 'dynamic' objects (ones that you want to change). If you want to change layer objects delete the layer and import the box file as real paths and points, then re-export them to use as a layer.
It may be a little while before I can look further into this issue.
That was my first idea, to create OD points and paths in the area I sail and to use them in combination with watchdog. (not tested yet). But it happened that i was moving the OD points inadvertently. Which could be dangerous. So I thought grouping them all as layers. That would avoid the danger of moving them, even though I have to remember to activate them every time I use OCPN. Anyway, Im just starting to use ocpn actively and I have found it very usefull and in combination with Draw and Watchdog even more powerfull given that we dont count with vector charts, only ENC. No rush, I have a long way to go yet ;-) lol thanks again
Hi Jon.
Im just starting to use OPENCPN Draw with WatchDog
I have experienced the following problems
1) I have exported OD Points to a file and deleted them from the list by mistake. When importing them the first try comes always empty and in the second try they load. but disappear after closing opencpn. I have to do the doble import again. 2) In Layers, every time I start Open CPN the OD Points and boundaries are not visible. I have to go to the menu and click on them to be seen. Is that normal?
Thanks!