Sometimes the jack itself is broken. They can wear out if you use them frequently. The switch thinks the headphones are still plugged in. You can tinker around with bending the internals of the headphone jack to fix, but you may just as well put in a new one if that's what you figure is wrong...