I'm not sure if it is a bug, but this happens in our use case.
This runs quickly:
using StatsBase: fit, Histogram
fit(Histogram, [-5.6,-5.6])
This takes a very long time:
using StatsBase: fit, Histogram
fit(Histogram, [-5.603325961434038e29,-5.603325961434038e29])