View Revisions: Issue #4519

Summary 0004519: Segfault when using Editor paint tool
Revision 2018-03-13 16:55 by inorton
Description

Segfault when using Editor paint tool:

<pre>
(lldb) bt

  • thread 0000024, stop reason = EXC_BAD_ACCESS (code=2, address=0x11b715670)
    • frame #0: 0x00007fffd35e5f5a libsystem_platform.dylib_platform_memmove$VARIANT$Haswell + 186 frame 0000001: 0x00007fffd348e42e libsystem_c.dylib__memcpy_chk + 22
      frame 0000002: 0x000000011bf8d596 libvtkIO-9.0.1.dylibflush_pending(strm=0x0000700001134ad0) at deflate.c:547 frame 0000003: 0x000000011bf8cf0b libvtkIO-9.0.1.dylibslicer_zlib_deflate(strm=0x0000700001134ad0, flush=4) at deflate.c:765
      frame 0000004: 0x000000011bf8a2f6 libvtkIO-9.0.1.dylibslicer_zlib_compress2(dest=&quot;UH\x89?H??0&quot;, destLen=0x0000700001134c78, source=&quot;&quot;, sourceLen=5790091168, level=-1) at compress.c:49 frame 0000005: 0x000000011b7156e7 libvtkIO-9.0.1.dylibvtkZLibDataCompressor::CompressBuffer(unsigned char const, unsigned long, unsigned char, unsigned long) + 119
      frame 0000006: 0x00000001516bff61 libvtkSlicerEditorLibModuleLogic.dylibvtkImageStash::Stash(this=0x00000001591dc7a0) at vtkImageStash.cxx:107 frame 0000007: 0x00000001516bf8b9 libvtkSlicerEditorLibModuleLogic.dylibvtkImageStash_ThreadFunction(genericData=0x0000000148f4c740) at vtkImageStash.cxx:66
      frame 0000008: 0x00007fffd35ec93b libsystem_pthread.dylib_pthread_body + 180 frame 0000009: 0x00007fffd35ec887 libsystem_pthread.dylib_pthread_start + 286
      frame 0000010: 0x00007fffd35ec08d libsystem_pthread.dylib`thread_start + 13
      </pre>
Revision 2018-03-13 16:54 by inorton
Description

Segfault when using Editor paint tool:

%%
(lldb) bt

  • thread 0000024, stop reason = EXC_BAD_ACCESS (code=2, address=0x11b715670)
    • frame #0: 0x00007fffd35e5f5a libsystem_platform.dylib_platform_memmove$VARIANT$Haswell + 186 frame 0000001: 0x00007fffd348e42e libsystem_c.dylib__memcpy_chk + 22
      frame 0000002: 0x000000011bf8d596 libvtkIO-9.0.1.dylibflush_pending(strm=0x0000700001134ad0) at deflate.c:547 frame 0000003: 0x000000011bf8cf0b libvtkIO-9.0.1.dylibslicer_zlib_deflate(strm=0x0000700001134ad0, flush=4) at deflate.c:765
      frame 0000004: 0x000000011bf8a2f6 libvtkIO-9.0.1.dylibslicer_zlib_compress2(dest=&quot;UH\x89?H??0&quot;, destLen=0x0000700001134c78, source=&quot;&quot;, sourceLen=5790091168, level=-1) at compress.c:49 frame 0000005: 0x000000011b7156e7 libvtkIO-9.0.1.dylibvtkZLibDataCompressor::CompressBuffer(unsigned char const, unsigned long, unsigned char, unsigned long) + 119
      frame 0000006: 0x00000001516bff61 libvtkSlicerEditorLibModuleLogic.dylibvtkImageStash::Stash(this=0x00000001591dc7a0) at vtkImageStash.cxx:107 frame 0000007: 0x00000001516bf8b9 libvtkSlicerEditorLibModuleLogic.dylibvtkImageStash_ThreadFunction(genericData=0x0000000148f4c740) at vtkImageStash.cxx:66
      frame 0000008: 0x00007fffd35ec93b libsystem_pthread.dylib_pthread_body + 180 frame 0000009: 0x00007fffd35ec887 libsystem_pthread.dylib_pthread_start + 286
      frame 0000010: 0x00007fffd35ec08d libsystem_pthread.dylib`thread_start + 13
      %%
Revision 2018-03-13 16:49 by inorton
Description

Segfault when using Editor paint tool:

(lldb) bt
* thread 0000024, stop reason = EXC_BAD_ACCESS (code=2, address=0x11b715670)
  * frame #0: 0x00007fffd35e5f5a libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 186
    frame 0000001: 0x00007fffd348e42e libsystem_c.dylib`__memcpy_chk + 22
    frame 0000002: 0x000000011bf8d596 libvtkIO-9.0.1.dylib`flush_pending(strm=0x0000700001134ad0) at deflate.c:547
    frame 0000003: 0x000000011bf8cf0b libvtkIO-9.0.1.dylib`slicer_zlib_deflate(strm=0x0000700001134ad0, flush=4) at deflate.c:765
    frame 0000004: 0x000000011bf8a2f6 libvtkIO-9.0.1.dylib`slicer_zlib_compress2(dest=&quot;UH\x89?H??0&quot;, destLen=0x0000700001134c78, source=&quot;&quot;, sourceLen=5790091168, level=-1) at compress.c:49
    frame 0000005: 0x000000011b7156e7 libvtkIO-9.0.1.dylib`vtkZLibDataCompressor::CompressBuffer(unsigned char const*, unsigned long, unsigned char*, unsigned long) + 119
    frame 0000006: 0x00000001516bff61 libvtkSlicerEditorLibModuleLogic.dylib`vtkImageStash::Stash(this=0x00000001591dc7a0) at vtkImageStash.cxx:107
    frame 0000007: 0x00000001516bf8b9 libvtkSlicerEditorLibModuleLogic.dylib`vtkImageStash_ThreadFunction(genericData=0x0000000148f4c740) at vtkImageStash.cxx:66
    frame 0000008: 0x00007fffd35ec93b libsystem_pthread.dylib`_pthread_body + 180
    frame 0000009: 0x00007fffd35ec887 libsystem_pthread.dylib`_pthread_start + 286
    frame 0000010: 0x00007fffd35ec08d libsystem_pthread.dylib`thread_start + 13