Cant get any sound from MacBook Pro with headphones plugged in
The next time it happens please option-click (hold 'option' while clicking) on the volume icon in the menu bar.

There you should see all available sound cards and headphones.

Please let us know what entries you can see.

I get to very same response if I plug in a USB mixer.