{"action":"opened","issue":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/4","labels_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/4/comments","events_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/4/events","html_url":"https://github.com/marekr/kicad-issue-test/issues/4","id":120584240,"number":4,"title":"PCBnew crash when trying to add a net in a netclass","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/Critical","name":"Critical","color":"ffdddd"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Fix%20Released","name":"Fix Released","color":"ddffdd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T20:10:21Z","updated_at":"2015-12-05T20:10:21Z","closed_at":null,"body":"I created a new netclass (50_ohms) where I tried to add some nets.\nI selected my netclass in the right list with the selector, then selected a net name in the left list and then clicked on the button \">>>\".\nPcbnew crashes.\n\nHere is the backtrace of gdb:\n\nProgram received signal SIGSEGV, Segmentation fault.\nwxStringBase::compare (this=0x1294bc8, str=...) at src/common/string.cpp:948\n948         return ::wxDoCmp(data(), length(), str.data(), str.length());\n(gdb) bt\n#0  wxStringBase::compare (this=0x1294bc8, str=...) at src/common/string.cpp:948\n#1  0x000000000047dbf1 in ?? ()\n#2  0x000000000047e3e6 in DIALOG_DESIGN_RULES::makePointers(std::vector<NETCUP*, std::allocator<NETCUP*> >*, wxString const&) ()\n#3  0x000000000047e841 in DIALOG_DESIGN_RULES::FillListBoxWithNetNames(wxListCtrl*, wxString const&) ()\n#4  0x0000000000482f4c in DIALOG_DESIGN_RULES::OnRightToLeftCopyButton(wxCommandEvent&) ()\n#5  0x0000003a730f2070 in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=<value optimized out>, event=...)\n    at src/common/event.cpp:1231\n#6  0x0000003a730f21df in wxEvtHandler::SearchDynamicEventTable (this=0x122bde0, event=...) at src/common/event.cpp:1413\n#7  0x0000003a730f30e2 in wxEvtHandler::ProcessEvent (this=0x122bde0, event=...) at src/common/event.cpp:1289\n#8  0x000000346162f3c9 in gtk_button_clicked_callback (button=0x122bde0) at src/gtk/button.cpp:53\n#9  0x0000003faa80ba8e in IA__g_closure_invoke (closure=0x122bbc0, return_value=0x0, n_param_values=1, param_values=0x12d7e80, invocation_hint=\n    0x7fffffffbe40) at gclosure.c:767\n#10 0x0000003faa8214b0 in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, \n    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at gsignal.c:3317\n#11 0x0000003faa82225f in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, \n    var_args=0x7fffffffc030) at gsignal.c:2980\n#12 0x0000003faa8227a3 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>)\n    at gsignal.c:3037\n#13 0x000000346008d6f5 in gtk_real_button_released (button=0x11c1190 [GtkButton]) at gtkbutton.c:1707\n#14 0x0000003faa80ba8e in IA__g_closure_invoke (closure=0xb40b90, return_value=0x0, n_param_values=1, param_values=0x12d3940, invocation_hint=\n    0x7fffffffc250) at gclosure.c:767\n#15 0x0000003faa8207dc in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, \n    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at gsignal.c:3177\n#16 0x0000003faa82225f in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, \n    var_args=0x7fffffffc440) at gsignal.c:2980\n#17 0x0000003faa8227a3 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>)\n    at gsignal.c:3037\n#18 0x000000346008bf57 in gtk_button_button_release (widget=<value optimized out>, event=<value optimized out>) at gtkbutton.c:1599\n#19 0x0000003460153ae3 in _gtk_marshal_BOOLEAN__BOXED (closure=0xba75d0, return_value=0x7fffffffc6f0, n_param_values=<value optimized out>, \n    param_values=0x12c7400, invocation_hint=<value optimized out>, marshal_data=<value optimized out>) at gtkmarshalers.c:84\n#20 0x0000003faa80b9d9 in IA__g_closure_invoke (closure=0xba75d0, return_value=0x7fffffffc6f0, n_param_values=2, param_values=0x12c7400, \n    invocation_hint=0x7fffffffc6b0) at gclosure.c:767\n#21 0x0000003faa820b8d in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, \n    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at gsignal.c:3285\n#22 0x0000003faa8220fa in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, \n    var_args=0x7fffffffc8a0) at gsignal.c:2990\n#23 0x0000003faa8227a3 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>)\n    at gsignal.c:3037\n#24 0x000000346027633f in gtk_widget_event_internal (widget=0x11c1190 [GtkButton], event=0x10a45f0) at gtkwidget.c:4775\n#25 0x000000346014a844 in IA__gtk_propagate_event (widget=0x11c1190 [GtkButton], event=0x10a45f0) at gtkmain.c:2417\n#26 0x000000346014b983 in IA__gtk_main_do_event (event=0x10a45f0) at gtkmain.c:1622\n#27 0x000000345fc5feac in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>)\n    at gdkevents-x11.c:2372\n#28 0x0000003faa43923e in g_main_dispatch (context=0xb2c210) at gmain.c:1960\n#29 IA__g_main_context_dispatch (context=0xb2c210) at gmain.c:2513\n#30 0x0000003faa43cc28 in g_main_context_iterate (context=0xb2c210, block=<value optimized out>, dispatch=<value optimized out>, \n    self=<value optimized out>) at gmain.c:2591\n#31 0x0000003faa43d075 in IA__g_main_loop_run (loop=0x128cd90) at gmain.c:2799\n#32 0x000000346014beb7 in IA__gtk_main () at gtkmain.c:1218\n#33 0x00000034615e5c58 in wxEventLoop::Run (this=0x7fffffffcc70) at src/gtk/evtloop.cpp:76\n#34 0x000000346163ad51 in wxDialog::ShowModal (this=0x7fffffffccb0) at src/gtk/dialog.cpp:146\n#35 0x000000000045ccb3 in WinEDA_PcbFrame::ShowDesignRulesEditor(wxCommandEvent&) ()\n#36 0x0000003a730f2070 in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=<value optimized out>, event=...)\n    at src/common/event.cpp:1231\n#37 0x0000003a730f3034 in wxEventHashTable::HandleEvent (this=<value optimized out>, event=..., self=0xb9efc0) at src/common/event.cpp:906\n#38 0x0000003a730f3117 in wxEvtHandler::ProcessEvent (this=0xb9efc0, event=...) at src/common/event.cpp:1293\n#39 0x0000003a730f30a0 in wxEvtHandler::ProcessEvent (this=0xb9f2f8, event=...) at src/common/event.cpp:1300\n#40 0x00000034616552e6 in gtk_menu_clicked_callback (widget=<value optimized out>, menu=0x11cc720) at src/gtk/menu.cpp:653\n#41 0x0000003faa80ba8e in IA__g_closure_invoke (closure=0x11ccd20, return_value=0x0, n_param_values=1, param_values=0x10ac8c0, invocation_hint=\n    0x7fffffffd3b0) at gclosure.c:767\n#42 0x0000003faa820ec3 in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, \n    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at gsignal.c:3247\n#43 0x0000003faa82225f in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, \n    var_args=0x7fffffffd5a0) at gsignal.c:2980\n#44 0x0000003faa8227a3 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>)\n    at gsignal.c:3037\n#45 0x000000346027d4ee in IA__gtk_widget_activate (widget=0x11c79e0 [GtkImageMenuItem]) at gtkwidget.c:4806\n#46 0x00000034601647bd in IA__gtk_menu_shell_activate_item (menu_shell=0x11c5340 [GtkMenu], menu_item=0x11c79e0 [GtkImageMenuItem], \n    force_deactivate=<value optimized out>) at gtkmenushell.c:1139\n#47 0x000000346016646a in gtk_menu_shell_button_release (widget=0x11c5340 [GtkMenu], event=<value optimized out>) at gtkmenushell.c:678\n#48 0x0000003460153ae3 in _gtk_marshal_BOOLEAN__BOXED (closure=0xba75d0, return_value=0x7fffffffd8f0, n_param_values=<value optimized out>, \n    param_values=0xf15cd0, invocation_hint=<value optimized out>, marshal_data=<value optimized out>) at gtkmarshalers.c:84\n#49 0x0000003faa80ba8e in IA__g_closure_invoke (closure=0xba75d0, return_value=0x7fffffffd8f0, n_param_values=2, param_values=0xf15cd0, \n    invocation_hint=0x7fffffffd8b0) at gclosure.c:767\n#50 0x0000003faa820b8d in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, \n    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at gsignal.c:3285\n#51 0x0000003faa8220fa in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, \n    var_args=0x7fffffffdaa0) at gsignal.c:2990\n#52 0x0000003faa8227a3 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>)\n    at gsignal.c:3037\n#53 0x000000346027633f in gtk_widget_event_internal (widget=0x11c5340 [GtkMenu], event=0xd11b30) at gtkwidget.c:4775\n#54 0x000000346014a844 in IA__gtk_propagate_event (widget=0x11c5340 [GtkMenu], event=0xd11b30) at gtkmain.c:2417\n#55 0x000000346014b983 in IA__gtk_main_do_event (event=0xd11b30) at gtkmain.c:1622\n#56 0x000000345fc5feac in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>)\n    at gdkevents-x11.c:2372\n#57 0x0000003faa43923e in g_main_dispatch (context=0xb2c210) at gmain.c:1960\n#58 IA__g_main_context_dispatch (context=0xb2c210) at gmain.c:2513\n#59 0x0000003faa43cc28 in g_main_context_iterate (context=0xb2c210, block=<value optimized out>, dispatch=<value optimized out>, \n    self=<value optimized out>) at gmain.c:2591\n#60 0x0000003faa43d075 in IA__g_main_loop_run (loop=0x1036e80) at gmain.c:2799\n#61 0x000000346014beb7 in IA__gtk_main () at gtkmain.c:1218\n#62 0x00000034615e5c58 in wxEventLoop::Run (this=0xd0f5a0) at src/gtk/evtloop.cpp:76\n#63 0x000000346166e9eb in wxAppBase::MainLoop (this=0xb2bee0) at src/common/appcmn.cpp:312\n#64 0x0000003a73097abc in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at src/common/init.cpp:460\n#65 0x000000000055c2d2 in main ()"}}