Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: [hwloc-devel] segv's in nightly
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-04-07 08:47:55


Here's the bt on RHEL4:

hwloc_iodevs

(gdb) bt
#0 0x00bc63f3 in _IO_vfscanf_internal () from /lib/tls/libc.so.6
#1 0x00bcb7f1 in vfscanf () from /lib/tls/libc.so.6
#2 0x00bcfd7f in fscanf () from /lib/tls/libc.so.6
#3 0x00fa24ca in hwloc_linux_parse_cpumap_file (file=0x0, set=0x8de7050)
    at topology-linux.c:1321
#4 0x00fa068c in hwloc_pci_find_hostbridge_parent (topology=0x8de3008,
    hostbridge=0x8de6f90, created=0xbff13c38) at topology-libpci.c:456
#5 0x00fa0fd8 in hwloc_look_libpci (topology=0x8de3008)
    at topology-libpci.c:720
#6 0x00f920fa in hwloc_discover (topology=0x8de3008) at topology.c:1980
#7 0x00f92ecc in hwloc_topology_load (topology=0x8de3008) at topology.c:2463
#8 0x080488b7 in main () at hwloc_iodevs.c:25
(gdb) up
#1 0x00bcb7f1 in vfscanf () from /lib/tls/libc.so.6
(gdb)
#2 0x00bcfd7f in fscanf () from /lib/tls/libc.so.6
(gdb)
#3 0x00fa24ca in hwloc_linux_parse_cpumap_file (file=0x0, set=0x8de7050)
    at topology-linux.c:1321
1321 while (fscanf(file, "%lx,", &map) == 1) /* read one kernel cpu mask and the ending comma */
(gdb) print file
$1 = (FILE *) 0x0
(gdb)

xmlbuffer looks identical:

(gdb) bt
#0 0x00bc63f3 in _IO_vfscanf_internal () from /lib/tls/libc.so.6
#1 0x00bcb7f1 in vfscanf () from /lib/tls/libc.so.6
#2 0x00bcfd7f in fscanf () from /lib/tls/libc.so.6
#3 0x00fed4ca in hwloc_linux_parse_cpumap_file (file=0x0, set=0x9ca4050)
    at topology-linux.c:1321
#4 0x00feb68c in hwloc_pci_find_hostbridge_parent (topology=0x9ca0008,
    hostbridge=0x9ca3f90, created=0xbff02528) at topology-libpci.c:456
#5 0x00febfd8 in hwloc_look_libpci (topology=0x9ca0008)
    at topology-libpci.c:720
#6 0x00fdd0fa in hwloc_discover (topology=0x9ca0008) at topology.c:1980
#7 0x00fddecc in hwloc_topology_load (topology=0x9ca0008) at topology.c:2463
#8 0x080487d1 in main () at xmlbuffer.c:24
(gdb) up
#1 0x00bcb7f1 in vfscanf () from /lib/tls/libc.so.6
(gdb)
#2 0x00bcfd7f in fscanf () from /lib/tls/libc.so.6
(gdb)
#3 0x00fed4ca in hwloc_linux_parse_cpumap_file (file=0x0, set=0x9ca4050)
    at topology-linux.c:1321
1321 while (fscanf(file, "%lx,", &map) == 1) /* read one kernel cpu mask and the ending comma */
(gdb) print file
$1 = (FILE *) 0x0
(gdb)

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/