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 20-03-2022, 10:43   #1
Registered User

Join Date: Apr 2018
Location: Saugatuck, MI
Boat: Nauticat 32
Posts: 287
OpenCPN Crashes on exit...

On Mac OS 10.15 (Catalina) OpenCPN crashes on exit on both my Macs. Where can I find the log and what do I look for to find out what the offense is? I suspect it's a plugin, but have no idea where to look...
SCarns is offline   Reply With Quote
Old 20-03-2022, 11:15   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,806
Re: OpenCPN Crashes on exit...

The log--> the About "?" button
You shall see a crash report from macOS.
Just look at it including the first thread. In case publish here.
bcn is offline   Reply With Quote
Old 20-03-2022, 11:23   #3
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
Re: OpenCPN Crashes on exit...

You will find the crash reports not at the hint of the About (?) button but at:
~Library/Logs/DiagnosticReports/
CarCode is offline   Reply With Quote
Old 20-03-2022, 12:14   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,806
Re: OpenCPN Crashes on exit...

Quote:
Originally Posted by bcn View Post
The log--> the About "?" button
You shall see a crash report from macOS.
Just look at it including the first thread. In case publish here.

Well, perhaps a less abreaviated version like:



The OpenCPN log--> the About "?" button


You shall see a crash report from macOS too.
Just look at it including the first thread. In case publish here
bcn is offline   Reply With Quote
Old 20-03-2022, 12:15   #5
Registered User

Join Date: Apr 2018
Location: Saugatuck, MI
Boat: Nauticat 32
Posts: 287
Re: OpenCPN Crashes on exit...

No "crash" to report. Only difference I can see is that it will report something like "12:10:07.270 MESSAGE chart1.cpp:2695 opencpn::MyApp exiting cleanly..."

Otherwise it just ends with no message of exit.

All that said, I have spent time troubleshooting. I've found the error lies somewhere between OpenDraw & Squiddio "OpenDraw TextPoint" layer. When Squiddio handles it's own POIs as waypoints, I don't get the crash. When I now try to move them back over onto OD TP, it crashes immediately. Which makes sense as this is something that started after I updated Squiddio 1.3.18.0 & OD 1.8.14.0.
SCarns is offline   Reply With Quote
Old 20-03-2022, 12:20   #6
Registered User

Join Date: Apr 2018
Location: Saugatuck, MI
Boat: Nauticat 32
Posts: 287
Re: OpenCPN Crashes on exit...

Thanks CarCode.

Here's the crash report:
Attached Files
File Type: pdf OpenCPN_2022-03-20-120318_Steves-MacBook.crash.pdf (83.4 KB, 20 views)
SCarns is offline   Reply With Quote
Old 20-03-2022, 12:28   #7
Registered User

Join Date: Apr 2018
Location: Saugatuck, MI
Boat: Nauticat 32
Posts: 287
Re: OpenCPN Crashes on exit...

Follow up:

I've taken OD out of the loop and find it exits cleanly. However, all the Squiddio POIs I deleted from Waypoints in Route Manager all come back after deleting them all, closing the app, and launching it again.

Upon removing Squiddio, everything else seems to work fine.
SCarns is offline   Reply With Quote
Old 20-03-2022, 12:56   #8
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,806
Re: OpenCPN Crashes on exit...

From the log the crash happens in draw_pi - might be triggered by some interaction with Squidd?


For Jon to have a look perhaps.


Code:
Process:               OpenCPN [8233]
Path:                  /Applications/OpenCPN.app/Contents/MacOS/OpenCPN
Identifier:            org.opencpn
Version:               5.6.0 (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           OpenCPN [8233]
User ID:               501

Date/Time:             2022-03-20 12:03:17.879 -0700
OS Version:            Mac OS X 10.15.7 (19H1824)
Report Version:        12
Anonymous UUID:        EC8F3D58-D43D-25EC-56F1-3D577608C368

Sleep/Wake UUID:       F225B087-D3A5-4A93-BE76-508C6637585C

Time Awake Since Boot: 17000 seconds
Time Since Wake:       9000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [8233]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libocpn_draw_pi.dylib             0x00000001109c1ad5 pugi::xml_node::append_child(char const*) + 21
1   libocpn_draw_pi.dylib             0x00000001108c5a26 ODNavObjectChanges::SetRootGPXNode() + 54
2   libocpn_draw_pi.dylib             0x00000001108c5aeb ODNavObjectChanges::AddODPoint(ODPoint*, char const*) + 27
3   libocpn_draw_pi.dylib             0x0000000110868df7 ODConfig::DeleteODPoint(ODPoint*) + 39
4   libocpn_draw_pi.dylib             0x0000000110998eb5 PointMan::DestroyODPoint(ODPoint*, bool) + 293
5   libocpn_draw_pi.dylib             0x0000000110998d28 PointMan::DeleteAllODPoints(bool) + 424
6   libocpn_draw_pi.dylib             0x00000001108535fa ocpn_draw_pi::DeInit() + 1466
7   org.opencpn                       0x0000000104786aa2 PlugInManager::DeactivatePlugIn(PlugInContainer*) + 578
8   org.opencpn                       0x0000000104793fb1 PlugInManager::DeactivateAllPlugIns() + 65
9   org.opencpn                       0x00000001044fb5aa MyFrame::OnCloseWindow(wxCloseEvent&) + 2682
10  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9b6ef wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 415
11  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9c35a wxEvtHandler::ProcessEvent(wxEvent&) + 186
12  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9c441 wxEvtHandler::ProcessEventLocally(wxEvent&) + 145
13  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9c300 wxEvtHandler::ProcessEvent(wxEvent&) + 96
14  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9c80c wxEvtHandler::SafelyProcessEvent(wxEvent&) + 12
15  libwx_osx_cocoau_core-3.1.5.0.0.dylib    0x00000001057e2218 wxWindowBase::Close(bool) + 88
16  org.opencpn                       0x0000000104500fdf MyFrame::OnFrameTimer1(wxTimerEvent&) + 959
17  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9b6ef wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 415
18  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9c40a wxEvtHandler::ProcessEventLocally(wxEvent&) + 90
19  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9c300 wxEvtHandler::ProcessEvent(wxEvent&) + 96
20  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d9c80c wxEvtHandler::SafelyProcessEvent(wxEvent&) + 12
21  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d4396a wxTimerImpl::SendEvent() + 90
22  com.apple.CoreFoundation          0x00007fff2e230db8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
23  com.apple.CoreFoundation          0x00007fff2e23091e __CFRunLoopDoTimer + 872
24  com.apple.CoreFoundation          0x00007fff2e230409 __CFRunLoopDoTimers + 322
25  com.apple.CoreFoundation          0x00007fff2e21506d __CFRunLoopRun + 1885
26  com.apple.CoreFoundation          0x00007fff2e2142b3 CFRunLoopRunSpecific + 466
27  com.apple.HIToolbox               0x00007fff2ce2faad RunCurrentEventLoopInMode + 292
28  com.apple.HIToolbox               0x00007fff2ce2f7c5 ReceiveNextEventCommon + 584
29  com.apple.HIToolbox               0x00007fff2ce2f569 _BlockUntilNextEventMatchingListInModeWithFilter + 64
30  com.apple.AppKit                  0x00007fff2b478659 _DPSNextEvent + 883
31  com.apple.AppKit                  0x00007fff2b476ea0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
32  com.apple.AppKit                  0x00007fff2b468bae -[NSApplication run] + 658
33  libwx_osx_cocoau_core-3.1.5.0.0.dylib    0x00000001056c5d6a wxGUIEventLoop::OSXDoRun() + 186
34  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d7bf8d wxCFEventLoop::DoRun() + 29
35  libwx_baseu-3.1.5.0.0.dylib       0x0000000105cd75f5 wxEventLoopBase::Run() + 85
36  libwx_baseu-3.1.5.0.0.dylib       0x0000000105caf264 wxAppConsoleBase::MainLoop() + 116
37  libwx_osx_cocoau_core-3.1.5.0.0.dylib    0x000000010565f3ea wxApp::OnRun() + 26
38  libwx_baseu-3.1.5.0.0.dylib       0x0000000105d09d38 wxEntry(int&, wchar_t**) + 56
39  org.opencpn                       0x00000001044e9bf4 main + 20
bcn is offline   Reply With Quote
Reply

Tags
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
OpenCPN for Mac crashes on S57 cell wbt OpenCPN 4 21-05-2013 04:43
macbook air - OpenCPN Install v3.0.2 crashes makhanov OpenCPN 3 10-07-2012 14:50
OpenCPN and GE crashes T_C OpenCPN 2 02-07-2012 01:30
OpenCPN 2.5 (Mac OSX) Crashes on Start Up ? farmerboy OpenCPN 4 31-12-2011 04:55
Opencpn 2.2 Build 823 Crashes when Dashboard Is Opened in Ubuntu tebsin OpenCPN 1 24-08-2010 14:16

Advertise Here


All times are GMT -7. The time now is 13:07.


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.