This is caused by pv::DeviceManager releasing the sdi, but not removing it from the pv::SigSession first. When the user selects the new device, pv::SigSession tries to close the old device - but this sdi is already cleared; an invalid pointer.