Question: Is this crash new in Maple 2025.2?

I only have Maple 2025.2 on this new PC. Could someone just run this code on earlier Maple version and see if they get same crash?

I am finding many crashes in Maple 2025.2 (3 so far) and I am only 25% in my test.  But not sure if this is new or was there in Maple 2025.1 or earlier. 

I am trying to document all the new problems in Maple 2025.2.

Here is the worksheet (save all your work just in case).

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

sol:=y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-\
14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp
(6*_C1));

y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp(6*_C1))

infolevel[odetest]:=5;

5

odetest(sol,ode);

odetest: Performing an implicit solution test

odetest: Trying to eliminate constants using the order: [_C1]

odetest: Trying to eliminate _C1

 

 

Download maple_crash_odetest_2025_2_nov_26_2025.mw

Update

Based on comment below, I just checked. If I remove "C:Usersmemaple\toolbox2025Maple Customer Support Updateslib" and "C:Usersmemaple\toolbox2025Physics Updateslib"  from libname, then the crash goes away !

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

libname

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Users\me\maple\toolbox\2025\Maple Customer Support Updates\lib", "C:\Program Files\Maple 2025\lib"

libname:=libname[3];

"C:\Program Files\Maple 2025\lib"

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

sol:=y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-\
14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp
(6*_C1));

y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp(6*_C1))

infolevel[odetest]:=5;

5

odetest(sol,ode);

odetest: Performing an implicit solution test

odetest: Trying to eliminate constants using the order: [_C1]

odetest: Trying to eliminate _C1

odetest: Successful elimination of c__1

odetest: length of implicit solutions after isolating _Cn constants: 164

odetest: length after collecting objects and simplifying coefficients: 126

odetest: length after Solve w.r.t yn: 66

odetest: length after collect @ normal @ eval the ODE at the implicit solution: 0

Successful implicit test

0

 

 

Download maple_crash_odetest_2025_2_nov_26_2025_V2.mw

I also checked if libname had PHYSICS on it but no SUPPORT tools, and the crash also goes away. So the bug seems to be when adding SUPPORT tools. 


 

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

libname

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Users\me\maple\toolbox\2025\Maple Customer Support Updates\lib", "C:\Program Files\Maple 2025\lib"

libname:=libname[1],libname[3]

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Program Files\Maple 2025\lib"

libname

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Program Files\Maple 2025\lib"

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

sol:=y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-\
14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp
(6*_C1));

y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp(6*_C1))

infolevel[odetest]:=5;

5

odetest(sol,ode);

odetest: Performing an implicit solution test

odetest: Trying to eliminate constants using the order: [_C1]

odetest: Trying to eliminate _C1

odetest: Successful elimination of c__1

odetest: length of implicit solutions after isolating _Cn constants: 164

odetest: length after collecting objects and simplifying coefficients: 126

odetest: length after Solve w.r.t yn: 66

odetest: length after collect @ normal @ eval the ODE at the implicit solution: 0

Successful implicit test

0

 

 

Download maple_crash_odetest_2025_2_nov_26_2025_V3.mw

The crash only happens when SUPPORT tools is added:

 

Update DEC 6, 2025

I found something new about this crash. May be this gives someone at Maplesoft a clue why it happens.

Removing both Physics and SupportTools from libname, I can make it crash simply by adding this line before calling odetest

dsolve(diff(y(x),x$2)=0,arbitraryconstants=traditional):

If the above line is not there, there is no crash.

How could adding the above line cause the math engine to crash when calling odetest??

This worksheet shows this

Worksheet of the above


 

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1882 and is the same as the version installed in this computer, created 2025, December 1, 6:58 hours Pacific Time.`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

libname;

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Users\me\maple\toolbox\2025\Maple Customer Support Updates\lib", "C:\Program Files\Maple 2025\lib"

dsolve(diff(y(x),x$2)=0,arbitraryconstants=traditional):

sol:=y(x) = ((2*(x+11)*(1+x)^4*exp(12*_C1)-29*(1+x)^2*(x+103/29)*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(1+x)^4*exp(12*_C1)-34*(1+x)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(1+x)^4*exp(12*_C1)-\
14*(x+29/7)*(1+x)^2*exp(6*_C1)+27*x+81)/((10*(1+x)^4*exp(12*_C1)+27-37*(1+x)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(1+x)^4*exp(12*_C1)+54-50*(1+x)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(1+x)^4*exp(12*_C1)+27-22*(1+x)^2*exp
(6*_C1)):

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

#keep on Maple lib and remove everything else

libname:=libname[3]

"C:\Program Files\Maple 2025\lib"

#this will crash
odetest(sol,ode)

 

 

Download odetest_crash_maple_2025_2_at_dec_6_2025.mw

Now will repeat the above, but comment the line dsolve(diff(y(x),x$2)=0,arbitraryconstants=traditional): and now the crash goes away

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1882 and is the same as the version installed in this computer, created 2025, December 1, 6:58 hours Pacific Time.`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

libname;

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Users\me\maple\toolbox\2025\Maple Customer Support Updates\lib", "C:\Program Files\Maple 2025\lib"

#comment out
#dsolve(diff(y(x),x$2)=0,arbitraryconstants=traditional):

sol:=y(x) = ((2*(x+11)*(1+x)^4*exp(12*_C1)-29*(1+x)^2*(x+103/29)*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(1+x)^4*exp(12*_C1)-34*(1+x)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(1+x)^4*exp(12*_C1)-\
14*(x+29/7)*(1+x)^2*exp(6*_C1)+27*x+81)/((10*(1+x)^4*exp(12*_C1)+27-37*(1+x)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(1+x)^4*exp(12*_C1)+54-50*(1+x)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(1+x)^4*exp(12*_C1)+27-22*(1+x)^2*exp
(6*_C1)):

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

#keep on Maple lib and remove everything else

libname:=libname[3]

"C:\Program Files\Maple 2025\lib"

#this will not crash now
odetest(sol,ode)

0

 

 

Download odetest_crash_maple_2025_2_at_dec_6_2025_V2.mw

Why is adding the line dsolve(diff(y(x),x$2)=0,arbitraryconstants=traditional): cause odetest to crash?

Please Wait...