Opened 11 years ago

Last modified 8 years ago

#9880 closed defect

Segfault in PyNaC 0.2.0.p4 — at Initial Version

Reported by: jpflori Owned by: burcin
Priority: major Milestone: sage-5.11
Component: symbolics Keywords: pynac spkg
Cc: kcrisman, zimmerma Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Here is a short example found by Burcin and reproducing the bug:

b = [var('b_%s'%i) for i in range(4)]

precomp = (2b_2 + 2)*(2b_1 + 2(-b_1) + 2b_1*2b_0 - 2b_1*2(-b_0)

  • 2(-b_1)*2b_0 - 2(-b_1)*2(-b_0) + 2b_0 + 2(-b_0) - 9) + (2b_1 +

2(-b_1) + 2b_1*2b_0 - 2b_1*2(-b_0) - 2(-b_1)*2b_0 - 2(-b_1)*2(-b_0) + 2b_0 + 2(-b_0) - 9)/2b_2

repl_dict = {b_0: b_0, b_3: b_1, b_2: b_3, b_1: b_2} P = precomp.substitute(repl_dict) P.expand()

This is already being discussed here: http://groups.google.com/group/sage-support/browse_thread/thread/7c85f02c76012722

Change History (0)

Note: See TracTickets for help on using tickets.