Thanks for reporting this.
See plot(sin(cos(x))/cos(x),(-pi,pi))
Well, in any case solve isn't supposed to be taking limits or anything, this function is undefined at pi/2!
$ ./sage -maxima
<snip>
using Lisp ECL 12.12.1
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) solve(sin(cos(x))/cos(x) = 0, x);
solve: using arc-trig functions to get a solution.
Some solutions will be lost.
%pi
(%o1) [x = ---]
2
(%i2)