Segmentation fault with clustering executables

User 552 | 7/30/2014, 4:03:45 PM

I ran make on the clustering toolkit and 4 executables were created generatesynthetic,kmeans,graphlaplacianforsc,spectral_clustering. However, when I execute them I get: Segmentation fault: 11

Here are my details:

OS: Mac OSX 10.9.3 uname -a : Darwin <hostname> 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASEX8664 x8664 g++ -v: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x8664-apple-darwin13.2.0 Thread model: posix

Will be glad if you can please advise on what may be going wrong for me?

Regards Debdoot

Comments

User 38 | 8/4/2014, 8:59:11 PM

Hi Debdoot,

You could try to configure Graphlab with --no_tcmalloc. Works for me (10.9.4). There have been some issues with gperftools in the past, see https://code.google.com/p/gperftools/issues/detail?id=413 and https://groups.google.com/forum/#!msg/graphlab-kdd/SGfjqej1TqM/XTRMWg7946cJ

Hope this helps,

Helge