glibc detected *** /opt/pgi_623/linux86-64/6.2/bin/pgf901: d

Hi Mat, and experts in this forum,

while compiling one of the electronic structure simulation prog from public domain on amd64 cluster, i got the following error,


pgf90 -DHAVE_CONFIG_H -I. -I. -I…/… -I…/defs -I./…/defs -O2 -tp amd64 -c -o vtorhotf.o vtorhotf.F90
*** glibc detected *** /opt/pgi_623/linux86-64/6.2/bin/pgf901: double free or corruption (out): 0x00000000403e1b80 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3aff56a94e]
/lib64/libc.so.6(__libc_free+0x6e)[0x3aff56ae7e]
/opt/pgi_623/linux86-64/6.2/bin/pgf901[0x40026ed3]
/opt/pgi_623/linux86-64/6.2/bin/pgf901[0x4002711c]
/opt/pgi_623/linux86-64/6.2/bin/pgf901[0x40092e82]
/opt/pgi_623/linux86-64/6.2/bin/pgf901[0x40055aeb]
/opt/pgi_623/linux86-64/6.2/bin/pgf901[0x4004595a]
/opt/pgi_623/linux86-64/6.2/bin/pgf901[0x40045330]
/opt/pgi_623/linux86-64/6.2/bin/pgf901[0x4014c7b7]
/lib64/libc.so.6(__libc_start_main+0xdc)[0x3aff51c4cc]
/opt/pgi_623/linux86-64/6.2/bin/pgf901(strcat+0x4a)[0x40002b3a]
======= Memory map: ========
40000000-40234000 r-xp 00000000 00:15 29016114 /opt/pgi_623/linux86-64/6.2/bin/pgf901
40334000-4038e000 rwxp 00234000 00:15 29016114 /opt/pgi_623/linux86-64/6.2/bin/pgf901
4038e000-40599000 rwxp 4038e000 00:00 0 [heap]
3aff300000-3aff31a000 r-xp 00000000 08:01 175995 /lib64/ld-2.3.5.so
3aff419000-3aff41a000 r-xp 00019000 08:01 175995 /lib64/ld-2.3.5.so
3aff41a000-3aff41b000 rwxp 0001a000 08:01 175995 /lib64/ld-2.3.5.so
3aff500000-3aff62e000 r-xp 00000000 08:01 176014 /lib64/libc-2.3.5.so
3aff62e000-3aff72d000 —p 0012e000 08:01 176014 /lib64/libc-2.3.5.so
3aff72d000-3aff731000 r-xp 0012d000 08:01 176014 /lib64/libc-2.3.5.so
3aff731000-3aff733000 rwxp 00131000 08:01 176014 /lib64/libc-2.3.5.so
3aff733000-3aff737000 rwxp 3aff733000 00:00 0
3b06000000-3b06014000 r-xp 00000000 08:01 176024 /lib64/libnsl-2.3.5.so
3b06014000-3b06113000 —p 00014000 08:01 176024 /lib64/libnsl-2.3.5.so
3b06113000-3b06114000 r-xp 00013000 08:01 176024 /lib64/libnsl-2.3.5.so
3b06114000-3b06115000 rwxp 00014000 08:01 176024 /lib64/libnsl-2.3.5.so
3b06115000-3b06117000 rwxp 3b06115000 00:00 0
3ebc600000-3ebc60d000 r-xp 00000000 08:01 176219 /lib64/libgcc_s-4.0.2-20051126.so.1
3ebc60d000-3ebc70c000 —p 0000d000 08:01 176219 /lib64/libgcc_s-4.0.2-20051126.so.1
3ebc70c000-3ebc70d000 rwxp 0000c000 08:01 176219 /lib64/libgcc_s-4.0.2-20051126.so.1
2aaaaaaab000-2aaaaaaae000 rwxp 2aaaaaaab000 00:00 0
2aaaaaad0000-2aaaaaad1000 rwxp 2aaaaaad0000 00:00 0
2aaaaaad4000-2aaaaaadf000 rwxp 2aaaaaad4000 00:00 0
2aaaaab07000-2aaaaab11000 r-xp 00000000 08:01 176030 /lib64/libnss_files-2.3.5.so
2aaaaab11000-2aaaaac11000 —p 0000a000 08:01 176030 /lib64/libnss_files-2.3.5.so
2aaaaac11000-2aaaaac12000 r-xp 0000a000 08:01 176030 /lib64/libnss_files-2.3.5.so
2aaaaac12000-2aaaaac13000 rwxp 0000b000 08:01 176030 /lib64/libnss_files-2.3.5.so
2aaaaac13000-2aaaaac1d000 r-xp 00000000 08:01 176034 /lib64/libnss_nis-2.3.5.so
2aaaaac1d000-2aaaaad1c000 —p 0000a000 08:01 176034 /lib64/libnss_nis-2.3.5.so
2aaaaad1c000-2aaaaad1d000 r-xp 00009000 08:01 176034 /lib64/libnss_nis-2.3.5.so
2aaaaad1d000-2aaaaad1e000 rwxp 0000a000 08:01 176034 /lib64/libnss_nis-2.3.5.so
2aaaaad1e000-2aaaaad8c000 rwxp 2aaaaae32000 00:00 0
2aaaaae81000-2aaaaafbe000 rwxp 2aaaaaaac000 00:00 0
2aaaab000000-2aaaab021000 rwxp 2aaaab000000 00:00 0
2aaaab021000-2aaaab100000 —p 2aaaab021000 00:00 0
7fffffd06000-7fffffd1c000 rwxp 7fffffd06000 00:00 0 [stack]
ffffffffff600000-ffffffffffe00000 —p 00000000 00:00 0 [vdso]
pgf90-Fatal-/opt/pgi_623/linux86-64/6.2/bin/pgf901 TERMINATED by signal 6
Arguments to /opt/pgi_623/linux86-64/6.2/bin/pgf901
/opt/pgi_623/linux86-64/6.2/bin/pgf901 vtorhotf.F90 -opt 2 -terse 1 -inform warn -nohpf -nostatic -x 19 0x400000 -quad -x 59 4 -x 59 4 -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 57 0xfb0000 -x 58 0x78031040 -x 70 0x6c00 -x 47 0x400000 -x 48 4608 -x 49 0x100 -x 120 0x200 -stdinc /opt/pgi_623/linux86-64/6.2/include:/usr/local/include:/usr/lib/gcc/x86_64-redhat-linux/4.0.2/include:/usr/lib/gcc/x86_64-redhat-linux/4.0.2//include:/usr/include -def unix -def __unix -def unix -def linux -def __linux -def linux -def __NO_MATH_INLINES -def x86_64 -def LONG_MAX=9223372036854775807L -def ‘SIZE_TYPE=unsigned long int’ -def ‘PTRDIFF_TYPE=long int’ -def __THROW= -def extension= -def amd64 -def SSE -def MMX -def SSE2 -idir . -idir . -idir …/… -idir …/defs -idir ./…/defs -def HAVE_CONFIG_H -preprocess -freeform -vect 48 -output /tmp/pgf90bigbdVimo_dv.ilm
make[3]: *** [vtorhotf.o] Error 127


while we didnt have same err msg on same cpu arch. main differences between two cluster will be the os and the pgi ver. we wont have same err msg with pgi 6.1-1, on Scientific Linux SL release 4.2, with kernel 2.6.9-22.0.1.ELsmp, but prompt with the err shown above with Fedora Core release 4 with 2.6.14-1smp, and the pgi installed is 6.2-3

i am wondering if the root cause will be system dep, or compiler dep? i tried search around from google, but not having clue for solving the err we have. what would you suggest to profile further!?

thanks in advance.

Br,
J


Br,
J

for your information, i down grade pgi and reinstall 6.1.1 on same amd64 machine, seems not having same glic err msg and i can successfully compile the code on it. wondering why 6.2.3 fail on fc4.

any comment/suggestion are welcome.

BR,
J

Hi J,

It’s most likely a compiler bug. Can you please send a report to trs@pgroup.com along with sample code so we can reproduce the error here? Does the error also occur with PGI 7.0?

Thanks,
Mat

thanks Mat, i didnt try also v7, but down grade using 6.1.1 only, since the valid pgi license on the server remain at v6 only. will forward the inquiry to trs, and quote the link in the same issue.

thanks

Br,
J

Mat, for your information, i tried installing 7.0.3 on same server, and wont have prob compiling abinit code on fc4, with same kernel release. i am wondering why v6 will fail with glibc err?

thanks

BR,
J