Question: Maple 2025 hangs/locks and unable to stop server from GUI using simplify with timelimit

I wanted to try this simplification in Maple 2025, only to find timelimit hangs.

Waited 3 hrs when timelimit was 30 second. It seems simplify got locked up and timelimit does not work.

Not only that, Maple itself hangs and clicking on retsrat kernel or red small bottom at lower level corner in Maple 2025 has no effect at all.  

Only way is to kill all of Maple from command line.

Make sure to save all your work before trying.

There are two bugs here: First is that timelimit still hangs (even though Maplesoft claimed it is fixed almost 5 years ago)

https://www.mapleprimes.com/maplesoftblog/213986-Introducing-Maple-Learn-officially

You will also be pleased to know that Maple 2021 addresses the timelimit() issue that you mentioned.

The second issue is that one can not close the kernel from frontend. (well, this is because kernel hanged)

Note that closing Maple works using File->EXIT but this leaves the Maple kernel/mserver  running  in background!

So had to go kill that process from command line manually also.

So make sure to do this, else you will end up with many mserver processes running in background after maple is closed if you try this more than one time.

Any one knows why this happens for this example? Should not timelimit have finally been fixed in Maple 2025?

I have been complaining about timelimit not always working for ages. Have no idea why Maplesoft can't figure solution to this problem for good. 

timelimit is the most important command for me, as without it, my program will never work and will just keep hanging.

I spend 50% of my time finding worarounds around Maple bugs instead of what I should be doing which is write more code.

interface(version);

`Standard Worksheet Interface, Maple 2025.0, Linux, March 24 2025 Build ID 1909157`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1869. The version installed in this computer is 1866 created 2025, May 6, 10:52 hours Pacific Time, found in the directory /home/me/maple/toolbox/2025/Physics Updates/lib/`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 17 and is the same as the version installed in this computer, created May 5, 2025, 12:37 hours Eastern Time.`

restart;

e:= -a*(-1/2*((1/2*x)^a)^4*(2^a)^4*_C8^4*a*x+1/2*((1/2*x)^a)^3*(2^a)^3*(((2^a)^2*((
1/2*x)^a)^2*_C8^2-a^2*b^2+b^2)^2/(2^a)^2/((1/2*x)^a)^2/_C8^2)^(1/2)*_C8^3*x+1/4
*((1/2*x)^a)^2*(2^a)^2*(((2^a)^2*((1/2*x)^a)^2*_C8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a)^2*_C8^2-a^2*b
^2+b^2)^2/(2^a)^2/((1/2*x)^a)^2/_C8^2)^(1/2)*_C8^3*a-4*a^2*b^2*(2^a)^2*((1/2*x)
^a)^2*_C8^2+a^6*b^4-2*(1/2*x)^a*2^a*(((2^a)^2*((1/2*x)^a)^2*_C8^2-a^2*b^2+b^2)^
2/(2^a)^2/((1/2*x)^a)^2/_C8^2)^(1/2)*_C8*a^3*b^2+2*b^2*(2^a)^2*((1/2*x)^a)^2*
_C8^2-a^4*b^4+2*(1/2*x)^a*2^a*(((2^a)^2*((1/2*x)^a)^2*_C8^2-a^2*b^2+b^2)^2/(2^a
)^2/((1/2*x)^a)^2/_C8^2)^(1/2)*_C8*a*b^2-a^2*b^4+b^4)/(a-1)^2/(1+a)^2/_C8^2/((1
/2*x)^a)^2/(2^a)^2)^(1/2)*_C8^2-a^3*b^4*x+1/2*(1/2*x)^a*2^a*(((2^a)^2*((1/2*x)^
a)^2*_C8^2-a^2*b^2+b^2)^2/(2^a)^2/((1/2*x)^a)^2/_C8^2)^(1/2)*_C8*b^2*x+1/2*a*b^
4*x)/(a-1)/(1+a)/_C8^2/(((2^a)^2*((1/2*x)^a)^2*_C8^2-a^2*b^2+b^2)^2/(2^a)^2/((1
/2*x)^a)^2/_C8^2)^(1/2)/((1/2*x)^a)^2/(2^a)^2:

try
  timelimit(30, (simplify(e) assuming real)):
catch:
   print("cought timelimit");
end try:

 

 

Download timelimit_hang_in_maple_2025.mw

Please Wait...