QT application fails when call is applied for both UXYZ call methods
thetille opened this issue · 3 comments
thetille commented
I recently got my nanovna v2 plus4 and tried to calibrate the unit using the QT application in Ubuntu. When i use the UXYZ and modified UXYZ method and hit apply the application crashed.
jeff-wittrock commented
Just received my nanovna v2. I am seeing the same problem running on windows 10 x64.
bvernoux commented
Same issue reproduced with Windows 10 x64
mtreis86 commented
Error in the terminal when crashing:
terminate called after throwing an instance of 'std::runtime_error' what(): matrix rank is not full! should be 4, is 3 ./run: line 3: 47172 Aborted (core dumped) LD_LIBRARY_PATH="$LIBDIR/libxavna/.libs:$LIBDIR/libxavna/xavna_mock_ui" "$@"
Relevant part of GDB backtrace of the coredump:
#5 0x00007f373c7f5f8e in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7f373c958220 <typeinfo for std::runtime_error>,
dest=0x7f373c80c050 <std::runtime_error::~runtime_error()>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
#6 0x00007f373e1323cf in xaxaxa::CalibrationEngine::computeCoefficients (this=0x7ffd3a460180) at /usr/include/c++/11.1.0/ext/new_allocator.h:89
#7 0x00007f373e14db68 in xaxaxa::SOLTCalibration::getSOLCoeffs (this=this@entry=0x5610a39f9a40, measurements=std::vector of length 3, capacity 3 = {...},
calStdModels=std::vector of length 3, capacity 3 = {...}) at calibration.C:221
#8 0x00007f373e157309 in xaxaxa::SOLTCalibration::computeCoefficients (this=0x5610a39f9a40, measurements=std::vector of length 7, capacity 7 = {...},
calStdModels=std::vector of length 7, capacity 7 = {...}) at calibration.C:152