Opened 9 years ago

Last modified 8 years ago

#11942 closed defect

segfault on Graph().connected_component_containing_vertex('') — at Version 1

Reported by: kini Owned by: jason, ncohen, rlm
Priority: major Milestone: sage-5.0
Component: graph theory Keywords: segfault cython
Cc: Merged in:
Authors: Nathann Cohen Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by ncohen)

As title.

fs@zhenghe /tmp $ sage -c "Graph().connected_component_containing_vertex('')"

Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it 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.
/opt/sage/local/bin/sage-sage: line 772: 19065 Segmentation fault      sage-eval "$@"
fs@zhenghe /tmp $ 


Change History (1)

comment:1 Changed 9 years ago by ncohen

  • Authors set to Nathann Cohen
  • Description modified (diff)
  • Status changed from new to needs_review

Right ! :-p

This comes from an unchecked operation at the beginning of BFS/DFS. Fixed in the following patch :-)


Note: See TracTickets for help on using tickets.