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 07-10-2025, 05:33   #1
Registered User

Join Date: Oct 2025
Posts: 6
20-30 second Crash to Desktop

Hello everyone.

I am trying to troubleshoot a new latest version OpenCPN installation that quickly results in a CTD. (20-30seconds) . There is a message but it was so fast, I had to take a video of the desktop and reduce the speed to see it. But all it says is OpenCPN has stopped responding, with a resulting memory dump message but with no other details.

I have gone through alot of forum threads and have done alot of recommended steps but to no avail.

1)Wiped out .ini file
2))completely wiped out the programdata\opencpn
3)complete uninstall, with a revoinstaller to remove any registry entries (there were none)
4) Safe mode startup (still crashes)
5) )no charts are installed
6) plugins disabled - even default and no other plugins installed
7) open gl disabled
8) ensured no interference from AV. Has a folder exception.
9) .log file does not reveal anything suspicious other than a watchdog timeout but only seen it once or twice. Other times its not there.
10) Ran it as administrator.
11) Solution on these forums to start with .bat file did not work.

Its difficult to get into settings and change or test things around because of the quick crash. I suspect editing the .ini file is the only way around it.

I have no physical GPS to connect to. I want to use it with simulation software that spits out NMEA data. But I doubt that OCPN would crash without having live position data.

Fairly new clean windows 11 install (4 months ago)
64gb ram (not a RAM issue.)
GPU drivers up to date

Want to try an archived version but cannot find download links for them.

Tried to attach .ini and .log files but attachment prompt says they are invalid for some reason.

I am at a loss. Any insight would be appreciated.

Thank you
HightowerMD11 is offline   Reply With Quote
Old 07-10-2025, 06:45   #2
Registered User

Join Date: Oct 2021
Posts: 986
Re: 20-30 second Crash to Desktop

I can't offer much, but to attach .ini and .log, change/add the file extension to .pdf (usually xxx.ini.pdf and xxx.log.pdf). This gets past the forum filetype check (it only uses the final extension) and pretty much everyone here working with these knows to download and remove the .pdf to assist.
PippaB is online now   Reply With Quote
Old 07-10-2025, 07:37   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,907
Re: 20-30 second Crash to Desktop

MD11...
As always, archive versions for Windows and Mac are available here:
https://github.com/OpenCPN/OpenCPN/releases


Good Luck
Dave
bdbcat is offline   Reply With Quote
Old 07-10-2025, 10:31   #4
Registered User

Join Date: Aug 2009
Location: between the devil and the deep blue sea
Boat: a sailing boat
Posts: 22,668
Re: 20-30 second Crash to Desktop

Have you checked the installation file (size, checksum ?)


Perhaps the file from which you install is corrupt (while downloading, e.g.)


b.
barnakiel is offline   Reply With Quote
Old 07-10-2025, 12:42   #5
Registered User

Join Date: Oct 2025
Posts: 6
Re: 20-30 second Crash to Desktop

Quote:
Originally Posted by bdbcat View Post
MD11...
As always, archive versions for Windows and Mac are available here:
https://github.com/OpenCPN/OpenCPN/releases


Good Luck
Dave
Hi Dave

Thanks. I tried, but on every archive it states
For Download links, plugins, documentation, and other useful information, visit our support website at:
https://opencpn.org/""

On the official site I only see the link for the latest version.
HightowerMD11 is offline   Reply With Quote
Old 07-10-2025, 12:59   #6
Registered User

Join Date: Oct 2025
Posts: 6
Re: 20-30 second Crash to Desktop

Quote:
Originally Posted by barnakiel View Post
Have you checked the installation file (size, checksum ?)


Perhaps the file from which you install is corrupt (while downloading, e.g.)


b.
Yes Checksum matches. Thanks for the input
HightowerMD11 is offline   Reply With Quote
Old 07-10-2025, 13:03   #7
Registered User

Join Date: Oct 2025
Posts: 6
Re: 20-30 second Crash to Desktop

.log and .ini files now attached.

Thanks
Attached Files
File Type: pdf opencpn.ini.pdf (12.2 KB, 6 views)
File Type: pdf opencpn.log.pdf (13.1 KB, 8 views)
HightowerMD11 is offline   Reply With Quote
Old 09-10-2025, 02:00   #8
Registered User

Join Date: Oct 2025
Posts: 6
Re: 20-30 second Crash to Desktop

Do you have a direct link to archived older versions to try? The github older versions refer to opencpn.org to download and clicking on downloads and archived versions links back to github.
HightowerMD11 is offline   Reply With Quote
Old 09-10-2025, 07:51   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,907
Re: 20-30 second Crash to Desktop

MD11...
https://github.com/OpenCPN/OpenCPN/releases


Click on "Assets" for any particular release.
Good Luck
Dave
bdbcat is offline   Reply With Quote
Old 09-10-2025, 08:23   #10
Registered User

Join Date: Oct 2009
Location: West coast of Sweden
Boat: Najad391
Posts: 171
Re: 20-30 second Crash to Desktop

I had a similar problem
I installed an older version (5.8.2). When it was running I zoomed out (-)and then inactivated the OpenGL. Then try the new version and check that OpenGL is unchecked. Maybe this will help you
janp391 is offline   Reply With Quote
Old 10-10-2025, 12:50   #11
Registered User

Join Date: Oct 2025
Posts: 6
Re: 20-30 second Crash to Desktop

Ok 5.10.2 installed and does not crash, but with nothing extra installed, it is extremely slow and unresponsive from one click anywhere. (settings, anywhere on map) then revives and process repeats. deleteing .ini again and same thing. Now installed 5.12.4 and back to crashing in 20sec. At least that part has been troubleshooted. OpenGL on or off makes no difference.
Thanks for the help. Will continue working on it.
HightowerMD11 is offline   Reply With Quote
Old 10-10-2025, 13:19   #12
Moderator
 
Shrew's Avatar

Join Date: Mar 2008
Location: Rhode Island/Florida USA
Posts: 3,844
Re: 20-30 second Crash to Desktop

There are two partitions in a Windows OS The System partition (Operating System) and the User/Application partition (Applications).

A System crash (Kernel Dump) leads to a blue screen Blue Screen of Death (BSOD)

An Application crash (User Mode Process Dump) is simply the application process that crashes. Which is what I suspect you're calling a Crash To Desktop (With it's own TLA (CTD). I have never heard called that in 25+ yrs in the enterprise software space........ but it's accurate).

When a process crashes, it dumps the entirety of its process in memory into a crash/dump file.

1) Logon to the Windows host where you want to configure to capture user-mode process dumps

2) Open the Windows Registry

Start -> Run -> Regedit

3) Browse to the following registry hive:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Wind ows Error Reporting\LocalDumps

4) Create the following keys:

KeyName: DumpFolder
Data Type: REG_EXPAND_SZ
Value: %LOCALAPPDATA%\CrashDumps

KeyName: DumpCount
Data Type: REG_DWORD
Value: 3

KeyName: DumpType
Data type: REG_DWORD
Value: 2

Data Values:
0 = Create a custom dump
1 = Mini dump
2 = Full dump


Set the dump count to 1 to only retain one dump file and overwrite that dump with each subsequent dump.

You should be able to share the dump file with the developer to understand the root cause of the dump.
Shrew is offline   Reply With Quote
Old 10-10-2025, 15:21   #13
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 4,186
Re: 20-30 second Crash to Desktop

I would hesitate on trying to capture a dump unless the developer requests it. Especially since one of the lead developers is in this thread. Often they are useless without running a debug build.

According to the log, OpenCPN crashes when the GPS timeout is reached. That might be a hint, maybe OpenCPN is trying to use a GPS that isn't there?

I might be wrong, but I think recent versions of OCPN can connect to a GPS through a Windows API. (bdcat could confirm)
Open Windows Settings -> Privacy & Security -> Location

From there you can turn on/off location settings. Toggle that and see if it helps.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 14-10-2025, 10:26   #14
Moderator
 
Shrew's Avatar

Join Date: Mar 2008
Location: Rhode Island/Florida USA
Posts: 3,844
Re: 20-30 second Crash to Desktop

Quote:
Originally Posted by wholybee View Post
Often they are useless without running a debug build.
As someone who gathers and reads them daily, I would say this is inaccurate information. Certainly useless if you don't know how to read them. The only reason for an instrumented build if the unhandled exception occurs in a section of code that is used in multiple places. In that case, you might need to notate each section so you can determine which section is actually crashing.

As someone who deals with process crashes daily, this is really step #1.
Shrew is offline   Reply With Quote
Reply

Tags
desktop

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
OpenCPN 5.0 Zoom Crash to Desktop Tolt OpenCPN 9 24-08-2022 06:52
Mac Mini Desktop Computers sluissa Marine Electronics 27 05-09-2009 19:46
Desktop Users? Rhosyn Mor Construction, Maintenance & Refit 28 23-06-2009 01:37
Using a desktop computer aboard an offshore boat Euro Cruiser General Sailing Forum 28 18-08-2005 23:55

  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 12:06.


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