Opened 2 years ago

Closed 15 months ago

#27278 closed defect (fixed)

sage.libs.ppl : Segmentation fault in Constraint creation

Reported by: vklein Owned by:
Priority: major Milestone: sage-9.1
Component: geometry Keywords:
Cc: vdelecroix Merged in:
Authors: Vincent Klein Reviewers: Vincent Delecroix
Report Upstream: N/A Work issues:
Branch: c5c552e (Commits, GitHub, GitLab) Commit: c5c552e4848ea5642a6234cdbd2c18fdc255c908
Dependencies: Stopgaps:

Status badges

Description (last modified by vklein)

Trying to create a constraint from a constraint leads to a segfault.

sage: from sage.libs.ppl import *
sage: x=Variable(0)
sage: c = x == 0
sage: type(c)
<class 'sage.libs.ppl.Constraint'>
sage: Constraint(c)

Report the fix done by Vincent Delecroix for pplpy (see:34572241)

Change History (9)

comment:1 Changed 2 years ago by vklein

  • Component changed from linear programming to geometry

comment:2 Changed 2 years ago by embray

  • Milestone changed from sage-8.7 to sage-8.8

Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually)

comment:3 Changed 23 months ago by embray

  • Milestone sage-8.8 deleted

As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9).

comment:4 Changed 21 months ago by vklein

  • Authors set to Vincent Klein
  • Description modified (diff)

comment:5 Changed 21 months ago by vklein

  • Branch set to u/vklein/27278

comment:6 Changed 21 months ago by vklein

  • Commit set to c5c552e4848ea5642a6234cdbd2c18fdc255c908
  • Milestone set to sage-8.9
  • Status changed from new to needs_review

New commits:

c5c552eTrac #27278: Fix libs.ppl Constraint init

comment:7 Changed 16 months ago by embray

  • Milestone changed from sage-8.9 to sage-9.1

Ticket retargeted after milestone closed

comment:8 Changed 15 months ago by vdelecroix

  • Reviewers set to Vincent Delecroix
  • Status changed from needs_review to positive_review

does not hurt to merge...

comment:9 Changed 15 months ago by vbraun

  • Branch changed from u/vklein/27278 to c5c552e4848ea5642a6234cdbd2c18fdc255c908
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.