URL: <http://savannah.cern.ch/bugs/?91844> Summary: glibc error when using XrdCnsd Project: XROOTD Submitted by: mvala Submitted on: 2012-02-23 19:15 Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Fixed by commit(s): _______________________________________________________ Details: Hi All, i setup xrootd 'Cluster Name Space' as recommended in doc. i set ofs.notify closew create mkdir mv rm rmdir trunc | /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd alicepc100.jinr.ru:1095 and here is error output. I tested it on SL5 and it is fine, and here on Gentoo linux i have this error. Thanks for helo Ciao Martin 120223 23:05:03 001 Cns_Config: Cns initialization started. 120223 23:05:03 001 Cns_Config: Backup path not specified; inventory disabled! 120223 23:05:03 001 Cns_List: Removing empty log file /cern/PEAC/xrd/admin/server/cns/alicepc100.jinr.ru:1095/cns.log.0.0081897017 120223 23:05:03 001 Cns_Config: Cns initialization completed. *** buffer overflow detected ***: /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x7fa3e05fd4d7] /lib64/libc.so.6(+0xee350)[0x7fa3e05fb350] /lib64/libc.so.6(+0xed6f9)[0x7fa3e05fa6f9] /lib64/libc.so.6(_IO_default_xsputn+0x84)[0x7fa3e0581c14] /lib64/libc.so.6(_IO_vfprintf+0x2144)[0x7fa3e0556324] /lib64/libc.so.6(__vsprintf_chk+0x97)[0x7fa3e05fa797] /lib64/libc.so.6(__sprintf_chk+0x7d)[0x7fa3e05fa6dd] /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd(_ZN12XrdCnsDaemon9getEventsER12XrdOucStreamPKc+0x32e)[0x407e6e] /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd(main+0x15c)[0x405c0c] /lib64/libc.so.6(__libc_start_main+0xed)[0x7fa3e053138d] /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd[0x405e59] ======= Memory map: ======== 00400000-00410000 r-xp 00000000 08:0a 31211899 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd 0060f000-00610000 r--p 0000f000 08:0a 31211899 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd 00610000-00611000 rw-p 00010000 08:0a 31211899 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/bin/XrdCnsd 01abe000-01b02000 rw-p 00000000 00:00 0 [heap] 7fa3d8000000-7fa3d8029000 rw-p 00000000 00:00 0 7fa3d8029000-7fa3dc000000 ---p 00000000 00:00 0 7fa3dfe7b000-7fa3dfefc000 rw-p 00000000 00:00 0 7fa3dfefc000-7fa3dfefd000 ---p 00000000 00:00 0 7fa3dfefd000-7fa3dfffd000 rw-p 00000000 00:00 0 7fa3dfffd000-7fa3dfffe000 ---p 00000000 00:00 0 7fa3dfffe000-7fa3e00fe000 rw-p 00000000 00:00 0 7fa3e00fe000-7fa3e00ff000 ---p 00000000 00:00 0 7fa3e00ff000-7fa3e01ff000 rw-p 00000000 00:00 0 7fa3e01ff000-7fa3e0200000 ---p 00000000 00:00 0 7fa3e0200000-7fa3e0300000 rw-p 00000000 00:00 0 7fa3e0300000-7fa3e030c000 r-xp 00000000 08:07 4988639 /lib64/libnss_files-2.14.1.so 7fa3e030c000-7fa3e050b000 ---p 0000c000 08:07 4988639 /lib64/libnss_files-2.14.1.so 7fa3e050b000-7fa3e050c000 r--p 0000b000 08:07 4988639 /lib64/libnss_files-2.14.1.so 7fa3e050c000-7fa3e050d000 rw-p 0000c000 08:07 4988639 /lib64/libnss_files-2.14.1.so 7fa3e050d000-7fa3e068f000 r-xp 00000000 08:07 4988670 /lib64/libc-2.14.1.so 7fa3e068f000-7fa3e088e000 ---p 00182000 08:07 4988670 /lib64/libc-2.14.1.so 7fa3e088e000-7fa3e0892000 r--p 00181000 08:07 4988670 /lib64/libc-2.14.1.so 7fa3e0892000-7fa3e0893000 rw-p 00185000 08:07 4988670 /lib64/libc-2.14.1.so 7fa3e0893000-7fa3e0898000 rw-p 00000000 00:00 0 7fa3e0898000-7fa3e08ad000 r-xp 00000000 08:07 1462482 /lib64/libgcc_s.so.1 7fa3e08ad000-7fa3e0aac000 ---p 00015000 08:07 1462482 /lib64/libgcc_s.so.1 7fa3e0aac000-7fa3e0aad000 r--p 00014000 08:07 1462482 /lib64/libgcc_s.so.1 7fa3e0aad000-7fa3e0aae000 rw-p 00015000 08:07 1462482 /lib64/libgcc_s.so.1 7fa3e0aae000-7fa3e0b2f000 r-xp 00000000 08:07 4988681 /lib64/libm-2.14.1.so 7fa3e0b2f000-7fa3e0d2e000 ---p 00081000 08:07 4988681 /lib64/libm-2.14.1.so 7fa3e0d2e000-7fa3e0d2f000 r--p 00080000 08:07 4988681 /lib64/libm-2.14.1.so 7fa3e0d2f000-7fa3e0d30000 rw-p 00081000 08:07 4988681 /lib64/libm-2.14.1.so 7fa3e0d30000-7fa3e0e16000 r-xp 00000000 08:07 4560551 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6.0.16 7fa3e0e16000-7fa3e1015000 ---p 000e6000 08:07 4560551 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6.0.16 7fa3e1015000-7fa3e101d000 r--p 000e5000 08:07 4560551 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6.0.16 7fa3e101d000-7fa3e101f000 rw-p 000ed000 08:07 4560551 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6.0.16 7fa3e101f000-7fa3e1034000 rw-p 00000000 00:00 0 7fa3e1034000-7fa3e103c000 r-xp 00000000 08:07 4988677 /lib64/librt-2.14.1.so 7fa3e103c000-7fa3e123b000 ---p 00008000 08:07 4988677 /lib64/librt-2.14.1.so 7fa3e123b000-7fa3e123c000 r--p 00007000 08:07 4988677 /lib64/librt-2.14.1.so 7fa3e123c000-7fa3e123d000 rw-p 00008000 08:07 4988677 /lib64/librt-2.14.1.so 7fa3e123d000-7fa3e123f000 r-xp 00000000 08:07 4988653 /lib64/libdl-2.14.1.so 7fa3e123f000-7fa3e143f000 ---p 00002000 08:07 4988653 /lib64/libdl-2.14.1.so 7fa3e143f000-7fa3e1440000 r--p 00002000 08:07 4988653 /lib64/libdl-2.14.1.so 7fa3e1440000-7fa3e1441000 rw-p 00003000 08:07 4988653 /lib64/libdl-2.14.1.so 7fa3e1441000-7fa3e1459000 r-xp 00000000 08:07 4988680 /lib64/libpthread-2.14.1.so 7fa3e1459000-7fa3e1658000 ---p 00018000 08:07 4988680 /lib64/libpthread-2.14.1.so 7fa3e1658000-7fa3e1659000 r--p 00017000 08:07 4988680 /lib64/libpthread-2.14.1.so 7fa3e1659000-7fa3e165a000 rw-p 00018000 08:07 4988680 /lib64/libpthread-2.14.1.so 7fa3e165a000-7fa3e165e000 rw-p 00000000 00:00 0 7fa3e165e000-7fa3e16b7000 r-xp 00000000 08:0a 31211523 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdUtils.so.0.0.1 7fa3e16b7000-7fa3e18b6000 ---p 00059000 08:0a 31211523 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdUtils.so.0.0.1 7fa3e18b6000-7fa3e18b8000 r--p 00058000 08:0a 31211523 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdUtils.so.0.0.1 7fa3e18b8000-7fa3e18ba000 rw-p 0005a000 08:0a 31211523 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdUtils.so.0.0.1 7fa3e18ba000-7fa3e18bb000 rw-p 00000000 00:00 0 7fa3e18bb000-7fa3e190e000 r-xp 00000000 08:0a 31211776 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdServer.so.0.0.1 7fa3e190e000-7fa3e1b0d000 ---p 00053000 08:0a 31211776 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdServer.so.0.0.1 7fa3e1b0d000-7fa3e1b0f000 r--p 00052000 08:0a 31211776 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdServer.so.0.0.1 7fa3e1b0f000-7fa3e1b11000 rw-p 00054000 08:0a 31211776 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdServer.so.0.0.1 7fa3e1b11000-7fa3e1b18000 rw-p 00000000 00:00 0 7fa3e1b18000-7fa3e1baa000 r-xp 00000000 08:0a 31211716 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdClient.so.0.0.1 7fa3e1baa000-7fa3e1daa000 ---p 00092000 08:0a 31211716 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdClient.so.0.0.1 7fa3e1daa000-7fa3e1dab000 r--p 00092000 08:0a 31211716 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdClient.so.0.0.1 7fa3e1dab000-7fa3e1dac000 rw-p 00093000 08:0a 31211716 /cern/PEAC/sw/gentoo-x86_64-4.6.2/VO_PEAC/Xrootd/3.1.0/lib64/libXrdClient.so.0.0.1 7fa3e1dac000-7fa3e1dad000 rw-p 00000000 00:00 0 7fa3e1dad000-7fa3e1dcd000 r-xp 00000000 08:07 4988673 /lib64/ld-2.14.1.so 7fa3e1e44000-7fa3e1e85000 rw-p 00000000 00:00 0 7fa3e1e85000-7fa3e1e86000 ---p 00000000 00:00 0 7fa3e1e86000-7fa3e1f8d000 rw-p 00000000 00:00 0 7fa3e1fca000-7fa3e1fcd000 rw-p 00000000 00:00 0 7fa3e1fcd000-7fa3e1fce000 r--p 00020000 08:07 4988673 /lib64/ld-2.14.1.so 7fa3e1fce000-7fa3e1fcf000 rw-p 00021000 08:07 4988673 /lib64/ld-2.14.1.so 7fa3e1fcf000-7fa3e1fd0000 rw-p 00000000 00:00 0 7fff0916d000-7fff0918e000 rw-p 00000000 00:00 0 [stack] 7fff091ff000-7fff09200000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] _______________________________________________________ Reply to this item at: <http://savannah.cern.ch/bugs/?91844> _______________________________________________ Message sent via/by LCG Savannah http://savannah.cern.ch/ ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1