There is a pretty nasty bug in Magento if you are using multi store view with configurable products. I have recently patched it nicely with an extension that overrides the original controller method. This is a much nicer fix than actually hacking the core files which can then break in the next upgrade.
Read more 16 Mar 2011