igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] C igraph, Non deterministic error in igraph_vector_size functio


From: Daniel Penalva
Subject: [igraph] C igraph, Non deterministic error in igraph_vector_size functior
Date: Thu, 22 Jan 2015 01:42:12 -0200

Non deterministic error in igraph_vector_size function

the reproducible code is fooda.tar. Unpack it, change a line on ./compila_percept_test (that is the gcc compiler line)

exec  in the following order:

./compila_percept_test
./exec_valgrind ./testpercept
./testpercept       (you must exec this file until you got the error),

note that under Valgrind it doesnot return the error (why !?)

The function probabilidades(Automata autom) is in automata0.c, the igraph_vector_size that return misbehavior is encapsulated in it.

Automata is a pointer to struct that has igraph_adjlist_t object, this will return a vector in line 85 of automata0.c , but in line 86 it returns vector size, and seems to be mesbehaving randomly.

is there a obvious reason for that ? or ... 

thank you !

Attachment: fooda.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]