Opened 3 years ago

Last modified 3 years ago

## #23545 closed defect

# segmentation fault with coefficients() on symbolic expressions — at Version 1

Reported by: | vdelecroix | Owned by: | |
---|---|---|---|

Priority: | major | Milestone: | sage-8.2 |

Component: | symbolics | Keywords: | bug, symbolics |

Cc: | rws | Merged in: | |

Authors: | Reviewers: | ||

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description (last modified by )

On sage 8.0

sage: (x/(1+x)).coefficients() [[x/(x + 1), 0]] sage: (x^2/(1+x)).coefficients() Segmentation fault (core dumped)

Originally reported as:

sage: q,a,b = SR.var('q,a,b') sage: F = (a^2 + 6*a + 2*b)*q/(a^5 + 3*a^4*b + 3*a^3*b^2 + a^2*b^3) + (3*a + b)/(a^5 + 3*a^4*b + 3*a^3*b^2 + a^2*b^3) sage: F.coefficients() Erreur de segmentation (core dumped)

**Note:**See TracTickets for help on using tickets.

Confirmed. I added a minimal case.