Doing sin(x) by itself works:
(%i1) limit(sin(x), x, inf);
but sin(x)+1/x gives wrong result:
(%i2) limit(sin(x)+1/x, x, inf);
Fixed in limit.lisp
I've updated my Maxima and rebuilt, but the bug is still present. I don't see
anything in the log file for limit.lisp that indicates that this bug has been fixed.
Hmm, it seems to be fixed by commit 5ad2bf71294381da63cafdeded1e5e2de03aa936 from what I can tell. (Rebuilt and now limit(sin(x) + 1/x, x, inf) => ind as expected.)