`switch-to-buffer-other-window' is behaving like
`switch-to-buffer-other-frame'. Pressing `C-x 4 b' brings the selected
buffer in a new frame instead of a new window. The behaviour is like
this even when the calls are from other lisp fucntions. For example,
while exporting an org-mode file with several source blocks a new frame
pops up and steals focus and goes out of focus repeatedly. This makes it
impossible to work with other applications during the export.
This is with Emacs 24 HEAD from sometime on June 17. Please feel free to
contact me if you need any more information. Hope this helps.