Here's a file: https://dl.dropboxusercontent.com/u/3901152/bounds.psd
The X,Y positions of the shape's top-left corner are 185px and 269px according to Photoshop. But the bounds function gives them as 184 and 268. (Both CS5 and CS6)
The bounds of Layer 1 (which is just a brush stroke) are returned properly.