Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 19-06-2023, 01:17   #1
Registered User

Join Date: May 2019
Posts: 48
OpenCPN crashes with ENC charts

I downloaded the latest version of OpenCPN 5.8.4 released a couple of days ago and started to crash upon startup. I isolated the problem to ENC charts and CM93 charts.

I deleted all of my RNC raster and ENC vector charts and started with a fresh rebuild. I first installed ENC charts and crashed so I deleted ENC and installed RNC raster charts and it worked as expected.

I then installed CM93 and it crashed again. Upon uninstalling CM93 and keeping RNC charts installed the program worked again as expected.

So, to summarize, OpenCPN is crashing with ENC vector charts only for some reason. Has anyone ran into this problem before? If so, can you recommend a workaround? Thanks
MazatlanMexico is offline   Reply With Quote
Old 19-06-2023, 06:32   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN crashes with ENC charts

MM...
May we se the OpenCPN logfile, please?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 19-06-2023, 08:35   #3
Registered User

Join Date: May 2019
Posts: 48
Re: OpenCPN crashes with ENC charts

Attached is the most recent crash report. I left the exact same name of the log file.

I actually was not able to attach the crash report so it can be downloaded from this link: https://login.filesanywhere.com/fs/v...8b5c606db1a0a8
MazatlanMexico is offline   Reply With Quote
Old 19-06-2023, 12:38   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN crashes with ENC charts

MM...
First we need to inspect the OpenCPN logfile, something like:


C:\ProgramData\OpenCPN\opencpn.log


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 19-06-2023, 12:59   #5
Registered User

Join Date: May 2019
Posts: 48
Re: OpenCPN crashes with ENC charts

Please follow this link:
https://login.filesanywhere.com/fs/v...8b5d6475bbaa69
The forum is not letting attach probably because I don't have enough privileges here.
MazatlanMexico is offline   Reply With Quote
Old 19-06-2023, 14:20   #6
Registered User

Join Date: May 2019
Posts: 48
Re: OpenCPN crashes with ENC charts

This is the log file that I get when OpenCPN is working properly with just RNC charts: https://login.filesanywhere.com/fs/v...8b5d6773b4a3ab
MazatlanMexico is offline   Reply With Quote
Old 19-06-2023, 17:57   #7
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN crashes with ENC charts

MM...
Thanks for the log. Looks generally OK.
Let's try disabling OpenGL, and see it that has any effect.


Stop OpenCPN, and please add the following line to C:\ProgramData\OpenCPN\opencpn.ini:


Under section
[Settings]
DisableOpenGL=1


Dave
bdbcat is offline   Reply With Quote
Old 19-06-2023, 18:58   #8
Registered User

Join Date: May 2019
Posts: 48
Re: OpenCPN crashes with ENC charts

Thanks for trying Dave. Unfortunately, DisableOpenGL=1 is not taking any effect as it still crashes. Is very strange because the previous version was working just fine. But now that I try to reverse to the previous version, that one is crashing as well.
MazatlanMexico is offline   Reply With Quote
Old 20-06-2023, 07:58   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN crashes with ENC charts

MM....


Disable all plugins, please, and try again.
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 20-06-2023, 12:18   #10
Registered User

Join Date: May 2019
Posts: 48
Re: OpenCPN crashes with ENC charts

Dave;
I did disable all the plugins, re-started and opened just fine showing a Raster chart, however, when I right clicked to select an ENC chart is when it crashed again (see snapshot). I also added DisableOpenGL=1 to my opencpn.ini file.

Should I go ahead and delete all of my ENC charts and download only one and try again?

UPDATE:
Plugins seem to be the problem. I opened and closed OpenCPN with plugins disabled. As soon as I enabled one plugin and tried to zoom in on the ENC it crashed. I opened in safe mode and made sure no plugins were enabled and I now I can zoom in and out on my ENC chart.
Attached Thumbnails
Click image for larger version

Name:	ak.jpg
Views:	45
Size:	250.4 KB
ID:	277048  
MazatlanMexico is offline   Reply With Quote
Old 20-06-2023, 13:24   #11
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN crashes with ENC charts

MM...
What plugins are loaded, and which one plugin reliable provokes the crash?


Dave
bdbcat is offline   Reply With Quote
Old 20-06-2023, 13:32   #12
Registered User

Join Date: May 2019
Posts: 48
Re: OpenCPN crashes with ENC charts

It happens with any of these plugins. I tried Chart Downloader, Dashboard, OCPN_draw and earthExplorer. These are the plugins that I normally use and ENC charts crashed with any of them.

I can live without them if needed.

I enabled OpenGL again DisableOpenGL=0 and ENC charts still work well with it enabled.
MazatlanMexico is offline   Reply With Quote
Old 20-06-2023, 13:41   #13
Registered User

Join Date: May 2019
Posts: 48
Re: OpenCPN crashes with ENC charts

I currently can't use any plugin because as soon as I enabled one (any) and try to zoom in on a ENC chart it crashes. In order to start OpenCPN again I have to alter the ENC charts path and once the program is open I go ahead and disable the plugins, correct the ENC charts path and it works again.
MazatlanMexico is offline   Reply With Quote
Old 20-08-2023, 15:17   #14
Registered User

Join Date: Oct 2009
Location: Redondo Beach, CA
Boat: 1990 Oyster 55
Posts: 468
Re: OpenCPN crashes with ENC charts

Definitely seeing this on a Windows 7 Home Premium installation (old nav computer) with a fresh install.

If any plugins are enabled (including the chart downloader) this shows up. The raster charts are just fine. Load even a single ENC and the problem will eventually show up as I zoom in on the single ENC chart. Eventually the system goes "Not Responding" and crashes. (The ENC was downloaded using the chart downloader). On next restart it will not come up "Non-Responsive" and crashes unless all plug ins are disabled.

Working with Raster Charts for now and everything working.

This is a fresh installation, even prior to configuring the N2K connection (Actisense NGT-1)

Version is latest download of 5.8.4-0 (June 15 2023 Stable) running on Windows 7 Home Premium, fully patched.
botanybay is offline   Reply With Quote
Reply

Tags
charts, enc, opencpn


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
US ACE Inland ENC Charts Crashes OpenCPN 5.0 TJGetaway OpenCPN 4 24-03-2019 20:25
Opencpn (on Ubuntu bionic) crashes on startup when displaying S63 charts gnaffron OpenCPN 14 20-08-2018 01:09
Rpi crashes on OpenCPN 4.8.4 charts CapnRon47 OpenCPN 23 05-07-2018 19:05
OpenCPN crashes when zooming oeSENC charts baltika_no_9 OpenCPN 8 05-06-2017 09:35
3.0.0 on Ubuntu 12.04 armhf - Crashes When Opening ENC bobmor99 OpenCPN 21 27-07-2012 14:27

Advertise Here


All times are GMT -7. The time now is 17:45.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.