[Networkit] possible bug

Christian Staudt christian.staudt at kit.edu
Mon Apr 4 13:59:42 CEST 2016


The following leads to a crash. Either workflows.extractLargestComponent or distance.Diameter have a problem.
 Graph is attached.

In [5]: G = readGraph("/Users/cls/Desktop/G-2.metis.graph", Format.METIS)

In [6]: components.ConnectedComponents(G).run().numberOfComponents()
Out[6]: 7

In [7]: C = workflows.extractLargestComponent(G)
INFO:root:extracting component 0 containing 2042 nodes

In [8]: distance.Diameter(C).run().getDiameter()
Python(26919,0x7fff72b8d000) malloc: *** error for object 0x7fb97393c028: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20160404/36956951/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: G-2.metis.graph
Type: application/octet-stream
Size: 126644 bytes
Desc: not available
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20160404/36956951/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20160404/36956951/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20160404/36956951/attachment-0001.sig>


More information about the NetworKit mailing list