For the -device module, I just noticed that upstream had (and fixed) a similar bug [1]. However, the double-freeing code path is modified by Ubuntu's patch, creating a (kind of) different bug. I don't see a similar issue for -discover module in the upstream.
So, this turns out to be not exactly Ubuntu specific, but Ubuntu requires additional patch.
For the -device module, I just noticed that upstream had (and fixed) a similar bug [1]. However, the double-freeing code path is modified by Ubuntu's patch, creating a (kind of) different bug. I don't see a similar issue for -discover module in the upstream.
So, this turns out to be not exactly Ubuntu specific, but Ubuntu requires additional patch.
[1] https:/ /github. com/pulseaudio/ pulseaudio/ commit/ 4231befa7787dbb fdd24e7f9bb248a 18cbeab7a0