Opened 3 years ago
Closed 3 years ago
#21502 closed defect (fixed)
empty graph YET AGAIN, this time chrpoly
Reported by:  kcrisman  Owned by:  

Priority:  major  Milestone:  sage7.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: 
Description
In 7.3.beta7:
sage: graphs.EmptyGraph().chromatic_polynomial()  0 signals.so 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 3 years ago by
comment:3 Changed 3 years ago by
 Branch set to u/chapoton/21502
 Commit set to 750ff60ad7acc9d9d49acff763ac9e38034e3d12
 Status changed from new to needs_review
New commits:
750ff60  trac 21502 chromatic poly of empty graph

comment:4 Changed 3 years ago by
 Reviewers set to Marc Mezzarobba
 Status changed from needs_review to positive_review
comment:5 Changed 3 years ago by
 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.
Confirming this is still there on 7.4.beta4. Likely just needs a special case for the empty graph.