Tune length of differential pair
Description
I'm having the same problem reported on #2688 (closed), however, as I don't have a backtrace, I'm not really sure if the results are the same on that issue. Ideally, would be expected to tune differential pair as you would do wit a single track, but that's not the case.
Steps to reproduce
- Going back to #2688 (closed), open the reference project
- Hit "Tune lenght of differential pair"
- Select one differential track
- Move mouse around
- Pcbnew crashes with the following message:
kicad-nightly
/usr/include/c++/12/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)' failed.
/usr/bin/kicad-nightly: line 5: 13822 Aborted (core dumped) /usr/lib64/kicad-nightly/bin/kicad "$@"
KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 7.0.0-rc2-1.20230203git90e759e.fc37, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.14.1
libcurl/7.85.0 OpenSSL/3.0.5 zlib/1.2.12 libidn2/2.3.4 nghttp2/1.51.0
Platform: , 64 bit, Little endian, wxGTK, gnome-classic-xorg, x11
Build Info:
Date: Feb 3 2023 21:07:34
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.6.3
Curl: 7.85.0
ngspice: 38
Compiler: GCC 12.2.1 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON