Opened 4 years ago

Closed 4 years ago

#21502 closed defect (fixed)

empty graph YET AGAIN, this time chrpoly

Reported by: kcrisman Owned by:
Priority: major Milestone: sage-7.4
Component: graph theory Keywords:
Cc: Merged in:
Authors: Frédéric Chapoton Reviewers: Marc Mezzarobba
Report Upstream: N/A Work issues:
Branch: 750ff60 (Commits) Commit: 750ff60ad7acc9d9d49acff763ac9e38034e3d12
Dependencies: Stopgaps:


In 7.3.beta7:

sage: graphs.EmptyGraph().chromatic_polynomial()
0                          0x0000000103b01525 print_backtrace + 37
Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.

See this ask.sagemath question where however they just get an infinite loop? Apparently #14528 is also related and perhaps its status is why this never got fixed.

Change History (5)

comment:1 Changed 4 years ago by tscrim

Confirming this is still there on 7.4.beta4. Likely just needs a special case for the empty graph.

comment:2 Changed 4 years ago by chapoton

EDIT: wrong remark

Last edited 4 years ago by chapoton (previous) (diff)

comment:3 Changed 4 years ago by chapoton

  • Authors set to Frédéric Chapoton
  • Branch set to u/chapoton/21502
  • Commit set to 750ff60ad7acc9d9d49acff763ac9e38034e3d12
  • Status changed from new to needs_review

New commits:

750ff60trac 21502 chromatic poly of empty graph

comment:4 Changed 4 years ago by mmezzarobba

  • Reviewers set to Marc Mezzarobba
  • Status changed from needs_review to positive_review

comment:5 Changed 4 years ago by vbraun

  • Branch changed from u/chapoton/21502 to 750ff60ad7acc9d9d49acff763ac9e38034e3d12
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.