Segmentation fault with agsafeset and agset.
Hello!
I'm having a trouble with the agsafeset
and agset
functions. They're always throwing Segmentation fault: 11
and I'm following all the steps. The code works perfectly without them. I was trying to set the label
attribute of the node, because I'm using an ID for nodes look up.
Thanks.
The C source code has been attached here:
main.c. The failing code it's located in the tree_plot
function.
Edited by Iván Ávalos