[GRASS-dev] [GRASS GIS] #3487: vector digitizer unstable

GRASS GIS trac at osgeo.org
Sun Feb 25 07:33:40 PST 2018


#3487: vector digitizer unstable
------------------------+-------------------------
  Reporter:  cmbarton   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  critical   |  Milestone:
 Component:  wxGUI      |    Version:  7.2.2
Resolution:             |   Keywords:  digitizer
       CPU:  OSX/Intel  |   Platform:  MacOSX
------------------------+-------------------------

Comment (by balagates):

 I believe I am experiencing this same bug.  I have a new build of Grass
 7.4.0 using MacPorts.  I am using macOS 10.12.6.  I had similar problems
 with Grass 7.2.  I was able to use vdigit in Grass 7.0 but my OS and build
 process were likely different.

 The GUI crash always seems to happen (it is not intermittend for me) with
 three different ways of launching vdigit.  From the Layer Manager I have
 tried 1) right clicking on vector and selecting "start editing", 2)
 pressing the button "edit selected vector map".  From the Grass display I
 can successfully change the mode to "vector digitizer" which shows the
 vdigit interface but when I select the vector from the pulldown I get the
 crash.

 I have various crash logs and they all seem similar.  The "Performing
 @selector(clickedAction:)" is slightly different based on which path I
 took to cause the crash.  Parts of one, through the Display window, are
 pasted below.


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

 Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000000000ad
 Exception Note:        EXC_CORPSE_NOTIFY

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

 VM Regions Near 0xad:
 -->
     __TEXT                 0000000103706000-0000000103708000 [    8K]
 r-x/rwx SM=COW
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

 Application Specific Information:
 Performing @selector(clickedAction:) from sender wxNSToolBarButton
 0x7ff46c80f770

 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   _ctypes.so                          0x000000010b498628
 PyObject_stgdict + 8
 1   _ctypes.so                          0x000000010b497360 ConvParam + 32
 2   _ctypes.so                          0x000000010b496ead
 _ctypes_callproc + 205
 3   _ctypes.so                          0x000000010b4909cd PyCFuncPtr_call
 + 1101
 4   org.python.python                   0x000000010371dfe5 PyObject_Call +
 101
 5   org.python.python                   0x00000001037c49c3
 PyEval_EvalFrameEx + 21123
 6   org.python.python                   0x00000001037bf504
 PyEval_EvalCodeEx + 2132
 7   org.python.python                   0x00000001037c86fd fast_function +
 109
 8   org.python.python                   0x00000001037c4825
 PyEval_EvalFrameEx + 20709
 9   org.python.python                   0x00000001037bf504
 PyEval_EvalCodeEx + 2132
 10  org.python.python                   0x00000001037c86fd fast_function +
 109
 11  org.python.python                   0x00000001037c4825
 PyEval_EvalFrameEx + 20709
 12  org.python.python                   0x00000001037c87e3 fast_function +
 339
 13  org.python.python                   0x00000001037c4825
 PyEval_EvalFrameEx + 20709
 14  org.python.python                   0x00000001037c87e3 fast_function +
 339
 15  org.python.python                   0x00000001037c4825
 PyEval_EvalFrameEx + 20709
 16  org.python.python                   0x00000001037bf504
 PyEval_EvalCodeEx + 2132
 17  org.python.python                   0x0000000103744b31 function_call +
 337
 18  org.python.python                   0x000000010371dfe5 PyObject_Call +
 101
 19  org.python.python                   0x000000010372bf02
 instancemethod_call + 162
 20  org.python.python                   0x000000010371dfe5 PyObject_Call +
 101
 21  org.python.python                   0x00000001037c80ff
 PyEval_CallObjectWithKeywords + 159
 22  _core_.so                           0x000000010414d5a8
 wxPyCallback::EventThunker(wxEvent&) + 504
 23  libwx_baseu-3.0.dylib               0x0000000104cc2207
 wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
 wxEvtHandler*, wxEvent&) + 93
 24  libwx_baseu-3.0.dylib               0x0000000104cc353f
 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 89
 25  libwx_baseu-3.0.dylib               0x0000000104cc3490
 wxEvtHandler::TryHereOnly(wxEvent&) + 40
 26  libwx_baseu-3.0.dylib               0x0000000104cc33d4
 wxEvtHandler::ProcessEventLocally(wxEvent&) + 40
 27  libwx_baseu-3.0.dylib               0x0000000104cc3367
 wxEvtHandler::ProcessEvent(wxEvent&) + 185
 28  libwx_baseu-3.0.dylib               0x0000000104cc35ab
 wxEvtHandler::SafelyProcessEvent(wxEvent&) + 15
 29  libwx_osx_cocoau_core-3.0.dylib     0x0000000104821259
 wxToolBarBase::OnLeftClick(int, bool) + 79
 30  libsystem_trace.dylib               0x00007fff9d04f3a7
 _os_activity_initiate_impl + 53
 31  com.apple.AppKit                    0x00007fff854c7721
 -[NSApplication(NSResponder) sendAction:to:from:] + 456
 32  com.apple.AppKit                    0x00007fff84fabcc4 -[NSControl
 sendAction:to:] + 86
 33  com.apple.AppKit                    0x00007fff84fabbec __26-[NSCell
 _sendActionFrom:]_block_invoke + 136
 34  libsystem_trace.dylib               0x00007fff9d04f3a7
 _os_activity_initiate_impl + 53
 35  com.apple.AppKit                    0x00007fff84fabb44 -[NSCell
 _sendActionFrom:] + 128
 36  com.apple.AppKit                    0x00007fff84fee539 -[NSButtonCell
 _sendActionFrom:] + 98
 37  libsystem_trace.dylib               0x00007fff9d04f3a7
 _os_activity_initiate_impl + 53
 38  com.apple.AppKit                    0x00007fff84faa426 -[NSCell
 trackMouse:inRect:ofView:untilMouseUp:] + 2481
 39  com.apple.AppKit                    0x00007fff84fee272 -[NSButtonCell
 trackMouse:inRect:ofView:untilMouseUp:] + 798
 40  com.apple.AppKit                    0x00007fff84fa8ddb -[NSControl
 mouseDown:] + 832
 41  com.apple.AppKit                    0x00007fff8564324f
 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 6341
 42  com.apple.AppKit                    0x00007fff8563fa6c
 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1942
 43  com.apple.AppKit                    0x00007fff8563ef0a
 -[NSWindow(NSEventRouting) sendEvent:] + 541
 44  libwx_osx_cocoau_core-3.0.dylib     0x0000000104742bcc -[wxNSWindow
 sendEvent:] + 117
 45  com.apple.AppKit                    0x00007fff854c3681
 -[NSApplication(NSEvent) sendEvent:] + 1145
 46  libwx_osx_cocoau_core-3.0.dylib     0x00000001046a433e
 -[wxNSApplication sendEvent:] + 98
 47  com.apple.AppKit                    0x00007fff84d3e427 -[NSApplication
 run] + 1002
 48  libwx_osx_cocoau_core-3.0.dylib     0x000000010473a1ec
 wxGUIEventLoop::OSXDoRun() + 158
 49  libwx_baseu-3.0.dylib               0x0000000104c9b3af
 wxCFEventLoop::DoRun() + 39
 50  libwx_baseu-3.0.dylib               0x0000000104bfeefd
 wxEventLoopBase::Run() + 165
 51  libwx_baseu-3.0.dylib               0x0000000104bd0cfa
 wxAppConsoleBase::MainLoop() + 102
 52  _core_.so                           0x0000000104148954
 wxPyApp::MainLoop() + 84
 53  _core_.so                           0x00000001041aa212
 _wrap_PyApp_MainLoop(_object*, _object*) + 82
 54  org.python.python                   0x00000001037c04b0
 PyEval_EvalFrameEx + 3440
 55  org.python.python                   0x00000001037bf504
 PyEval_EvalCodeEx + 2132
 56  org.python.python                   0x0000000103744b31 function_call +
 337
 57  org.python.python                   0x000000010371dfe5 PyObject_Call +
 101
 58  org.python.python                   0x000000010372bf02
 instancemethod_call + 162
 59  org.python.python                   0x000000010371dfe5 PyObject_Call +
 101
 60  org.python.python                   0x00000001037c49c3
 PyEval_EvalFrameEx + 21123
 61  org.python.python                   0x00000001037c87e3 fast_function +
 339
 62  org.python.python                   0x00000001037c4825
 PyEval_EvalFrameEx + 20709
 63  org.python.python                   0x00000001037bf504
 PyEval_EvalCodeEx + 2132
 64  org.python.python                   0x00000001037c86fd fast_function +
 109
 65  org.python.python                   0x00000001037c4825
 PyEval_EvalFrameEx + 20709
 66  org.python.python                   0x00000001037bf504
 PyEval_EvalCodeEx + 2132
 67  org.python.python                   0x00000001037beca2 PyEval_EvalCode
 + 34
 68  org.python.python                   0x00000001037eac1d
 PyRun_FileExFlags + 157
 69  org.python.python                   0x00000001037ea799
 PyRun_SimpleFileExFlags + 697
 70  org.python.python                   0x000000010380080e Py_Main + 3006
 71  libdyld.dylib                       0x00007fff9ce1d235 start + 1

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3487#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list