Hi,
I am attempting to sort some data using the Gammasphere ROOT sorter, GSSort, using ROOT 5.26.
Unfortunately, it gives me the following error:
*** buffer overflow detected ***: bin/GSSort terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7feb894d4b47]
/lib/libc.so.6(+0xfea00)[0x7feb894d3a00]
bin/GSSort(_Z11setupreplayv+0x66c)[0x411cca]
bin/GSSort(_Z5GSacqPc+0x3bc0)[0x415cab]
bin/GSSort(main+0x60b)[0x4101ed]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7feb893f3d8e]
bin/GSSort[0x404639]
With the memory map:
00400000-00422000 r-xp 00000000 08:05 2143 /data/208pb+208pb/PPP1/bin/GSSort
00621000-00622000 r–p 00021000 08:05 2143 /data/208pb+208pb/PPP1/bin/GSSort
00622000-00623000 rw-p 00022000 08:05 2143 /data/208pb+208pb/PPP1/bin/GSSort
00623000-18cfd000 rw-p 00000000 00:00 0
196c5000-1a942000 rw-p 00000000 00:00 0 [heap]
7feb862a2000-7feb88265000 rw-p 00000000 00:00 0
7feb88265000-7feb88271000 r-xp 00000000 08:06 262877 /lib/libnss_files-2.12.1.so
7feb88271000-7feb88470000 —p 0000c000 08:06 262877 /lib/libnss_files-2.12.1.so
7feb88470000-7feb88471000 r–p 0000b000 08:06 262877 /lib/libnss_files-2.12.1.so
7feb88471000-7feb88472000 rw-p 0000c000 08:06 262877 /lib/libnss_files-2.12.1.so
7feb88472000-7feb8847c000 r-xp 00000000 08:06 262879 /lib/libnss_nis-2.12.1.so
7feb8847c000-7feb8867b000 —p 0000a000 08:06 262879 /lib/libnss_nis-2.12.1.so
7feb8867b000-7feb8867c000 r–p 00009000 08:06 262879 /lib/libnss_nis-2.12.1.so
7feb8867c000-7feb8867d000 rw-p 0000a000 08:06 262879 /lib/libnss_nis-2.12.1.so
7feb8867d000-7feb88694000 r-xp 00000000 08:06 262874 /lib/libnsl-2.12.1.so
7feb88694000-7feb88893000 —p 00017000 08:06 262874 /lib/libnsl-2.12.1.so
7feb88893000-7feb88894000 r–p 00016000 08:06 262874 /lib/libnsl-2.12.1.so
7feb88894000-7feb88895000 rw-p 00017000 08:06 262874 /lib/libnsl-2.12.1.so
7feb88895000-7feb88897000 rw-p 00000000 00:00 0
7feb88897000-7feb8889f000 r-xp 00000000 08:06 262875 /lib/libnss_compat-2.12.1.so
7feb8889f000-7feb88a9e000 —p 00008000 08:06 262875 /lib/libnss_compat-2.12.1.so
7feb88a9e000-7feb88a9f000 r–p 00007000 08:06 262875 /lib/libnss_compat-2.12.1.so
7feb88a9f000-7feb88aa0000 rw-p 00008000 08:06 262875 /lib/libnss_compat-2.12.1.so
7feb88aa0000-7feb88b21000 r-xp 00000000 08:06 5774592 /usr/lib/libfreetype.so.6.6.0
7feb88b21000-7feb88d21000 —p 00081000 08:06 5774592 /usr/lib/libfreetype.so.6.6.0
7feb88d21000-7feb88d26000 r–p 00081000 08:06 5774592 /usr/lib/libfreetype.so.6.6.0
7feb88d26000-7feb88d27000 rw-p 00086000 08:06 5774592 /usr/lib/libfreetype.so.6.6.0
7feb88d27000-7feb88d30000 r-xp 00000000 08:06 262869 /lib/libcrypt-2.12.1.so
7feb88d30000-7feb88f30000 —p 00009000 08:06 262869 /lib/libcrypt-2.12.1.so
7feb88f30000-7feb88f31000 r–p 00009000 08:06 262869 /lib/libcrypt-2.12.1.so
7feb88f31000-7feb88f32000 rw-p 0000a000 08:06 262869 /lib/libcrypt-2.12.1.so
7feb88f32000-7feb88f60000 rw-p 00000000 00:00 0
7feb88f60000-7feb88f90000 r-xp 00000000 08:06 262281 /lib/libpcre.so.3.12.1
7feb88f90000-7feb8918f000 —p 00030000 08:06 262281 /lib/libpcre.so.3.12.1
7feb8918f000-7feb89190000 r–p 0002f000 08:06 262281 /lib/libpcre.so.3.12.1
7feb89190000-7feb89191000 rw-p 00030000 08:06 262281 /lib/libpcre.so.3.12.1
7feb89191000-7feb891d1000 r-xp 00000000 08:06 262242 /lib/libncurses.so.5.7
7feb891d1000-7feb893d0000 —p 00040000 08:06 262242 /lib/libncurses.so.5.7
7feb893d0000-7feb893d4000 r–p 0003f000 08:06 262242 /lib/libncurses.so.5.7
7feb893d4000-7feb893d5000 rw-p 00043000 08:06 262242 /lib/libncurses.so.5.7
7feb893d5000-7feb8954f000 r-xp 00000000 08:06 262867 /lib/libc-2.12.1.so
7feb8954f000-7feb8974f000 —p 0017a000 08:06 262867 /lib/libc-2.12.1.so
7feb8974f000-7feb89753000 r–p 0017a000 08:06 262867 /lib/libc-2.12.1.so
7feb89753000-7feb89754000 rw-p 0017e000 08:06 262867 /lib/libc-2.12.1.so
7feb89754000-7feb89759000 rw-p 00000000 00:00 0
7feb89759000-7feb89771000 r-xp 00000000 08:06 262882 /lib/libpthread-2.12.1.so
7feb89771000-7feb89970000 —p 00018000 08:06 262882 /lib/libpthread-2.12.1.so
7feb89970000-7feb89971000 r–p 00017000 08:06 262882 /lib/libpthread-2.12.1.so
7feb89971000-7feb89972000 rw-p 00018000 08:06 262882 /lib/libpthread-2.12.1.so
7feb89972000-7feb89976000 rw-p 00000000 00:00 0
7feb89976000-7feb8998b000 r-xp 00000000 08:06 262223 /lib/libgcc_s.so.1
7feb8998b000-7feb89b8a000 —p 00015000 08:06 262223 /lib/libgcc_s.so.1
7feb89b8a000-7feb89b8b000 r–p 00014000 08:06 262223 /lib/libgcc_s.so.1
7feb89b8b000-7feb89b8c000 rw-p 00015000 08:06 262223 /lib/libgcc_s.so.1
7feb89b8c000-7feb89c0e000 r-xp 00000000 08:06 262871 /lib/libm-2.12.1.so
7feb89c0e000-7feb89e0d000 —p 00082000 08:06 262871 /lib/libm-2.12.1.so
7feb89e0d000-7feb89e0e000 r–p 00081000 08:06 262871 /lib/libm-2.12.1.so
7feb89e0e000-7feb89e0f000 rw-p 00082000 08:06 262871 /lib/libm-2.12.1.so
7feb89e0f000-7feb89ef7000 r-xp 00000000 08:06 5770833 /usr/lib/libstdc++.so.6.0.14
7feb89ef7000-7feb8a0f6000 —p 000e8000 08:06 5770833 /usr/lib/libstdc++.so.6.0.14
7feb8a0f6000-7feb8a0fe000 r–p 000e7000 08:06 5770833 /usr/lib/libstdc++.so.6.0.14
7feb8a0fe000-7feb8a100000 rw-p 000ef000 08:06 5770833 /usr/lib/libstdc++.so.6.0.14
7feb8a100000-7feb8a115000 rw-p 00000000 00:00 0
7feb8a115000-7feb8a117000 r-xp 00000000 08:06 262870 /lib/libdl-2.12.1.soAborted
Does anyone know how to fix this? I’m still getting to grips with ROOT, so layman’s terms would be appreciated.
Thanks.