[ROOT] Core dump due to long LD_LIBRARY_PATH

From: Pere Mato Vila (Pere.Mato@cern.ch)
Date: Mon Dec 06 2004 - 12:40:59 MET


Dear rooters,

  We have in LHCb serious problems when using "root" within the new SLC3
platform. ROOT 3.10.02 core dumps at the start with the following
traceback:

#0  0x00a5bbac in mempcpy () from /lib/tls/libc.so.6
#1  0x00a4f4b2 in _IO_default_xsputn_internal () from /lib/tls/libc.so.6
#2  0x00a28517 in vfprintf () from /lib/tls/libc.so.6
#3  0x00a443cc in vsprintf () from /lib/tls/libc.so.6
#4  0x00a2f02d in sprintf () from /lib/tls/libc.so.6
#5  0x0804931f in SetLibraryPath ()
#6  0x080497c9 in main ()

  The reason I think is due to the change in length of the
LD_LIBRARY_PATH due to the change in the platform tag we use in this new
platform. We have changed rh73_gcc3232 to slc3_ia32_gcc323 increasing
the total length from 1110 bytes to 1166. 

Can this limitation be removed? Or build a protection that it does not
core dump?
Thanks in advance,

				Pere



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET