crash in bipartite.projection
Bug #1168894 reported by
sds
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Committed
|
High
|
Gábor Csárdi |
Bug Description
Ubuntu 12.10
R version 2.15.3 (2013-03-01)
igraph_0.6.5-1
the graph is, alas, pretty big:
IGRAPH UN-B 244260 1652874 --
+ attr: name (v/c), type (v/c), count (e/n)
Error in bipartite.
negative length vectors are not allowed
*** caught segfault ***
address 0x4c, cause 'memory not mapped'
Traceback:
1: .Call("
2: bipartite.
3: system.time(dp2 <- bipartite.
To post a comment you must log in.
small test case:
f <- data.frame( beg=c(" a","a", "b","b" ,"c","c" ),end=c( "1","2" ,"1","2" ,"1","2" ),weight= 1:6) frame(f, vertices= data.frame( vertex= c("a"," b","c", "1","2" ),type= c("b"," b","b", "e","e" ))) projection( g,probe1= "a")
g <- graph.data.
bipartite.
Error in bipartite. projection( g, probe1 = "a") :
negative length vectors are not allowed
*** caught segfault ***
address 0x4c, cause 'memory not mapped'
Traceback: R_igraph_ finalizer" , PACKAGE = "igraph") projection( g, probe1 = "a")
1: .Call("
2: bipartite.