Opened 10 years ago

Last modified 10 years ago

#11588 closed defect

copying a linear program crashes SAGE — at Initial Version

Reported by: john_perry Owned by: ncohen
Priority: major Milestone: sage-4.7.2
Component: linear programming Keywords: MixedIntegerLinearProgram, copy
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


It would be useful to copy a linear program, so that one doesn't have to recopy the constraints. Unfortunately, this crashes Sage, and pretty hard.

sage: eqs = MixedIntegerLinearProgram?() sage: eqs2 = copy(eqs) sage: eqs2

Unhandled SIGSEGV: A segmentation fault occurred in Sage. This probably occurred because a *compiled* component of Sage has a bug in it (typically accessing invalid memory) and is not properly wrapped with sig_on(), sig_off(). You might want to run Sage under gdb with 'sage -gdb' to debug this. Sage will now terminate (sorry).

Change History (0)

Note: See TracTickets for help on using tickets.