I have a RHEL6.1 system on which I get a glibc error report: *** glibc detected *** hwloc-1.3/bin/lstopo: double free or corruption (!prev): 0x0000000001945630 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3d1a275716] /lib64/libpci.so.3[0x3d1aa06bdf] /lib64/libpci.so.3(pci_free_dev+0x1e)[0x3d1aa02c9e] /lib64/libpci.so.3(pci_cleanup+0x20)[0x3d1aa029e0] /root/hwloc-1.3/src/.libs/libhwloc.so.4(+0x1e8e2)[0x7f3ef14908e2] /root/hwloc-1.3/src/.libs/libhwloc.so.4(+0xa1fe)[0x7f3ef147c1fe] /root/hwloc-1.3/src/.libs/libhwloc.so.4(hwloc_topology_load+0x1a2)[0x7f3ef147d136] hwloc-1.3/bin/lstopo[0x405050] /lib64/libc.so.6(__libc_start_main+0xfd)[0x3d1a21ec9d] hwloc-1.3/bin/lstopo[0x402d49]
I tried writing a test program that does the same kinds of things with libpci that I think hwloc does, but I cannot reproduce this outside of hwloc. Does it look familiar? How can I help debug this? thanks, --Guy