← Back to team overview

kicad-developers team mailing list archive

Re: Net selector

 

It's possible to trigger an assert by typing text which isn't found in the
list and then pressing up arrow key.
ASSERT INFO:
../src/gtk/listbox.cpp(719): assert "IsValid(n)" failed in
DoSetSelection(): invalid index in wxListBox::SetSelection

#11 NET_SELECTOR_COMBOPOPUP::onKeyDown() at
/work/ohjelmointi/kicad/kicad/common/widgets/net_selector.cpp:330

     m_listBox->SetSelection( std::max( m_listBox->GetSelection() - 1, 0 )
);

Application: kicad
Version: (6.0.0-rc1-dev-856-g9b027628e), debug build
Libraries:
    wxWidgets 3.0.3
Platform: Linux 4.13.0-46-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Compiler: GCC 7.2.0 with C++ ABI 1011

-Eeli Kaikkonen

References