Activity log for bug #1744600

Date Who What changed Old value New value Message
2018-01-21 21:28:11 Jeff Young bug added bug
2018-01-22 00:43:59 Jon Evans kicad: importance Undecided High
2018-01-22 00:59:15 Jeff Young attachment added test-F.Cu.gbr https://bugs.launchpad.net/kicad/+bug/1744600/+attachment/5040739/+files/test-F.Cu.gbr
2018-01-22 01:00:25 Jeff Young description Open a gerber. Right click to select a pad. Close document. Assertion failure. Is there any reason we allow selection in gerbveiw? It doesn't seem to have a purpose.... Assertion failed: (IsMapped()), function Allocate, file /Users/jeff/kicad_dev/kicad/common/gal/opengl/cached_container.cpp, line 108. Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff694dee3e __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff6961d150 pthread_kill + 333 2 libsystem_c.dylib 0x00007fff6943b312 abort + 127 3 libsystem_c.dylib 0x00007fff69403368 __assert_rtn + 320 4 _gerbview.kiface 0x0000000109299acd KIGFX::CACHED_CONTAINER::Allocate(unsigned int) + 141 (cached_container.cpp:108) 5 _gerbview.kiface 0x00000001092a8084 KIGFX::VERTEX_MANAGER::Reserve(unsigned int) + 148 (vertex_manager.cpp:71) 6 _gerbview.kiface 0x00000001092690bf KIGFX::OPENGL_GAL::DrawCircle(VECTOR2<double> const&, double) + 63 (opengl_gal.cpp:471) 7 _gerbview.kiface 0x0000000108fb74b2 KIGFX::GERBVIEW_PAINTER::drawFlashedShape(GERBER_DRAW_ITEM*, bool) + 546 (gerbview_painter.cpp:431) 8 _gerbview.kiface 0x0000000108fb6c9c KIGFX::GERBVIEW_PAINTER::draw(GERBER_DRAW_ITEM*, int) + 3708 (gerbview_painter.cpp:332) 9 _gerbview.kiface 0x0000000108fb5df3 KIGFX::GERBVIEW_PAINTER::Draw(KIGFX::VIEW_ITEM const*, int) + 83 (gerbview_painter.cpp:160) 10 _gerbview.kiface 0x00000001091241ca KIGFX::VIEW::updateItemGeometry(KIGFX::VIEW_ITEM*, int) + 554 (view.cpp:1169) 11 _gerbview.kiface 0x0000000109123b20 KIGFX::VIEW::invalidateItem(KIGFX::VIEW_ITEM*, int) + 336 (view.cpp:1099) 12 _gerbview.kiface 0x00000001091250b7 KIGFX::VIEW::UpdateItems() + 503 (view.cpp:1286) 13 _gerbview.kiface 0x0000000109234c89 EDA_DRAW_PANEL_GAL::onPaint(wxPaintEvent&) + 297 (draw_panel_gal.cpp:168) 14 libwx_baseu-3.0.0.4.0.dylib 0x000000010350fd96 wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const + 134 (appbase.cpp:612) 15 libwx_baseu-3.0.0.4.0.dylib 0x000000010350fe35 wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const + 149 (appbase.cpp:623) 16 libwx_baseu-3.0.0.4.0.dylib 0x00000001037361fc wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 220 (event.cpp:1396) 17 libwx_baseu-3.0.0.4.0.dylib 0x000000010373875f wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 335 (event.cpp:1754) 18 libwx_baseu-3.0.0.4.0.dylib 0x000000010373853d wxEvtHandler::TryHereOnly(wxEvent&) + 77 (event.cpp:1588) 19 libwx_baseu-3.0.0.4.0.dylib 0x00000001037382ad wxEvtHandler::TryBeforeAndHere(wxEvent&) + 77 (event.h:3680) 20 libwx_baseu-3.0.0.4.0.dylib 0x00000001037382ef wxEvtHandler::ProcessEventLocally(wxEvent&) + 47 (event.cpp:1525) 21 libwx_baseu-3.0.0.4.0.dylib 0x000000010373818e wxEvtHandler::ProcessEvent(wxEvent&) + 318 (event.cpp:1498) 22 libwx_baseu-3.0.0.4.0.dylib 0x0000000103737c81 wxEvtHandler::ProcessPendingEvents() + 1377 (event.cpp:1362) 23 libwx_baseu-3.0.0.4.0.dylib 0x000000010350f21c wxAppConsoleBase::ProcessPendingEvents() + 316 (appbase.cpp:522) 24 _gerbview.kiface 0x0000000109176103 TOOL_MANAGER::ProcessEvent(TOOL_EVENT const&) + 307 (tool_manager.cpp:755) 25 _gerbview.kiface 0x0000000108fbbedf GERBVIEW_SELECTION_TOOL::clearSelection() + 495 (selection_tool.cpp:617) 26 _gerbview.kiface 0x0000000108fbc3a9 GERBVIEW_SELECTION_TOOL::Main(TOOL_EVENT const&) + 1209 (selection_tool.cpp:241) Application: kicad Version: (2018-01-21 revision ba1fe4517)-master, debug build Libraries: wxWidgets 3.0.4 libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0 Platform: Mac OS X (Darwin 17.3.0 x86_64), 64 bit, Little endian, wxMac Build Info: wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8) Boost: 1.65.1 Curl: 7.57.0 Compiler: Clang 9.0.0 with C++ ABI 1002 Build settings: USE_WX_GRAPHICS_CONTEXT=ON USE_WX_OVERLAY=ON KICAD_SCRIPTING=OFF KICAD_SCRIPTING_MODULES=OFF KICAD_SCRIPTING_WXPYTHON=OFF KICAD_SCRIPTING_ACTION_MENU=OFF BUILD_GITHUB_PLUGIN=ON KICAD_USE_OCE=OFF KICAD_SPICE=OFF Open a gerber. Click to select a pad. Close document. Assertion failure. Is there any reason we allow selection in gerbveiw? It doesn't seem to have a purpose.... Assertion failed: (IsMapped()), function Allocate, file /Users/jeff/kicad_dev/kicad/common/gal/opengl/cached_container.cpp, line 108. Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff694dee3e __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff6961d150 pthread_kill + 333 2 libsystem_c.dylib 0x00007fff6943b312 abort + 127 3 libsystem_c.dylib 0x00007fff69403368 __assert_rtn + 320 4 _gerbview.kiface 0x0000000109299acd KIGFX::CACHED_CONTAINER::Allocate(unsigned int) + 141 (cached_container.cpp:108) 5 _gerbview.kiface 0x00000001092a8084 KIGFX::VERTEX_MANAGER::Reserve(unsigned int) + 148 (vertex_manager.cpp:71) 6 _gerbview.kiface 0x00000001092690bf KIGFX::OPENGL_GAL::DrawCircle(VECTOR2<double> const&, double) + 63 (opengl_gal.cpp:471) 7 _gerbview.kiface 0x0000000108fb74b2 KIGFX::GERBVIEW_PAINTER::drawFlashedShape(GERBER_DRAW_ITEM*, bool) + 546 (gerbview_painter.cpp:431) 8 _gerbview.kiface 0x0000000108fb6c9c KIGFX::GERBVIEW_PAINTER::draw(GERBER_DRAW_ITEM*, int) + 3708 (gerbview_painter.cpp:332) 9 _gerbview.kiface 0x0000000108fb5df3 KIGFX::GERBVIEW_PAINTER::Draw(KIGFX::VIEW_ITEM const*, int) + 83 (gerbview_painter.cpp:160) 10 _gerbview.kiface 0x00000001091241ca KIGFX::VIEW::updateItemGeometry(KIGFX::VIEW_ITEM*, int) + 554 (view.cpp:1169) 11 _gerbview.kiface 0x0000000109123b20 KIGFX::VIEW::invalidateItem(KIGFX::VIEW_ITEM*, int) + 336 (view.cpp:1099) 12 _gerbview.kiface 0x00000001091250b7 KIGFX::VIEW::UpdateItems() + 503 (view.cpp:1286) 13 _gerbview.kiface 0x0000000109234c89 EDA_DRAW_PANEL_GAL::onPaint(wxPaintEvent&) + 297 (draw_panel_gal.cpp:168) 14 libwx_baseu-3.0.0.4.0.dylib 0x000000010350fd96 wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const + 134 (appbase.cpp:612) 15 libwx_baseu-3.0.0.4.0.dylib 0x000000010350fe35 wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const + 149 (appbase.cpp:623) 16 libwx_baseu-3.0.0.4.0.dylib 0x00000001037361fc wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 220 (event.cpp:1396) 17 libwx_baseu-3.0.0.4.0.dylib 0x000000010373875f wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 335 (event.cpp:1754) 18 libwx_baseu-3.0.0.4.0.dylib 0x000000010373853d wxEvtHandler::TryHereOnly(wxEvent&) + 77 (event.cpp:1588) 19 libwx_baseu-3.0.0.4.0.dylib 0x00000001037382ad wxEvtHandler::TryBeforeAndHere(wxEvent&) + 77 (event.h:3680) 20 libwx_baseu-3.0.0.4.0.dylib 0x00000001037382ef wxEvtHandler::ProcessEventLocally(wxEvent&) + 47 (event.cpp:1525) 21 libwx_baseu-3.0.0.4.0.dylib 0x000000010373818e wxEvtHandler::ProcessEvent(wxEvent&) + 318 (event.cpp:1498) 22 libwx_baseu-3.0.0.4.0.dylib 0x0000000103737c81 wxEvtHandler::ProcessPendingEvents() + 1377 (event.cpp:1362) 23 libwx_baseu-3.0.0.4.0.dylib 0x000000010350f21c wxAppConsoleBase::ProcessPendingEvents() + 316 (appbase.cpp:522) 24 _gerbview.kiface 0x0000000109176103 TOOL_MANAGER::ProcessEvent(TOOL_EVENT const&) + 307 (tool_manager.cpp:755) 25 _gerbview.kiface 0x0000000108fbbedf GERBVIEW_SELECTION_TOOL::clearSelection() + 495 (selection_tool.cpp:617) 26 _gerbview.kiface 0x0000000108fbc3a9 GERBVIEW_SELECTION_TOOL::Main(TOOL_EVENT const&) + 1209 (selection_tool.cpp:241) Application: kicad Version: (2018-01-21 revision ba1fe4517)-master, debug build Libraries:     wxWidgets 3.0.4     libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0 Platform: Mac OS X (Darwin 17.3.0 x86_64), 64 bit, Little endian, wxMac Build Info:     wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)     Boost: 1.65.1     Curl: 7.57.0     Compiler: Clang 9.0.0 with C++ ABI 1002 Build settings:     USE_WX_GRAPHICS_CONTEXT=ON     USE_WX_OVERLAY=ON     KICAD_SCRIPTING=OFF     KICAD_SCRIPTING_MODULES=OFF     KICAD_SCRIPTING_WXPYTHON=OFF     KICAD_SCRIPTING_ACTION_MENU=OFF     BUILD_GITHUB_PLUGIN=ON     KICAD_USE_OCE=OFF     KICAD_SPICE=OFF
2018-01-22 02:16:26 Jon Evans kicad: status New Confirmed
2018-01-22 02:16:34 Jon Evans kicad: assignee Jon Evans (craftyjon)
2018-01-22 02:27:19 Jon Evans attachment added 0001-Reset-tools-when-clearing-gerber-draw-layers.patch https://bugs.launchpad.net/kicad/+bug/1744600/+attachment/5040759/+files/0001-Reset-tools-when-clearing-gerber-draw-layers.patch
2018-01-22 08:55:57 KiCad Janitor kicad: status Confirmed Fix Committed
2018-01-22 17:10:03 jean-pierre charras attachment added gerbview_fix.patch https://bugs.launchpad.net/kicad/+bug/1744600/+attachment/5041143/+files/gerbview_fix.patch
2018-01-22 20:01:50 Jeff Young kicad: status Fix Committed New
2018-01-22 20:18:38 KiCad Janitor kicad: status New Fix Committed
2018-07-16 17:15:46 KiCad Janitor kicad: status Fix Committed Fix Released