OpenMarine
[SOLVED] oeSENC charts crash OpenCPN (possible Alignment Trap) - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] oeSENC charts crash OpenCPN (possible Alignment Trap) (/showthread.php?tid=3353)



[SOLVED] oeSENC charts crash OpenCPN (possible Alignment Trap) - toliver38 - 2021-03-24

I'm in the process of setting up OpenPlotter within OpenCPN to handle the oeSENC British Isles and France charts from o-charts


RaspberryPi 4
OpenPlotter 5.10.17-v7l+
OpenCPN 5.2.4
oeSENC 4.2.19.10


I've gone ahead and successfully linked the oeSENC plugin with o-charts and downloaded the charts. I've also been able to expand the charts. I'll attach a few screenshots in a minute.


The issue occurs after being presented with the EULA for the charts. I accept and then the application completely crashes with no reference in the OpenCPN log.


Code:
12:35:31.232 MESSAGE pluginmanager.cpp:1269 PlugInManager: oeSENC has loaded very slowly: 608 ms
12:35:31.233 MESSAGE oesenc_pi.cpp:976 oesenc_pi:  Calculated pix/mm = 3.78947
12:35:31.270 MESSAGE OCPNPlatform.cpp:1016 ChangeLocale: Language load for:  en_US
12:35:31.270 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.270   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.271 MESSAGE OCPNPlatform.cpp:1041 ChangeLocale:  could not initialize:  en_US
12:35:31.271 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.271   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.271 MESSAGE OCPNPlatform.cpp:1057 ChangeLocale: Fall back to en_US
12:35:31.271 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.271   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.271 MESSAGE pluginmanager.cpp:1104 Loading plugins from dir: /usr/local/lib/opencpn
12:35:31.271 MESSAGE pluginmanager.cpp:1130 PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
12:35:31.272 MESSAGE pluginmanager.cpp:1145    Directory /usr/local/lib/opencpn does not exist.
12:35:31.272 MESSAGE pluginmanager.cpp:1104 Loading plugins from dir: /usr/lib/arm-linux-gnueabihf/opencpn
12:35:31.272 MESSAGE pluginmanager.cpp:1130 PlugInManager searching for PlugIns in location /usr/lib/arm-linux-gnueabihf/opencpn
12:35:31.272 MESSAGE pluginmanager.cpp:1145    Directory /usr/lib/arm-linux-gnueabihf/opencpn does not exist.
12:35:31.272 MESSAGE pluginmanager.cpp:1104 Loading plugins from dir: /usr/lib/opencpn
12:35:31.272 MESSAGE pluginmanager.cpp:1130 PlugInManager searching for PlugIns in location /usr/lib/opencpn
12:35:31.272 MESSAGE pluginmanager.cpp:1167 Found 5 candidates
12:35:31.272 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/liboesenc_pi.so
12:35:31.272 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libgrib_pi.so
12:35:31.276 MESSAGE pluginmanager.cpp:2169 Plugin is compatible: true
12:35:31.276 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /usr/lib/opencpn/libgrib_pi.so
12:35:31.282    INFO pluginmanager.cpp:2403 PlugInManager:  /usr/lib/opencpn/libgrib_pi.so
12:35:31.282    INFO pluginmanager.cpp:2404         Plugin common name: GRIB
12:35:31.282    INFO pluginmanager.cpp:2406         API Version detected: 116
12:35:31.282    INFO pluginmanager.cpp:2407         PlugIn Version detected: 4.1
12:35:31.282 MESSAGE grib_pi.cpp:151
12:35:31.284 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libdashboard_pi.so
12:35:31.287 MESSAGE pluginmanager.cpp:2169 Plugin is compatible: true
12:35:31.287 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /usr/lib/opencpn/libdashboard_pi.so
12:35:31.292    INFO pluginmanager.cpp:2403 PlugInManager:  /usr/lib/opencpn/libdashboard_pi.so
12:35:31.292    INFO pluginmanager.cpp:2404         Plugin common name: Dashboard
12:35:31.292    INFO pluginmanager.cpp:2406         API Version detected: 106
12:35:31.292    INFO pluginmanager.cpp:2407         PlugIn Version detected: 1.2
12:35:31.316 MESSAGE pluginmanager.cpp:1269 PlugInManager: Dashboard has loaded very slowly: 23 ms
12:35:31.316 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libwmm_pi.so
12:35:31.319 MESSAGE pluginmanager.cpp:2169 Plugin is compatible: true
12:35:31.319 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /usr/lib/opencpn/libwmm_pi.so
12:35:31.322    INFO pluginmanager.cpp:2403 PlugInManager:  /usr/lib/opencpn/libwmm_pi.so
12:35:31.322    INFO pluginmanager.cpp:2404         Plugin common name: WMM
12:35:31.322    INFO pluginmanager.cpp:2406         API Version detected: 108
12:35:31.322    INFO pluginmanager.cpp:2407         PlugIn Version detected: 1.1
12:35:31.324 MESSAGE wmm_pi.cpp:47 WMM: WMM model data loaded from file /usr/share/opencpn/plugins/wmm_pi/data/WMM.COF.
12:35:31.326 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libchartdldr_pi.so
12:35:31.330 MESSAGE pluginmanager.cpp:2169 Plugin is compatible: true
12:35:31.330 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /usr/lib/opencpn/libchartdldr_pi.so
12:35:31.334    INFO pluginmanager.cpp:2403 PlugInManager:  /usr/lib/opencpn/libchartdldr_pi.so
12:35:31.334    INFO pluginmanager.cpp:2404         Plugin common name: ChartDownloader
12:35:31.334    INFO pluginmanager.cpp:2406         API Version detected: 113
12:35:31.334    INFO pluginmanager.cpp:2407         PlugIn Version detected: 1.4
12:35:31.335 MESSAGE chartdldr_pi.cpp:331 chartdldr_pi: /home/pi/Charts
12:35:31.335 MESSAGE chartdldr_pi.cpp:332 chartdldr_pi: /home/pi/Charts
12:35:31.338 MESSAGE oesenc_pi.cpp:976 oesenc_pi:  Calculated pix/mm = 3.78947
12:35:31.375 MESSAGE OCPNPlatform.cpp:1016 ChangeLocale: Language load for:  en_US
12:35:31.375 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.375   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.377 MESSAGE OCPNPlatform.cpp:1041 ChangeLocale:  could not initialize:  en_US
12:35:31.377 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.377   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.377 MESSAGE OCPNPlatform.cpp:1057 ChangeLocale: Fall back to en_US
12:35:31.377 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.377   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.377 MESSAGE pluginmanager.cpp:1104 Loading plugins from dir: /usr/lib/opencpn
12:35:31.377 MESSAGE pluginmanager.cpp:1130 PlugInManager searching for PlugIns in location /usr/lib/opencpn
12:35:31.377 MESSAGE pluginmanager.cpp:1167 Found 5 candidates
12:35:31.377 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/liboesenc_pi.so
12:35:31.377 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libgrib_pi.so
12:35:31.377 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libdashboard_pi.so
12:35:31.378 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libwmm_pi.so
12:35:31.378 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /usr/lib/opencpn/libchartdldr_pi.so
12:35:31.379 MESSAGE oesenc_pi.cpp:976 oesenc_pi:  Calculated pix/mm = 3.78947
12:35:31.417 MESSAGE OCPNPlatform.cpp:1016 ChangeLocale: Language load for:  en_US
12:35:31.417 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.417   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.418 MESSAGE OCPNPlatform.cpp:1041 ChangeLocale:  could not initialize:  en_US
12:35:31.418 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.418   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.419 MESSAGE OCPNPlatform.cpp:1057 ChangeLocale: Fall back to en_US
12:35:31.419 WARNING intl.cpp:555 Cannot set locale to language "English (U.S.)".
12:35:31.419   ERROR intl.cpp:294 locale 'en_US' cannot be set.
12:35:31.600 MESSAGE chart1.cpp:7420    ***GPS Watchdog timeout at Lat:41.831   Lon: 3.6619
12:35:31.633 MESSAGE chart1.cpp:6875 OnInitTimer...3
12:35:31.734 MESSAGE chart1.cpp:6875 OnInitTimer...4
12:35:32.525 MESSAGE options.cpp:5822 options: got device count: 1
12:35:32.770 MESSAGE chart1.cpp:6875 OnInitTimer...5
12:35:32.870 MESSAGE chart1.cpp:6875 OnInitTimer...6
12:35:32.870 MESSAGE chart1.cpp:7167 OnInitTimer...Last Call
12:35:32.871 MESSAGE chartdb.cpp:1346 Creating new chart
12:35:32.896 MESSAGE chartsymbols.cpp:1155 ChartSymbols loaded from /usr/share/opencpn/s57data/chartsymbols.xml
12:35:32.990 MESSAGE chart1.cpp:1320 Using s57data in /usr/share/opencpn/s57data
12:35:33.192 MESSAGE chartdb.cpp:1475 Initializing Chart /home/pi/Charts/PlotterPi-FRatl_UK-2021-11/OC-44-061001.oesenc
12:35:33.193 MESSAGE oesenc_pi.cpp:4793 ShowEULA
12:35:35.671 MESSAGE SignalKDataStream.cpp:332     WebSocket SignalKDataStream watchdog timeout: Signal K:localhost:443
12:35:35.671 MESSAGE SignalKDataStream.cpp:617 Opening Signal K WebSocket client: Signal K:localhost:443
Seperately I found this reference in SYSLOG during each crash. This a new build

Code:
Mar 24 12:35:40 openplotter kernel: [ 4228.319966] Alignment trap: not handling instruction ed924b00 at [<abe11a18>]
Mar 24 12:35:40 openplotter kernel: [ 4228.319982] 8<--- cut here ---
Mar 24 12:35:40 openplotter kernel: [ 4228.320008] Unhandled fault: alignment exception (0x221) at 0x03257835
Mar 24 12:35:40 openplotter kernel: [ 4228.320031] pgd = b55369b3
Mar 24 12:35:40 openplotter kernel: [ 4228.320050] [03257835] *pgd=07356003, *pmd=d7289003



RE: oeSENC charts crash OpenCPN (possible Alignment Trap) - Sailoog - 2021-03-25

It seems that there is a problem with oeSENC 4.2.19.10 for ARM, we are working on it.


RE: oeSENC charts crash OpenCPN (possible Alignment Trap) - SESTH - 2021-03-27

(2021-03-25, 11:14 AM)Sailoog Wrote: It seems that there is a problem with oeSENC 4.2.19.10 for ARM, we are working on it.

Same Problem here.
Code:
opencpn
SENC: nCPU: 4    m_max_jobs :3
Bus-Zugriffsfehler

RaspberryPi 3B+
Raspbian 5.10.17-v7+
OpenCPN 5.2.4
oeSENC 4.2.19.16


RE: oeSENC charts crash OpenCPN (possible Alignment Trap) - SESTH - 2021-03-28

Today I made an Update to oeSENC 4.2.19.18 and after that the problem was fixed. Thanks!


RE: oeSENC charts crash OpenCPN (possible Alignment Trap) - Sailoog - 2021-03-29

Please, try to update to oeSENC 4.2.19.21 and report.


RE: oeSENC charts crash OpenCPN (possible Alignment Trap) - SESTH - 2021-03-29

(2021-03-29, 10:21 AM)Sailoog Wrote: Please, try to update to oeSENC 4.2.19.21 and report.

It still works with oeSENC 4.2.19.21  Smile.
Code:
opencpn
SENC: nCPU: 4    m_max_jobs :3