Hi Dave
I built rpms for
OpenCPN 3.6.2
opencpn-o-charts-plugin-1.0.25.0
opencpn-radar-plugin
opencpn-s63-plugin
opencpn-sar-plugin
upon wxgtk3.0
and upon wxgtk3.1.5
Did successively a fresh install of one version of those rpms
the component are installed in :
/usr/bin/
/usr/lib64/
/usr/lib64/opencpn/
/usr/share/opencpn/
/usr/share/locale/
/usr/share/doc
For each test I launched opencpn from a console
(the dongle is installed)
I activate o-charts_pi
In the charts tab I click on the o-charts tab
the dongle is recognized
I click on the button "actualize the charts list"
a little window opens asking for
email address and password
if I write a wrong address it informs me that it's not the good one
OK
I write the right address
I then write a wrong password
It informs me that it's a wrong password
OK
I have the same window with the right
email address prewritten
I write the right password
then a little helix turn for 2 seconds and then OpenCPN crashes
The only message in the console is : segfault (core dumped)
NB before each test I erase the /home/myname/.opencpn folder
here is an extract from opencpn.conf :
[PlugIns/ocharts]
systemName=
loginUser=myname@myprovider (I anonymized it on this forum
loginKey=3678bf129f9a5148c0b92a775f0c8069
lastInstllDir=
LastEULAFile=
EnableFulldbRebuild=1
LastUpdate=
ShowExpiredCharts=0
[PlugIns/libdashboard_pi.so]
bEnabled=0
[PlugIns/libs63_pi.so]
bEnabled=0
[PlugIns/libroute_pi.so]
bEnabled=0
[PlugIns/libgrib_pi.so]
bEnabled=0
[PlugIns/libradar_pi.so]
bEnabled=0
[PlugIns/libo-charts_pi.so]
bEnabled=1
[PlugIns/libsar_pi.so]
bEnabled=0
and here some useful extracts from the logfile:
14:13:43.629 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib64/opencpn/libo-charts_pi.so
14:13:43.629 MESSAGE pluginmanager.cpp:2225 Plugin is compatible by elf library scan: true
14:13:43.629 MESSAGE pluginmanager.cpp:2364 PlugInManager: Loading PlugIn: /usr/lib64/opencpn/libo-charts_pi.so
14:13:43.632 MESSAGE OCPNPlatform.cpp:1672 Using plugin data path: /home/philippe/.local/share/opencpn/plugins;/home/philippe/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib64/opencpn
14:13:43.632 MESSAGE pluginmanager.cpp:572 PlugInManager: Using data dirs from: /home/philippe/.local/share/opencpn/plugins;/home/philippe/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib64/opencpn
14:13:43.632 MESSAGE pluginmanager.cpp:584 PlugInManager: using data dir: /usr/share/opencpn/plugins/o-charts_pi
14:13:43.632 INFO pluginmanager.cpp:2540 PlugInManager: /usr/lib64/opencpn/libo-charts_pi.so
14:13:43.632 INFO pluginmanager.cpp:2541 Plugin common name: o-charts
14:13:43.632 INFO pluginmanager.cpp:2543 API Version detected: 111
14:13:43.632 INFO pluginmanager.cpp:2544 PlugIn Version detected: 1.0
14:13:46.292 MESSAGE pluginmanager.cpp:2364 PlugInManager: Loading PlugIn: /usr/lib64/opencpn/libo-charts_pi.so
14:13:46.300 MESSAGE pluginmanager.cpp:572 PlugInManager: Using data dirs from: /home/philippe/.local/share/opencpn/plugins;/home/philippe/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib64/opencpn
14:13:46.301 MESSAGE pluginmanager.cpp:584 PlugInManager: using data dir: /usr/share/opencpn/plugins/o-charts_pi
14:13:46.302 INFO pluginmanager.cpp:2540 PlugInManager: /usr/lib64/opencpn/libo-charts_pi.so
14:13:46.302 INFO pluginmanager.cpp:2541 Plugin common name: o-charts
14:13:46.302 INFO pluginmanager.cpp:2543 API Version detected: 111
14:13:46.302 INFO pluginmanager.cpp:2544 PlugIn Version detected: 1.0
14:13:46.302 MESSAGE pluginmanager.cpp:1539 PlugInManager: Initializing PlugIn: /usr/lib64/opencpn/libo-charts_pi.so
14:13:46.316 MESSAGE o-charts_pi.cpp:617 o-charts_pi::Using LD_LIBRARY_PATH: /usr/lib/opencpn:/home/philippe/.local/lib/opencpn:/usr/local/lib64/opencpn:/usr/lib64/opencpn:/usr/lib64/opencpn:/home/philippe/.local/lib/opencpn:/usr/local/lib64/opencpn:/usr/lib64/opencpn:/usr/lib64/opencpn
14:13:46.316 MESSAGE o-charts_pi.cpp:646 Path to oexserverd is: /usr/bin/oexserverd
14:13:46.369 MESSAGE fpr.cpp:99 oexserverd results:
14:13:46.369 MESSAGE fpr.cpp:102 1
14:13:46.369 MESSAGE o-charts_pi.cpp:649 Dongle detected
14:13:46.369 MESSAGE o-charts_pi.cpp:718 Default ChartInstall Directory is: /home/philippe/Charts
14:13:46.376 MESSAGE chartsymbols.cpp:1249 ChartSymbols loaded from /usr/share/opencpn/s57data/chartsymbols.xml
14:13:46.397 MESSAGE pluginmanager.cpp:572 PlugInManager: Using data dirs from: /home/philippe/.local/share/opencpn/plugins;/home/philippe/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib64/opencpn
14:13:46.397 MESSAGE pluginmanager.cpp:584 PlugInManager: using data dir: /usr/share/opencpn/plugins/o-charts_pi
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/SymbolPatch1.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/LUPPatch3.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/LUPPatch2.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/SymbolPatch6.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/SymbolPatch2.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/LUPPatch4.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/SymbolPatch3.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/SymbolPatch4.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/LUPPatch1.xml
14:13:46.397 MESSAGE chartsymbols.cpp:126 ChartSymbols PatchFileloaded from /usr/share/opencpn/plugins/o-charts_pi/data/SymbolPatch5.xml
14:13:46.423 MESSAGE o-charts_pi.cpp:1003 o_charts_pi: Calculated pix/mm = 3.77953
14:13:46.423 MESSAGE o-charts_pi.cpp:2728 o_charts_pi: OpenGL-> Minimum cartographic line width: 1.0
14:13:46.474 MESSAGE fpr.cpp:99 oexserverd results:
14:13:46.474 MESSAGE fpr.cpp:102 1
14:13:48.208 MESSAGE o-charts_pi.cpp:1003 o_charts_pi: Calculated pix/mm = 3.77953
14:13:48.210 MESSAGE chcanv.cpp:2376 Metrics: m_display_size_mm: 508 g_Platform->getDisplaySize(): 1920:1080
14:13:48.210 MESSAGE chcanv.cpp:2381 wxDisplaySize(): 1920 1080
14:13:48.210 MESSAGE o-charts_pi.cpp:1003 o_charts_pi: Calculated pix/mm = 3.77953
14:13:50.175 MESSAGE o-charts_pi.cpp:1003 o_charts_pi: Calculated pix/mm = 3.77953
14:13:50.213 MESSAGE chcanv.cpp:2376 Metrics: m_display_size_mm: 508 g_Platform->getDisplaySize(): 1920:1080
14:13:50.213 MESSAGE chcanv.cpp:2381 wxDisplaySize(): 1920 1080
14:13:50.214 MESSAGE o-charts_pi.cpp:1003 o_charts_pi: Calculated pix/mm = 3.77953
14:13:50.275 MESSAGE glChartCanvas.cpp:732 BuildFBO 3
14:13:50.277 MESSAGE glChartCanvas.cpp:1217 OpenGL Framebuffer OK, size = 1342
14:13:50.324 MESSAGE glChartCanvas.cpp:732 BuildFBO 3
14:13:50.341 MESSAGE glChartCanvas.cpp:1217 OpenGL Framebuffer OK, size = 1342
14:13:50.360 MESSAGE glChartCanvas.cpp:732 BuildFBO 3
14:13:50.362 MESSAGE glChartCanvas.cpp:1217 OpenGL Framebuffer OK, size = 1342
14:13:50.374 MESSAGE glChartCanvas.cpp:732 BuildFBO 3
14:13:50.376 MESSAGE glChartCanvas.cpp:1217 OpenGL Framebuffer OK, size = 1342
and here is the end of the log file
14:13:52.978 MESSAGE o-charts_pi.cpp:1003 o_charts_pi: Calculated pix/mm = 3.77953
14:13:52.978 MESSAGE OCPNPlatform.cpp:1033 ChangeLocale: Language load for:
14:13:52.983 MESSAGE OCPNPlatform.cpp:1086 ChangeLocale: Locale Init OK for:
14:13:52.985 MESSAGE OCPNPlatform.cpp:1106 Loaded translation catalog for: opencpn-wmm_pi
14:13:52.988 MESSAGE OCPNPlatform.cpp:1106 Loaded translation catalog for: opencpn-chartdldr_pi
14:13:52.991 MESSAGE OCPNPlatform.cpp:1106 Loaded translation catalog for: opencpn-o-charts_pi
14:13:52.991 MESSAGE OCPNPlatform.cpp:1111 Loading catalog for opencpn
core.
14:13:52.996 MESSAGE OCPNPlatform.cpp:952 Getting DefaultSystemLocale...
14:13:58.676 MESSAGE fpr.cpp:99 oexserverd results:
14:13:58.676 MESSAGE fpr.cpp:102 1
NB :
after the crash, the folder /home/myname/.opencpn/o_chats_pi/ remains empty