[Top][All Lists]

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

[igraph] IGRAPH_FINALLY_REAL error in python binding

From: Yaohua Xiong
Subject: [igraph] IGRAPH_FINALLY_REAL error in python binding
Date: Wed, 11 Dec 2013 11:15:29 +0100


I'm relative new to the igraph lib and encounters a weird problem. The problem is boiled down like this:

given following code snippet
# initialize a graph with postive attribute "imp_tt"
for i in range(1000):
    sp = graph.shortest_paths(sidx, tidx, weights="imp_tt")[0][0]
for a small graph of 1000+ vertices, this code snippet works perfectly.
But for a bigger graph of 10000+ vertices the code crash with
python: igraph_error.c:173: IGRAPH_FINALLY_REAL: Assertion `no<100' failed.
after about 100 iterations.

However if I delete the weights="imp_tt" part it works again.

I searched the archive and get a sense that it involves a stack not get released. But then why it doesn't need to be explicitly released for the small graph?

Any Ideas what's going wrong?

Best Regards,
Yaohua Xiong

M.Sc. Engg Yaohua Xiong

Universität Stuttgart
Lehrstuhl für Verkehrsplanung und Verkehrsleittechnik

reply via email to

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