When the /etc/lvm/cache/.cache file contained an entry that no longer existed, the code read an uninitialised structure which lead to unreliable behaviour. This bug exposed itself as messages with undefined major and minor numbers.
/dev/nonexistent_device: stat failed: No such file or directory
Path /dev/nonexistent_device no longer valid for device(0,1)
This has been fixed and nonexistent devices are handled correctly while reading the .cache file. The messages referencing undefined (major,minor) pair are not generated and unitialized structures are not used anymore.