Skip to content

Limit computation causes Sage to crash #14677

@sagetrac-tmonteil

Description

@sagetrac-tmonteil

The following behaviour has been reported on ask.sagemath.org:

sage: f(x) = (x^x-sin(x)^sin(x))/(x^3*log(x))
sage: f(x).limit(x=0)

leads to

;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt
;;;

/opt/sagemath/sage/sage : ligne 135 :  7856 Erreur de segmentation  "$SAGE_ROOT/spkg/bin/sage" "$@"

This still happens on sage-5.0, but on sage-4.8, this leads to

und

Note: a similar problem is reported at #26497.

CC: @kcrisman @slel

Component: symbolics

Keywords: maxima, limit, segfault

Issue created by migration from https://trac.sagemath.org/ticket/14677

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions