Opened 10 years ago

Last modified 10 years ago

#11588 closed defect

copying a linear program crashes SAGE — at Version 1

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

Description (last modified by john_perry)

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 (1)

comment:1 Changed 10 years ago by john_perry

  • Description modified (diff)

sorry -- forgot the code block markup...

Note: See TracTickets for help on using tickets.