GNOME Bugzilla – Bug 763582
Possible race in subscribtion handling
Last modified: 2019-05-28 11:23:00 UTC
There is at least one potential issue: if the subscribe message is canceled before a SID is set, the idle callback emit_notifications will not be canceled and run forever.
You are probably refering to this code, which does indeed look dangerous to me: if (proxy->priv->sid == NULL) /* No SID */ if (G_LIKELY (proxy->priv->subscribed)) /* subscription in progress, delay emision! */ return TRUE; The idle callback will then be called again and again.
https://gitlab.gnome.org/GNOME/gupnp/commit/26259bd31d4b77867e102b8d81030cfe671e6378