Gurobi Error 10005: Unable to retrieve attribute 'Pi'

This situation is more rare, but I encounter it anyway.

Set parameter OutputFlag to value 1
Set parameter QCPDual to value 1
Gurobi Optimizer version 11.0.2 build v11.0.2rc0 (win64 - Windows 11.0 (22631.2))

CPU model: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz, instruction set [SSE2|AVX|AVX2|AVX512]
Thread count: 4 physical cores, 8 logical processors, using up to 8 threads

Optimize a model with 528 rows, 288 columns and 2047 nonzeros
Model fingerprint: 0x2b227fd8
Model has 24 quadratic constraints
Coefficient statistics:
  Matrix range     [1e-03, 6e+00]
  QMatrix range    [1e+00, 1e+00]
  Objective range  [2e-01, 2e+01]
  Bounds range     [0e+00, 0e+00]
  RHS range        [5e-02, 5e+00]
Presolve removed 370 rows and 107 columns
Presolve time: 0.00s
Presolved: 158 rows, 204 columns, 485 nonzeros
Presolved model has 24 second-order cone constraints
Ordering time: 0.00s

Barrier statistics:
 AA' NZ     : 4.190e+02
 Factor NZ  : 1.458e+03
 Factor Ops : 1.652e+04 (less than 1 second per iteration)
 Threads    : 1

                  Objective                Residual
Iter       Primal          Dual         Primal    Dual     Compl     Time
   0  -1.25354714e+02 -3.75702206e+03  1.76e+01 2.10e+01  1.18e+02     0s
   1   3.53382960e+02 -2.86354426e+03  4.14e-01 2.63e+00  1.59e+01     0s
   2   2.45527260e+02 -4.03372205e+02  2.32e-03 3.77e-01  2.52e+00     0s
   3   8.35773331e+01 -7.05132949e+01  2.17e-04 6.90e-02  5.49e-01     0s
   4   3.88871083e+01  1.27671608e+01  1.85e-05 1.03e-02  8.99e-02     0s
   5   3.43244850e+01  2.55418767e+01  5.42e-06 3.41e-03  2.99e-02     0s
   6   3.25598824e+01  2.88231832e+01  1.57e-06 1.48e-03  1.28e-02     0s
   7   3.19555238e+01  3.14579383e+01  4.31e-07 6.49e-05  1.55e-03     0s
   8   3.17528802e+01  3.16894458e+01  8.10e-08 1.04e-06  1.89e-04     0s
   9   3.17077557e+01  3.17046971e+01  4.17e-09 1.28e-08  9.05e-06     0s
  10   3.17054821e+01  3.17051501e+01  3.91e-09 9.95e-10  9.82e-07     0s

Barrier solved model in 10 iterations and 0.01 seconds (0.00 work units)
Optimal objective 3.17054821e+01

Warning: failed to compute QCP dual solution due to inaccurate barrier solution
         Try decreasing BarQCPConvTol for more accuracy

User-callback calls 101, time in user-callback 0.00 sec