wBar += 1.0/wBar;
if(haveSpline)
dEst = fmin (dEst, calcDelayCurveInv (wBar));
wBar can be 0 such that wBar then becomes infinity, which makes calcDelayCurveInv throw an exception "Spline1DCalc: infinite X!"
The error can be easily reproduced by running several times of client-server connection for 10 seconds. It can also be easily fixed by changing line 558 of verus_server.cpp into
Starting from the line 508 of
verus_server.cpp
wBar
can be 0 such thatwBar
then becomes infinity, which makescalcDelayCurveInv
throw an exception "Spline1DCalc: infinite X!"The error can be easily reproduced by running several times of client-server connection for 10 seconds. It can also be easily fixed by changing line 558 of
verus_server.cpp
intobecause it is the
pdu->w
that makeswBar
be 0 sometimes.