{"action":"opened","issue":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/65","labels_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/65/comments","events_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/65/events","html_url":"https://github.com/marekr/kicad-issue-test/issues/65","id":120592968,"number":65,"title":"crash on reloading zones after cleaning up tracks and vias","user":{"login":"marekr","id":1838013,"avatar_url":"https://avatars.githubusercontent.com/u/1838013?v=3","gravatar_id":"","url":"https://api.github.com/users/marekr","html_url":"https://github.com/marekr","followers_url":"https://api.github.com/users/marekr/followers","following_url":"https://api.github.com/users/marekr/following{/other_user}","gists_url":"https://api.github.com/users/marekr/gists{/gist_id}","starred_url":"https://api.github.com/users/marekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekr/subscriptions","organizations_url":"https://api.github.com/users/marekr/orgs","repos_url":"https://api.github.com/users/marekr/repos","events_url":"https://api.github.com/users/marekr/events{/privacy}","received_events_url":"https://api.github.com/users/marekr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/cern","name":"cern","color":"ededed"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Critical","name":"Critical","color":"ffdddd"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Fix%20Released","name":"Fix Released","color":"ddffdd"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/gal","name":"gal","color":"ededed"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/osx","name":"osx","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T22:37:40Z","updated_at":"2015-12-05T22:37:40Z","closed_at":null,"body":"BZR-6194\nOSX 10.10\n\n1. Ground pour on bottom layer\n2. 2 tracks going into a via on top layer (GND tracks)\n3. delete segment of each track\n4. Edit->clean up tracks and vias\n5. press b to update GND pour/polygon\ncrash\n\nwas able to reproduce with test project as attached\n\nBacktrace from lldb\n--\n(lldb) r\nProcess 3085 launched: '/Applications/kicad.app/Contents/MacOS/kicad' (x86_64)\nProcess 3085 stopped\n* thread #1: tid = 0x8e839, 0x000000010b0f00b7 _pcbnew.kiface`hed::NODE::updateLayers() + 39, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)\n    frame #0: 0x000000010b0f00b7 _pcbnew.kiface`hed::NODE::updateLayers() + 39\n_pcbnew.kiface`hed::NODE::updateLayers:\n->  0x10b0f00b7 <+39>: callq  *0x100(%rax)\n    0x10b0f00bd <+45>: orq    %rax, 0x20(%r15)\n    0x10b0f00c1 <+49>: movq   (%rbx), %rbx\n    0x10b0f00c4 <+52>: cmpq   %r14, %rbx\n(lldb) bt\n* thread #1: tid = 0x8e839, 0x000000010b0f00b7 _pcbnew.kiface`hed::NODE::updateLayers() + 39, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)\n  * frame #0: 0x000000010b0f00b7 _pcbnew.kiface`hed::NODE::updateLayers() + 39\n    frame #1: 0x000000010ae7fbd2 _pcbnew.kiface`RN_NET::processZones() + 1346\n    frame #2: 0x000000010ae84b9d _pcbnew.kiface`RN_DATA::updateNet(int) + 157\n    frame #3: 0x000000010ae84aa5 _pcbnew.kiface`RN_DATA::Recalculate(int) + 709\n    frame #4: 0x000000010aadd720 _pcbnew.kiface`PCB_EDITOR_CONTROL::ZoneFillAll(TOOL_EVENT const&) + 192\n    frame #5: 0x000000010b088ed6 _pcbnew.kiface`COROUTINE<int, TOOL_EVENT const&>::callerStub(long) + 38\n    frame #6: 0x000000010b1ca237 _pcbnew.kiface`make_fcontext + 55\n--"}}