Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 24-05-2018, 20:42   #1
Registered User

Join Date: Oct 2016
Posts: 15
opencpn mac crashes upon opening preferences

Hi guys, just upgraded to 4.8.4 and OpenCPN just keeps crashing when I open the preferences on my mac 10.13.3, or options in the OpenCPN interface.. (same)..

I upgraded from 4.8.2 since it did the same.. OpenCPN worked great before but I haven't used it for a couple of months.

I tried to downgrade but still the same. Also I moved my preferences folder, same crash, same problem.

Please help.

Eddie
evangorp is offline   Reply With Quote
Old 24-05-2018, 21:48   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
Re: opencpn mac crashes upon opening preferences

Needless to say that I can't reproduce your problem...
Are you really sure you moved your preferences folder correctly, while OpenCPN was not running? That would mean you would start with a completely clear installation with no settings at all, showing you the "not for navigation warning", no charts, etc. Was it the case?
If it was, I would really like to see your logfile.

Pavel
nohal is offline   Reply With Quote
Old 25-05-2018, 19:54   #3
Registered User

Join Date: Oct 2016
Posts: 15
Re: opencpn mac crashes upon opening preferences

Quote:
Originally Posted by nohal View Post
Needless to say that I can't reproduce your problem...
Are you really sure you moved your preferences folder correctly, while OpenCPN was not running? That would mean you would start with a completely clear installation with no settings at all, showing you the "not for navigation warning", no charts, etc. Was it the case?
If it was, I would really like to see your logfile.

Pavel
Hi Pavel, it was a clean install. All preferences and files were deleted and trash emptied. How can I send you the mac log file?

Many thanks!!
evangorp is offline   Reply With Quote
Old 26-05-2018, 01:02   #4
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,535
Re: opencpn mac crashes upon opening preferences

Quote:
Originally Posted by evangorp View Post
Hi Pavel, it was a clean install. All preferences and files were deleted and trash emptied. How can I send you the mac log file?

Many thanks!!
Sadly there exist no installer for OpenCPN for macOS. It exists only for some plugins but not for the main program. This might often cause problems for users not familiar with macOS.
The folder ~Library/Preferences/ keeps hundreds of files which mostly have nothing to do with OpenCPN. To delete them all is a bad idea. OpenCPN related files should only be in ~/Library/Preferences/opencpn/ and nothing elsewhere.
Another bad thing is that some plugins store supplementary files in /Applications/OpenCPN/ and not in ~/Library/Preferences/opencpn/plugins/ as it should. There seems to be not only users with poor knowledge of macOS but also programmers.


Gerhard
CarCode is offline   Reply With Quote
Old 26-05-2018, 20:52   #5
Registered User

Join Date: May 2018
Posts: 3
Re: opencpn mac crashes upon opening preferences

Hello,

I'm facing the same issue. OpenCPN 4.8.4 was working a couple of days ago (precisely on 2018-05-19), and today (2018-05-26) I cannot open the preferences panel anymore.
I checked the logs at: ~/Library/Logs/opencpn.log but nothing appears at the time of the crash.
The only thing I get is this in the stdout when running OpenCPN from the terminal:
$ /Applications/OpenCPN.app/Contents/MacOS/OpenCPN
Abort trap: 6

I tried to disable the plugins, remove charts, remove preference folder, reinstall... nothing helped.

Any idea? Could some shared library issue cause the problem?

Thanks,
Benjamin
beg2k1 is offline   Reply With Quote
Old 26-05-2018, 21:18   #6
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
Re: opencpn mac crashes upon opening preferences

Benjamin...
Can we have a look at the crash report macOS generates?
If it is the same issue as Eddie has, you should see this near the top:
Code:
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
[42895] stack overflow

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff57558e3e __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff57697150 pthread_kill + 333
2   libsystem_c.dylib             	0x00007fff574b53b1 __abort + 144
3   libsystem_c.dylib             	0x00007fff574b5c5c __stack_chk_fail + 205
4   org.opencpn                   	0x000000010efe0582 EnumerateSerialPorts() + 306

Pavel
nohal is offline   Reply With Quote
Old 26-05-2018, 21:40   #7
Registered User

Join Date: May 2018
Posts: 3
Re: opencpn mac crashes upon opening preferences

Hi Pavel,

I confirm, it's exactly what I see in the crash logs.
beg2k1 is offline   Reply With Quote
Old 27-05-2018, 17:26   #8
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
Re: opencpn mac crashes upon opening preferences

Eddie, Benjamin...
Please, give a try to https://spideroak.com/storage/NZXWQY...5480cb5da8df01 and let me know if your problem is fixed there.

Thanks

Pavel
nohal is offline   Reply With Quote
Old 27-05-2018, 23:46   #9
Registered User

Join Date: Oct 2016
Posts: 15
Re: opencpn mac crashes upon opening preferences

Pavel, you're a legend. The new file works and I can open preferences without any problems.

Is there anything else I should do?

Many thanks!!

Eddie
evangorp is offline   Reply With Quote
Old 28-05-2018, 06:32   #10
Registered User

Join Date: May 2018
Posts: 3
Re: opencpn mac crashes upon opening preferences

Hi Pavel,
It works also for me, well done!

Many thanks!
beg2k1 is offline   Reply With Quote
Old 18-09-2018, 01:40   #11
Registered User

Join Date: Sep 2018
Posts: 2
Re: opencpn mac crashes upon opening preferences

Quote:
Originally Posted by nohal View Post
Eddie, Benjamin...
Please, give a try to https://spideroak.com/storage/NZXWQY...5480cb5da8df01 and let me know if your problem is fixed there.

Thanks

Pavel

Same problem here but link doesn't work.
old_al is offline   Reply With Quote
Old 18-09-2018, 03:24   #12
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
Re: opencpn mac crashes upon opening preferences

The fix will be part of the next regular beta release.
nohal is offline   Reply With Quote
Old 18-09-2018, 04:46   #13
Registered User

Join Date: Sep 2018
Posts: 2
Re: opencpn mac crashes upon opening preferences

Quote:
Originally Posted by nohal View Post
The fix will be part of the next regular beta release.

Thanks!
old_al is offline   Reply With Quote
Old 24-10-2018, 16:16   #14
Registered User

Join Date: Jun 2017
Location: Sydney, AU
Boat: Swanson 36
Posts: 3
Re: opencpn mac crashes upon opening preferences

Hi Everyone,

New to OpenCPN and cruisers forums! So glad to find that I am not the only person having this issue.

Any suggestions as to how to fix this before the next release? I am running OpenCPN 4.8.6 and MacOS 10.13.6 and get the same crash message from MacOS as nohal posted above, when clicking the options spanner or preferences from the native menu.

Cheers,

Sam
sammorrison is offline   Reply With Quote
Old 24-10-2018, 17:10   #15
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
Re: opencpn mac crashes upon opening preferences

Either build the current master branch from source or wait for the next release.
nohal is offline   Reply With Quote
Reply

Tags
enc, opencpn, references

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 crashes as soon as it is opened in Mac OSX 10.11.4 aguenther OpenCPN 11 22-04-2016 09:05
Mac OS X - location of preferences / senc files Strolls OpenCPN 7 14-07-2015 01:30
OpenCPN Mac OS Crashes When Creating Long Routes aewing OpenCPN 5 24-08-2013 21:39
OpenCPN for Mac crashes on S57 cell wbt OpenCPN 4 21-05-2013 04:43
OpenCPN 2.5 (Mac OSX) Crashes on Start Up ? farmerboy OpenCPN 4 31-12-2011 04:55

Advertise Here


All times are GMT -7. The time now is 02:16.


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.