I seem to have triggered a nasty bug in Maple 17. Consider the following code:
BlahObject := module()
export BlahMethod := proc()
local C, d, i;
add(C[i]*d[i] + C[i], i=1..4);
It triggers a Maple kernel crash for me when doing object construction:
B := Object(BlahObject);
The offending line is the one with add( ). It is ok if I add C[i]*d[i], but when the line contains both * and + it causes kernel death every time. This is strange as the proc is not even being executed... only constructing the object.
I am running Maple 17.02, it's also present in 17.01. But interestingly, it runs fine in Maple 16. Bug in Maple 17?