Package: numactl
Version: 2.0.8-2
Severity: important

Running this on a 3.8.5 and 3.9.4 kernel *without* SMP (AKA
"CONFIG_SMP is not set), i386 live system inside KVM:

  # numactl --hardware
  available: 0 nodes ()
  [1]    8258 segmentation fault  numactl --hardware

,---- [ strace -f numactl --hardware ]
| execve("/usr/bin/numactl", ["numactl", "--hardware"], [/* 37 vars */]) = 0
| brk(0)                                  = 0x8a72000
| access("/etc/ld.so.nohwcap", F_OK)      = 0
| mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb77cb000
| access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
| open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
| fstat64(3, {st_mode=S_IFREG|0644, st_size=38660, ...}) = 0
| mmap2(NULL, 38660, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb77c1000
| close(3)                                = 0
| access("/etc/ld.so.nohwcap", F_OK)      = 0
| open("/usr/lib/libnuma.so.1", O_RDONLY|O_CLOEXEC) = 3
| read(3, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200)\0\0004\0\0\0"..., 512) = 
512
| fstat64(3, {st_mode=S_IFREG|0644, st_size=42952, ...}) = 0
| mmap2(NULL, 46220, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb77b5000
| mmap2(0xb77bf000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xb77bf000
| close(3)                                = 0
| access("/etc/ld.so.nohwcap", F_OK)      = 0
| open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
| read(3, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\227\1\0004\0\0\0"..., 512) 
= 512
| fstat64(3, {st_mode=S_IFREG|0755, st_size=1512872, ...}) = 0
| mmap2(NULL, 1526428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7640000
| mprotect(0xb77ae000, 4096, PROT_NONE)   = 0
| mmap2(0xb77af000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16e) = 0xb77af000
| mmap2(0xb77b2000, 10908, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb77b2000
| close(3)                                = 0
| mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb763f000
| mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb763e000
| set_thread_area({entry_number:-1 -> 6, base_addr:0xb763e700, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
useable:1}) = 0
| mprotect(0xb77af000, 8192, PROT_READ)   = 0
| mprotect(0xb77bf000, 4096, PROT_READ)   = 0
| mprotect(0x804e000, 4096, PROT_READ)    = 0
| mprotect(0xb77ec000, 4096, PROT_READ)   = 0
| munmap(0xb77c1000, 38660)               = 0
| brk(0)                                  = 0x8a72000
| brk(0x8a93000)                          = 0x8a93000
| open("/proc/self/status", O_RDONLY)     = 3
| fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
| mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb77ca000
| read(3, "Name:\tnumactl\nState:\tR (running)"..., 1024) = 757
| close(3)                                = 0
| munmap(0xb77ca000, 4096)                = 0
| openat(AT_FDCWD, "/sys/devices/system/node", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
| sched_getaffinity(0, 512, {1})          = 4
| openat(AT_FDCWD, "/sys/devices/system/cpu", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
| getdents64(3, /* 14 entries */, 32768)  = 424
| getdents64(3, /* 0 entries */, 32768)   = 0
| close(3)                                = 0
| open("/proc/self/status", O_RDONLY)     = 3
| fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
| mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb77ca000
| read(3, "Name:\tnumactl\nState:\tR (running)"..., 1024) = 758
| read(3, "", 1024)                       = 0
| close(3)                                = 0
| munmap(0xb77ca000, 4096)                = 0
| fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
| mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb77ca000
| write(1, "available: 0 nodes ()\n", 22available: 0 nodes ()
| ) = 22
| open("/sys/devices/system/node/node0/meminfo", O_RDONLY) = -1 ENOENT (No such 
file or directory)
| open("/sys/devices/system/node/node0/distance", O_RDONLY) = -1 ENOENT (No 
such file or directory)
| open("/sys/devices/system/node/node1/distance", O_RDONLY) = -1 ENOENT (No 
such file or directory)
| --- SIGSEGV (Segmentation fault) @ 0 (0) ---
| +++ killed by SIGSEGV +++
`----

I can easily reproduce the problem and could also share an ISO to
reproduce the issue if that would help (the 32bit ones on
http://grml.org/daily/), let me know if you need more information.

regards,
-mika-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2013-06-18t16-53...@devnull.michael-prokop.at

Reply via email to