OpenCPN keeps crashing...
I have a ras pi5, mccarthur hat, daisy hat, and usb
gps.
OpenCPN 5.8.4 (as part of open plotter 4) was running fine until I added data for the
AIS and
GPS to signal K. Now it crashes immediately when I open it from the
desktop. I can open it via sudo in a terminal and it appears to
work fine. there are some odd things in the data log, I will attache.
I am unable to delete opencpn or move the opencpn data file under /lib/opencpn (it says i do not have permission). I have tried to disable openGL, plugins for both opencpn and signal K, and nothing seems to help.
Log File:
[PlugIns/libgrib_pi.so]
bEnabled=0
[Directories]
S57DataLocation=
InitChartDir=/home/Big_Time_Brendo/Documents/Charts/ENC
GPXIODir=
TCDataDir=
BasemapDir=/usr/share/opencpn/gshhs/
pluginInstallDir=
[Canvas]
CanvasConfig=0
[Canvas/CanvasConfig1]
canvasVPLatLon=" 44.6294, -124.0456"
canvasVPScale=0.207674
canvasVPRotation=0
canvasInitialdBIndex=26
canvasbFollow=0
ActiveChartGroup=0
canvasToolbarConfig=
canvasShowToolbar=0
canvasQuilt=1
canvasShowGrid=0
canvasShowOutlines=1
canvasShowDepthUnits=1
canvasShowAIS=1
canvasAttenAIS=0
canvasShowTides=0
canvasShowCurrents=0
canvasShowENCText=1
canvasENCDisplayCategory=83
canvasENCShowDepths=1
canvasENCShowBuoyLabels=1
canvasENCShowLightDescriptions=0
canvasENCShowLights=1
canvasENCShowVisibleSectorLights=1
canvasENCShowAnchorInfo=0
canvasENCShowDataQuality=0
canvasCourseUp=0
canvasHeadUp=0
canvasLookahead=0
canvasSizeX=1918
canvasSizeY=986
[ChartDirectories]
ChartDir1=/home/Big_Time_Brendo/Documents/Charts/ENC/US_OR^5169477463940372518
ChartDir2=/home/Big_Time_Brendo/Documents/Charts/ENC/US_WA^2926934107275196095
[AUI]
AUIPerspective=layout2|name=ChartCanvas;caption=;s tate=768;dir=5;layer=0;row=0;pos=0;prop=100000;bes tw=1918;besth=986;minw=384;minh=988;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(5,0,0)=386|
[TideCurrentDataSources]
tcds0=/usr/share/opencpn/tcdata/harmonics-dwf-20210110-free.tcd
tcds1=/usr/share/opencpn/tcdata/HARMONICS_NO_US.IDX
OpenCPN terminal after sudo launch:
error: XDG_RUNTIME_DIR is invalid or not set in the
environment.
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
GLEW init success!n SENC: nCPU: 4 m_max_jobs :3
Generating RSA key...
Generating x509 certificate...
Writing key and certificate to disk...
Success!
Local IPv4 address: 10.0.0.102
Local IPv6 address: 2601:1c0:8483:ec20::59ce
Opened 2 sockets for mDNS
service
Service mDNS: opencpn-object-control-service.:8000
Hostname: rasputin
Sending announce
(opencpn:7328): Gtk-CRITICAL **: 15:38:31.968: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(opencpn:7328): Gtk-CRITICAL **: 15:38:31.971: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Query A Indoorcam.local.
(opencpn:7328): Gtk-CRITICAL **: 15:38:33.781: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(opencpn:7328): Gtk-CRITICAL **: 15:38:33.781: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook