running rmaxima in an emacs shell gives
rlwrap: Oops, crashed (caught SIGFPE) - this should not have happened!
A web search shows that it seems this is not specific to maxima.
One workaround is to add this to the rmaxima script
if [ $TERM = "dumb" ]; then
exec maxima "$@"
This should catch many cases, but I believe the TERM variable could be different as well, eg. "emacs".
If you have several builds with different lisps, fixing this can slow the proliferation maxima scripts with different prefixes.
Versions: rlwrap 0.37
Maxima 5.25.1 with gcl, acl, ccl, sbcl.
and stock debian maxima 5.24.0-1