Created attachment 199935 [details] Backtrace from debug build Use a debug build. 1. In Calc, Sheet - Fills Cells - Fill Random Number 2. Select Distribution: Chi Squared and let the nu Value be 0 and apply /usr/include/c++/14.2.1/bits/random.h:2591: std::gamma_distribution<_RealType>::param_type::param_type(_RealType, _RealType) [with _RealType = double]: Assertion '_M_alpha > _RealType(0)' failed. The dialog code is in https://git.libreoffice.org/core/+/refs/heads/master/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx