I did a svn update this morning and the code works fine now. $ lstopo System(29MB) + P#0 $
On Sat, 2009-11-14 at 01:56 +0100, Samuel Thibault wrote: > So at some point the traversal ends up with a NULL pointer, weird. What > would be useful is output after passing --enable-debug to ./configure . For reference here is the offending output after building the old version with --enable-debug $ lstopo No cgroup or cpuset found No cgroup or cpuset found * Topology extraction from /proc/cpuinfo * 0 online processors found, with id max 0 0 * Topology summary * 0 processors (0 max id) 0 sockets 0 cores * CPU cpusets * System(29MB HP=0*0kB ) ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff Computing the system cpuset by ORing all Proc objects Applying the system cpuset to all nodes Removing empty objects except numa nodes and PCI devices Segmentation fault $ /proc/cpuinfo contains: Processor : XScale-IXP42x Family rev 1 (v5l) BogoMIPS : 266.24 Features : swp half fastmult edsp CPU implementer : 0x69 CPU architecture: 5TE CPU variant : 0x0 CPU part : 0x41f CPU revision : 1 Cache type : undefined 5 Cache clean : undefined 5 Cache lockdown : undefined 5 Cache format : Harvard I size : 32768 I assoc : 32 I line length : 32 I sets : 32 D size : 32768 D assoc : 32 D line length : 32 D sets : 32 Hardware : Linksys NSLU2 Revision : 0000 Serial : 0000000000000000 -- Ashley Pittman, Bath, UK. Padb - A parallel job inspection tool for cluster computing http://padb.pittman.org.uk