torch / nngraph

Graph Computation for nn
Other
299 stars 97 forks source link

Segmentation fault (core dumped) #119

Open byronwwang opened 8 years ago

byronwwang commented 8 years ago

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

anjiang2016 commented 8 years ago

your graphviz could work?

ghost commented 8 years ago

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.

iammarvelous commented 7 years ago

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?

iammarvelous commented 7 years ago

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.

rcoborod commented 7 years ago

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 ...