Comment 11 for bug 1989073

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Full trace thorugh libnuma with symbols:

(gdb) bt
#0 __GI___open64_nocancel (file=file@entry=0x7f6833fbd948 "/sys/devices/system/cpu/possible", oflag=oflag@entry=524288) at ../sysdeps/unix/sysv/linux/open64_nocancel.c:39
#1 0x00007f6833f19a80 in read_sysfs_file (fname=fname@entry=0x7f6833fbd948 "/sys/devices/system/cpu/possible") at ../sysdeps/unix/sysv/linux/getsysstats.c:148
#2 0x00007f6833f19ee4 in __GI___get_nprocs_conf () at ../sysdeps/unix/sysv/linux/getsysstats.c:231
#3 0x00007f6833ee5862 in posix_sysconf (name=<optimized out>) at ../sysdeps/posix/sysconf.c:626
#4 linux_sysconf (name=<optimized out>) at ../sysdeps/unix/sysv/linux/x86/../sysconf.c:121
#5 __GI___sysconf (name=<optimized out>) at ../sysdeps/unix/sysv/linux/x86/sysconf.c:36
#6 0x00007f68340f8fb0 in set_configured_cpus () at libnuma.c:587
#7 0x00007f68340f9001 in set_sizes () at libnuma.c:602
#8 0x00007f68340f7d41 in numa_init () at libnuma.c:100
#9 0x00007f6834108f7a in call_init (l=0x7f68341021f0, argc=argc@entry=1, argv=argv@entry=0x7ffd9ca0c4c8, env=env@entry=0x7ffd9ca0c4d8) at ./elf/dl-init.c:56
#10 0x00007f68341090a8 in call_init (env=0x7ffd9ca0c4d8, argv=0x7ffd9ca0c4c8, argc=1, l=<optimized out>) at ./elf/dl-init.c:33
#11 _dl_init (main_map=0x7f683413b2e0, argc=1, argv=0x7ffd9ca0c4c8, env=0x7ffd9ca0c4d8) at ./elf/dl-init.c:117
#12 0x00007f68341218b0 in _dl_start_user () from /lib64/ld-linux-x86-64.so.2

We can check that code, so it is actually:
  sysconf(_SC_NPROCESSORS_CONF)