torch / nngraph

Graph Computation for nn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault (core dumped)

byronwwang opened this issue · comments

commented

when I run the code in terminal under 'th' with the following codes, I got the Segmentation fault error.
image

your graphviz could work?

Hi, I am having the same issue :
graph_test

The graph is actually created in the current folder despite the segmentation error.
graph_test1

So I tested graphviz with a simple graph created in a text file:
graph_test2
and got a correct graph:
graph

graphviz seems fine, I can't figure out why Torch crashes every time I call graph.dot.

Hi, guys. I have the same issue. Whenever I call graph.dot, torch crashes and I get segmentation fault. And graphviz works fine in bash. Do you guys figure it out?

Specifically, the package seems loading graphviz correctly.

I tried
graphvizOk, graphviz = pcall(function() return ffi.load('libgvc.so.6', true) end)
cgraphOk, cgraph = pcall(function() return ffi.load('libcgraph.so.6', true) end)
Both graphvizOk and cgraphOk returns true.

I get the same problem over a brand new centos 7.3 with a clean recent torch installation...following the documentation....

I am trying to type the same as in youtube practice 4.2 video, step by step ...