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 25-05-2015, 01:23   #1441
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Beta Test / Technical

Dave,
Just tried the latest pull and it seems to be fixed. Thanks

Jon

Quote:
Originally Posted by bdbcat View Post
jon...

Tool toggle assert fixed in github.

Please test and report.

Thanks
Dave
jongough is offline   Reply With Quote
Old 25-05-2015, 19:22   #1442
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Beta Test / Technical

Baikal...

re:
Code:
And the most important thing he noticed recently spot soundings on the S-57 charts are not in their places. At different charts of different displacement met the offset up to 30 meters. This issue also features in release 4.0
This is corrected in github now. Problem was float/double conversion and loss of precision.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 26-05-2015, 12:12   #1443
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Beta Test / Technical

Quote:
Originally Posted by bdbcat View Post
Hakan...

re:
Code:
Though, if I let the tools function "recreate cache" (or how it's named  in English) build the new cache the bad colors are partly there again.
Fixed in github now. You will need another cache rebuild.

Thanks. keep the bugs coming. Saves a lot of trouble when we start Beta.

Dave
Confirmed - ok
Thanks
Håkan
Hakan is offline   Reply With Quote
Old 26-05-2015, 12:26   #1444
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Beta Test / Technical

Now I may nag again but...
The heading and SOG lines still disappears as soon the ship icon is outside the chart instead of being drawn as far as they reaches on the (moved) chart as of previous O versions.
Håkan
Hakan is offline   Reply With Quote
Old 28-05-2015, 01:31   #1445
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Beta Test / Technical

CPN Built on the latest changes.
Grib_pi began not work properly when the particle map
watch the video
https://www.dropbox.com/sh/8mgecd365...Ex9xFcBta?dl=0

Yesterday did build on the changes for May 26. such problems were not
Baikal is offline   Reply With Quote
Old 28-05-2015, 14:06   #1446
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Beta Test / Technical

Dave,
Just downloaded the latest git and go the assert back from the options button.
Code:
ASSERT INFO:
../src/generic/listctrl.cpp(3367): assert "litem >= 0 && (size_t)litem < GetItemCount()" failed in SetItemState(): invalid list ctrl item index in SetItem

BACKTRACE:
[1] wxGenericListCtrl::SetItemState(long, long, long)
[2] wxSizer::Add(wxWindow*, int, int, int, wxObject*) /usr/include/wx-3.0/wx/sizer.h:1152
[3] options::CreateControls() /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:3106
[4] options::options(MyFrame*, int, wxString const&, wxPoint const&, wxSize const&, long) /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:874
[5] MyFrame::DoOptionsDialog() /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:4792
[6] MyFrame::DoSettings() /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:3968
[7] MyFrame::OnToolLeftClick(wxCommandEvent&) /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:3779
[8] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[9] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[11] wxEvtHandler::TryHereOnly(wxEvent&)
[12] wxEvtHandler::DoTryChain(wxEvent&)
[13] wxEvtHandler::ProcessEvent(wxEvent&)
[14] wxWindowBase::TryAfter(wxEvent&)
[15] wxEvtHandler::ProcessPendingEvents()
[16] wxAppConsoleBase::ProcessPendingEvents()
[17] wxApp::DoIdle()
[18] g_main_context_dispatch
[19] g_main_loop_run
[20] gtk_main
[21] wxGUIEventLoop::DoRun()
[22] wxEventLoopBase::Run()
[23] wxAppConsoleBase::MainLoop()
[24] wxEntry(int&, wchar_t**)
[25] main /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:803
[26] __libc_start_main
[27] _start
Jon
jongough is offline   Reply With Quote
Old 28-05-2015, 17:27   #1447
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Beta Test / Technical

jon...

I don't understand this at all.

In the source, options.cpp, at line 3106, there is no call to wxSizer->Add() as suggested by the backtrace.

Are you sure your source is up-to-date? What do you see at line options.cpp:3106?

I (and github) have:
Code:
    m_pageUI = CreatePanel( _("User Interface") );
Confused
Dave
bdbcat is offline   Reply With Quote
Old 28-05-2015, 20:54   #1448
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Beta Test / Technical

Dave,
I am confused too. I have the same line in my code, so I followed the error down the rabbit hole. The assert backtrace shows:
Code:
ASSERT INFO:
../src/generic/listctrl.cpp(3367): assert "litem >= 0 && (size_t)litem < GetItemCount()" failed in SetItemState(): invalid list ctrl item index in SetItem

BACKTRACE:
[1] wxGenericListCtrl::SetItemState(long, long, long)
[2] wxSizer::Add(wxWindow*, int, int, int, wxObject*) /usr/include/wx-3.0/wx/sizer.h:1152
[3] options::CreateControls() /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:3106
[4] options::options(MyFrame*, int, wxString const&, wxPoint const&, wxSize const&, long) /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:874
[5] MyFrame::DoOptionsDialog() /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:4792
[6] MyFrame::DoSettings() /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:3968
[7] MyFrame::OnToolLeftClick(wxCommandEvent&) /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:3779
[8] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[9] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[11] wxEvtHandler::TryHereOnly(wxEvent&)
[12] wxEvtHandler::DoTryChain(wxEvent&)
[13] wxEvtHandler::ProcessEvent(wxEvent&)
[14] wxWindowBase::TryAfter(wxEvent&)
[15] wxEvtHandler::ProcessPendingEvents()
[16] wxAppConsoleBase::ProcessPendingEvents()
[17] wxApp::DoIdle()
[18] g_main_context_dispatch
[19] g_main_loop_run
[20] gtk_main
[21] wxGUIEventLoop::DoRun()
[22] wxEventLoopBase::Run()
[23] wxAppConsoleBase::MainLoop()
[24] wxEntry(int&, wchar_t**)
[25] main /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:803
[26] __libc_start_main
[27] _start
The line of code I got to before the assert was options.cpp line 804, 805, 806 which has:
Code:
        m_pListCtrlMMSI->SetItemState( item_sel,
                    wxLIST_STATE_SELECTED | wxLIST_STATE_FOCUSED,
                    wxLIST_STATE_SELECTED | wxLIST_STATE_FOCUSED );
In my IDE in the frame stack I have:
Code:
#0 raise() at /build/buildd/eglibc-2.19/nptl/../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1 wxGUIAppTraits::ShowAssertDialog() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/gtk/utilsgtk.cpp:332
#2 ShowAssertDialog() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/appbase.cpp:1302
#3 wxAppConsoleBase::OnAssertFailure() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/appbase.cpp:781
#4 wxApp::OnAssertFailure() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/gtk/app.cpp:507
#5 wxDefaultAssertHandler() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/appbase.cpp:1093
#6 wxOnAssert() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/appbase.cpp:1178
#7 wxListMainWindow::SetItemState() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/generic/listctrl.cpp:3366
#8 wxGenericListCtrl::SetItemState() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/generic/listctrl.cpp:4770
#9 MMSI_Props_Panel::UpdateMMSIList() at /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:806
#10 options::CreatePanel_MMSI() at /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:2597
#11 options::CreateControls() at /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:3104
#12 options::options() at /data/public/working area/opencpn/remote/jongough/clean/src/options.cpp:873
#13 MyFrame::DoOptionsDialog() at /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:4792
#14 MyFrame::DoSettings() at /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:3968
#15 MyFrame::OnToolLeftClick() at /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:3779
#16 wxAppConsoleBase::CallEventHandler() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/appbase.cpp:623
#17 wxEvtHandler::ProcessEventIfMatchesId() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/event.cpp:1384
#18 wxEventHashTable::HandleEvent() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/event.cpp:990
#19 wxEvtHandler::TryHereOnly() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/event.cpp:1581
#20 wxEvtHandler::DoTryChain() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/event.cpp:1546
#21 wxEvtHandler::ProcessEventLocally() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/event.cpp:1514
#22 wxEvtHandler::ProcessEvent() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/event.cpp:1487
#23 wxWindowBase::TryAfter() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/wincmn.cpp:3427
#24 wxEvtHandler::ProcessPendingEvents() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/event.cpp:1351
#25 wxAppConsoleBase::ProcessPendingEvents() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/appbase.cpp:520
#26 wxApp::DoIdle() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/gtk/app.cpp:136
#27 wxapp_idle_callback() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/gtk/app.cpp:107
#28 g_main_context_dispatch() at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 ??() at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 g_main_loop_run() at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 gtk_main() at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 wxGUIEventLoop::DoRun() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/gtk/evtloop.cpp:65
#33 wxEventLoopBase::Run() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/evtloopcmn.cpp:78
#34 wxAppConsoleBase::MainLoop() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/appbase.cpp:334
#35 wxEntry() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/init.cpp:495
#36 wxEntry() at /build/buildd/wxwidgets3.0-3.0.0/objs_gtk_sh/../src/common/init.cpp:507
#37 main() at /data/public/working area/opencpn/remote/jongough/clean/src/chart1.cpp:803
I am not quite sure how to get more information on this. I am debugging using KDevelop, wxWidgets 3.0.0-2. Is there anything else you would need to help find this?

Jon
jongough is offline   Reply With Quote
Old 28-05-2015, 22:26   #1449
Registered User

Join Date: Apr 2015
Location: San Francisco
Posts: 108
Re: Beta Test / Technical

On OSX weather_routing_pi SEGVs when creating the initial configuration.

Frame 4 is the handoff from the plugin manager, and somewhere in there the value of vp (the plugin viewport) becomes 0, leading to a NULL pointer reference a few frames later.

I haven't figured out how to get the debugger to give better information in the dylibs.

The compiler gave a number of warnings like this that might be related:
Code:
/Users/lance/src/plugins/weather_routing_pi/src/ocpn_plugin.h:399:20: note: hidden overloaded virtual function 'opencpn_plugin::RenderOverlay' declared here: type
      mismatch at 1st parameter ('wxMemoryDC *' vs 'wxDC &')
      virtual bool RenderOverlay(wxMemoryDC *pmdc, PlugIn_ViewPort *vp);
Stack backtrace:
Code:
Lances-MacBook-Pro-2:~ lance$ lldb /usr/local/bin/OpenCPN.app/Contents/MacOS/OpenCPN 
(lldb) target create "/usr/local/bin/OpenCPN.app/Contents/MacOS/OpenCPN"
Current executable set to '/usr/local/bin/OpenCPN.app/Contents/MacOS/OpenCPN' (x86_64).
(lldb) run
Process 94509 launched: '/usr/local/bin/OpenCPN.app/Contents/MacOS/OpenCPN' (x86_64)
Process 94509 stopped
* thread #1: tid = 0x7fec86, 0x00000001002ff3a7 OpenCPN`GetCanvasPixLL(vp=0x0000000000000000, pp=0x00007fff5fbf9fe0, lat=0, lon=0) + 55 at pluginmanager.cpp:1847, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x00000001002ff3a7 OpenCPN`GetCanvasPixLL(vp=0x0000000000000000, pp=0x00007fff5fbf9fe0, lat=0, lon=0) + 55 at pluginmanager.cpp:1847
   1844	{
   1845	    //    Make enough of an application viewport to run its method....
   1846	    ViewPort ocpn_vp;
-> 1847	    ocpn_vp.clat = vp->clat;
   1848	    ocpn_vp.clon = vp->clon;
   1849	    ocpn_vp.m_projection_type = vp->m_projection_type;
   1850	    ocpn_vp.view_scale_ppm = vp->view_scale_ppm;
(lldb) thread backtrace
* thread #1: tid = 0x7fec86, 0x00000001002ff3a7 OpenCPN`GetCanvasPixLL(vp=0x0000000000000000, pp=0x00007fff5fbf9fe0, lat=0, lon=0) + 55 at pluginmanager.cpp:1847, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x00000001002ff3a7 OpenCPN`GetCanvasPixLL(vp=0x0000000000000000, pp=0x00007fff5fbf9fe0, lat=0, lon=0) + 55 at pluginmanager.cpp:1847
    frame #1: 0x000000011144b07e libweather_routing_pi.dylib`RouteMapOverlay::Render(this=0x000000011363e6c0, time=wxDateTime at 0x00007fff5fbfa1a8, settingsdialog=0x0000000110a516c0, dc=0x00007fff5fbfa348, vp=0x0000000000000000, justendroute=false) + 142 at RouteMapOverlay.cpp:269
    frame #2: 0x00000001113dcbe8 libweather_routing_pi.dylib`WeatherRouting::Render(this=0x0000000110a50600, dc=0x00007fff5fbfa348, vp=0x0000000000000000) + 584 at WeatherRouting.cpp:220
    frame #3: 0x00000001113cfa61 libweather_routing_pi.dylib`weather_routing_pi::RenderGLOverlay(this=0x000000010ee1d930, pcontext=0x0000000000000000, vp=0x0000000000000000) + 145 at weather_routing_pi.cpp:325
    frame #4: 0x00000001113cfb17 libweather_routing_pi.dylib`non-virtual thunk to weather_routing_pi::RenderGLOverlay(this=0x000000010ee1d988, pcontext=0x0000000000000000, vp=0x00007fff5fbfa480) + 55 at weather_routing_pi.cpp:329
    frame #5: 0x00000001002fc29f OpenCPN`PlugInManager::RenderAllGLCanvasOverlayPlugIns(this=0x00000001017dab60, pcontext=0x0000000000000000, vp=0x0000000102825990) + 607 at pluginmanager.cpp:1075
    frame #6: 0x000000010021a327 OpenCPN`glChartCanvas::DrawFloatingOverlayObjects(this=0x0000000101852800, dc=0x00007fff5fbfb518, region=0x00007fff5fbfbfa8) + 295 at glChartCanvas.cpp:2212
    frame #7: 0x0000000100214ed1 OpenCPN`glChartCanvas::Render(this=0x0000000101852800) + 5713 at glChartCanvas.cpp:3740
    frame #8: 0x000000010020dd52 OpenCPN`glChartCanvas::OnPaint(this=0x0000000101852800, event=0x00007fff5fbfc290) + 354 at glChartCanvas.cpp:1442
    frame #9: 0x0000000100b7897f libwx_baseu-3.0.dylib`wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 351
    frame #10: 0x0000000100b795bd libwx_baseu-3.0.dylib`wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
    frame #11: 0x0000000100b794a7 libwx_baseu-3.0.dylib`wxEvtHandler::ProcessEvent(wxEvent&) + 103
    frame #12: 0x0000000100b7987f libwx_baseu-3.0.dylib`wxEvtHandler::SafelyProcessEvent(wxEvent&) + 15
    frame #13: 0x0000000100cbe929 libwx_osx_cocoau_core-3.0.dylib`wxWindow::MacDoRedraw(long) + 857
    frame #14: 0x0000000100d791bd libwx_osx_cocoau_core-3.0.dylib`wxWidgetCocoaImpl::drawRect(void*, NSView*, void*) + 781
    frame #15: 0x0000000100d77b06 libwx_osx_cocoau_core-3.0.dylib`wxOSX_drawRect(NSView*, objc_selector*, CGRect) + 86
    frame #16: 0x00007fff8a814799 AppKit`-[NSView _drawRect:clip:] + 4238
    frame #17: 0x00007fff8a812e0a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1875
    frame #18: 0x00007fff8a810ca6 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 913
    frame #19: 0x00007fff8a8120b0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
    frame #20: 0x00007fff8a8120b0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
    frame #21: 0x00007fff8a8120b0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
    frame #22: 0x00007fff8a810403 AppKit`-[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 333
    frame #23: 0x00007fff8a80c79b AppKit`-[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2761
    frame #24: 0x00007fff8a7c42be AppKit`-[NSView displayIfNeeded] + 1876
    frame #25: 0x00007fff8a7c3b19 AppKit`-[NSWindow displayIfNeeded] + 236
    frame #26: 0x00007fff8a7c3782 AppKit`_handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936
    frame #27: 0x00007fff8aef9191 AppKit`__83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1540 + 46
    frame #28: 0x00007fff8dc4a127 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    frame #29: 0x00007fff8dc4a080 CoreFoundation`__CFRunLoopDoObservers + 368
    frame #30: 0x00007fff8dc3c188 CoreFoundation`__CFRunLoopRun + 872
    frame #31: 0x00007fff8dc3bbd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #32: 0x00007fff8a98b4dd AppKit`_NSUnhighlightCarbonMenu + 272
    frame #33: 0x00007fff8a983a86 AppKit`-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 124
    frame #34: 0x00007fff87652cd7 libsystem_trace.dylib`_os_activity_initiate + 75
    frame #35: 0x00007fff8a9829ad AppKit`-[NSMenu performKeyEquivalent:] + 359
    frame #36: 0x00007fff8a981b6f AppKit`-[NSApplication _handleKeyEquivalent:] + 920
    frame #37: 0x00007fff8a88c93a AppKit`-[NSApplication sendEvent:] + 4080
    frame #38: 0x0000000100caf548 libwx_osx_cocoau_core-3.0.dylib`-[wxNSApplication sendEvent:] + 136
    frame #39: 0x00007fff8a7b5c68 AppKit`-[NSApplication run] + 711
    frame #40: 0x0000000100d5d1ee libwx_osx_cocoau_core-3.0.dylib`wxGUIEventLoop::OSXDoRun() + 110
    frame #41: 0x0000000100b58224 libwx_baseu-3.0.dylib`wxCFEventLoop::DoRun() + 52
    frame #42: 0x0000000100aab128 libwx_baseu-3.0.dylib`wxEventLoopBase::Run() + 88
    frame #43: 0x0000000100a7ca60 libwx_baseu-3.0.dylib`wxAppConsoleBase::MainLoop() + 128
    frame #44: 0x0000000100cf7d4a libwx_osx_cocoau_core-3.0.dylib`wxApp::OnRun() + 26
    frame #45: 0x0000000100ae5917 libwx_baseu-3.0.dylib`wxEntry(int&, wchar_t**) + 71
    frame #46: 0x000000010012bca6 OpenCPN`main(argc=1, argv=0x00007fff5fbffbe0) + 38 at chart1.cpp:803
    frame #47: 0x0000000100006d94 OpenCPN`start + 52
fogmachine is offline   Reply With Quote
Old 28-05-2015, 23:46   #1450
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Beta Test / Technical

Dave,
Looks like there should be a check that g_MMSI_Props_Array has a count greater than 0 (zero). Once I have a line in the MMSI tab I don't get the assert error.

Patch submitted.

Jon
jongough is offline   Reply With Quote
Old 29-05-2015, 08:17   #1451
Registered User

Join Date: Apr 2015
Location: San Francisco
Posts: 108
Re: Beta Test / Technical

Quote:
Originally Posted by fogmachine View Post
On OSX weather_routing_pi SEGVs when creating the initial configuration.

Frame 4 is the handoff from the plugin manager, and somewhere in there the value of vp (the plugin viewport) becomes 0, leading to a NULL pointer reference a few frames later.

I haven't figured out how to get the debugger to give better information in the dylibs.
When trying to repro I found I'm using the ptulp fork (with some Package hackery) - Sean's current doesn't compile on OSX.
fogmachine is offline   Reply With Quote
Old 29-05-2015, 08:37   #1452
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Beta Test / Technical

Quote:
Originally Posted by fogmachine View Post
I haven't figured out how to get the debugger to give better information in the dylibs.
Instead of using command line tools you might better use Xcode perhaps?
Xcode is quite powerful.

Gerhard
CarCode is offline   Reply With Quote
Old 29-05-2015, 10:12   #1453
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Beta Test / Technical

jon...

Good catch on the ListCtrl assert. Patch merged.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 29-05-2015, 10:38   #1454
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Beta Test / Technical

I repeat the old mistake with a track width settings

in the .ini
TrackLineWidth = 1
but in fact 2
Baikal is offline   Reply With Quote
Old 29-05-2015, 11:15   #1455
Registered User

Join Date: Apr 2015
Location: San Francisco
Posts: 108
Re: Beta Test / Technical

Quote:
Originally Posted by CarCode View Post
Instead of using command line tools you might better use Xcode perhaps?
Xcode is quite powerful.

Gerhard
Gerhard, Xcode's debugger is a GUI for lldb - you're right, they're both very powerful. Learning both at the same time is great fun.
fogmachine is offline   Reply With Quote
Reply


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
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 15:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 04:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 14:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 16:25

Advertise Here


All times are GMT -7. The time now is 01:55.


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.