[MacPorts] #57786: py37-graph-tool graph_draw throws segmentation fault without XQuartz running

MacPorts noreply at macports.org
Mon Dec 17 14:15:36 UTC 2018


#57786: py37-graph-tool graph_draw throws segmentation fault without XQuartz
running
---------------------+-----------------------------
 Reporter:  ssllmit  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.5.4
 Keywords:           |       Port:  py37-graph-tool
---------------------+-----------------------------
 {{{py37-graph-tool}}}'s method {{{graph_draw}}} throws a segmentation
 fault without an X11 server running (also an issue with previous
 versions).

 This may be an upstream issue, but throwing a segmentation fault is almost
 always a bad idea.

 First, make sure X11 isn't running. Everything works fine when it is.

 {{{
 ps -ef | grep XQuartz | grep -v grep
 }}}


 {{{
 import graph_tool.all as gt
 g = gt.Graph()
 v0 = g.add_vertex(); v1 = g.add_vertex(); v2 = g.add_vertex();
 e01 = g.add_edge(v0,v1); e12 = g.add_edge(v1,v2); e20 = g.add_edge(v2,v0);
 gt.graph_draw(g)


 Segmentation fault: 11
 }}}

 Versions:

 {{{
 $ port installed py37-graph-tool depof:py37-graph-tool
 The following ports are currently installed:
   boost @1.66.0_3+no_single+no_static+python37 (active)
   cairomm @1.12.2_0+x11 (active)
   cgal @4.13_0 (active)
   clang-7.0 @7.0.0_1+analyzer+libstdcxx (active)
   expat @2.2.6_1 (active)
   graphviz @2.40.1_1+pangocairo+x11 (active)
   libomp @7.0.0_0+universal (active)
   pkgconfig @0.29.2_0 (active)
   py37-cairo @1.18.0_0 (active)
   py37-gobject3 @3.28.3_0 (active)
   py37-graph-tool @2.27_2+clang70+openmp (active)
   py37-numpy @1.15.4_0+gfortran (active)
   py37-scipy @1.1.0_1+gfortran (active)
   python37 @3.7.1_0 (active)
   sparsehash @2.0.3_1 (active)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57786>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list