From: SourceForge.net <noreply@so...>  20100131 18:43:12

Bugs item #2938177, was opened at 20100123 14:20 Message generated for change (Comment added) made by robert_dodier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2938177&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Share Libraries Group: None Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Dieter Kaiser (crategus) Assigned to: Nobody/Anonymous (nobody) Summary: simplify_sum(sum(k^n,k,1,m)) > stack overflow Initial Comment: The following example causes a crash of Maxima: (%i1) load(simplify_sum)$ (%i2) sum(k^n,k,1,m); (%o2) 'sum(k^n,k,1,m) (%i3) simplify_sum(%); INFO: Control stack guard page unprotected Control stack guard page temporarily disabled: proceed with caution Maxima encountered a Lisp error: Observed with Maxima 5.20post and SBCL 1.0.29. Dieter Kaiser  >Comment By: Robert Dodier (robert_dodier) Date: 20100131 11:43 Message: changing resolution to "fixed" per previous comment.  Comment By: Andrej Vodopivec (andrejv) Date: 20100128 09:21 Message: Fixed in zeilberger_algorithm.mac rev 1.8.  Comment By: Dieter Kaiser (crategus) Date: 20100128 08:42 Message: Reopen this bug report: This bug is not related to the bug ID: 2938078  Crash on attached input. It is not observable with GCL (but present), with CLISP and SBCL Maxima enters an endless loop. Furthermore, I have gone back to old versions of Maxima. I have seen this bug with Maxima 5.16 too. The problem is the function $poly in algUtil.mac. The recursion is stopped, when the degree (the last argument to $poly) is equal to 1. But we have a symbolic expression as a degree and $poly loops endlessly. (%i7) load(simplify_sum)$ (%i8) trace(poly); (%o8) [poly] (%i9) sum(k^n,k,1,n); (%o9) 'sum(k^n,k,1,n) (%i10) simplify_sum(%); 1 Enter poly [k,_g,n+2] 2 Enter poly [k,_g,n+1] 3 Enter poly [k,_g,n] 4 Enter poly [k,_g,n1] 5 Enter poly [k,_g,n2] 6 Enter poly [k,_g,n3] 7 Enter poly [k,_g,n4] ... Dieter Kaiser  Comment By: Dieter Kaiser (crategus) Date: 20100123 18:49 Message: This is a duplicate of the reported problem Bug ID: 2938078  Crash on attached input. Again we get an endless loop between the functions maximaintegerp and checkintegerfacts. Closing this bug report as a duplicate. Dieter Kaiser  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2938177&group_id=4933 