Why does my 2 bulb fixture have 40 volts going to it when a bulb is removed?
Any time I see a strange voltage like 40 volts, I immediately suspect a broken wire or a bad terminal. Since installing and removing one of the bulbs seems to cause a problem, I would start by removing that fixture and inspecting it and the nearby wiring for faults.