Selected meshes vanish when in object mode
Most definitely a glitch, because the only other instance I know of something like  this happening is when a cube I added in POV-ray rendering disappeared in edit mode because a certain script wasn't installed. Try re-opening Blender, and if that doesn't work, then you may have to uninstall Blender then re-install it.