Hello Vladimir,
I wonder if your problem is RHIC related rather ROOT related.
As far as I know RHIC is switching all of RHIC machines to RedHat-8
and gcc 3.2. Can you make sure your private libraries and the ROOT
system libraries are compiled for one and the same platform/compiler
combination.
Hope this helps, Valeri
-----Original Message-----
From: Vladimir Babintsev
To: roottalk@pcroot.cern.ch
Sent: 9/17/2003 8:22 AM
Subject: [ROOT] error at loading library
Hello
I...............
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
................
root-config --version
3.01/05
..................
I have
root [0]
gSystem->Load("/phenix/workarea/babinsev/wrk3/dir-v1/dir-lambda/insta$
*** Break *** segmentation violation
The program worked weel 1 month ago
My steps:
I removed all contents from the main part of the program
and keep only name of function, results the same:
...........................
root [0]
gSystem->Load("/phenix/workarea/babinsev/wrk3/dir-v1/dir-lambda/insta$
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 10934)]
0x40c3aba8 in _dl_close (_map=0x8805bc8) at dl-close.c:291
291 dl-close.c: No such file or directory.
in dl-close.c
(gdb) bt
#0 0x40c3aba8 in _dl_close (_map=0x8805bc8) at dl-close.c:291
#1 0x40c3a820 in _dl_open (
file=0x405cf7ea
"/phenix/workarea/babinsev/wrk3/dir-v1/dir-lambda/install/lib/libPhHadro
n.so",
mode=142629832, caller=0x404d9641) at dl-open.c:434
#2 0x40a9ff55 in dlopen_doit (a=0xbffe6adc) at dlopenold.c:45
#3 0x4000d7b3 in _dl_catch_error (objname=0x843b110,
errstring=0x843b114,
operate=0x40a9ff20 <dlopen_doit>, args=0xbffe6adc) at dl-error.c:152
#4 0x40a9f6fb in _dlerror_run (operate=0x40a9ff20 <dlopen_doit>,
args=0xbffe6adc) at dlerror.c:130
#5 0x40a9ff04 in __dlopen_nocheck (
file=0x405cf7ea
"/phenix/workarea/babinsev/wrk3/dir-v1/dir-lambda/install/lib/libPhHadro
n.so",
mode=257) at dlopenold.c:62
#6 0x404d9641 in G__dlopen ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#7 0x404d9c8c in G__shl_load ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#8 0x4049b64f in G__loadfile ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#9 0x4010ccf6 in TSystem::Load ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
---Type
<return> to continue, or q <return> to quit---
ore.so
#10 0x4015da4a in TUnixSystem::Load ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
#11 0x40214aff in G__TSystem_Load_3_7 ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
#12 0x404a11a1 in G__call_cppfunc ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#13 0x404909fb in G__interpret_func ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#14 0x40478b69 in G__getfunction ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#15 0x404fbd76 in G__getstructmem ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#16 0x404f5d10 in G__getvariable ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#17 0x40471c3d in G__getitem ()
---Type <return> to continue, or q <return> to quit---
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#18 0x40470633 in G__getexpr ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#19 0x404b6c50 in G__exec_function ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#20 0x404bd5c1 in G__exec_statement ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#21 0x40459f39 in G__exec_tempfile ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#22 0x404c529b in G__process_cmd ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
int.so
#23 0x4012b128 in TCint::ProcessLine ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
#24 0x400d2ef0 in TApplication::ProcessLine ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
---Type <return> to continue, or q <return> to quit---
#25 0x40a7a81e in TRint::HandleTermInput ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libR
int.so
#26 0x40a79952 in TTermInputHandler::Notify ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libR
int.so
#27 0x40a8b121 in TTermInputHandler::ReadNotify ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libR
int.so
#28 0x4015ccae in TUnixSystem::CheckDescriptors ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
#29 0x4015c413 in TUnixSystem::DispatchOneEvent ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
#30 0x4010bbaa in TSystem::InnerLoop ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
#31 0x4010bb27 in TSystem::Run ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
ore.so
#32 0x400d38df in TApplication::Run ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libC
---Type
<return> to continue, or q <return> to quit---
ore.so
#33 0x40a7a30e in TRint::Run ()
from
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_linux24/new.1/root/lib/libR
int.so
#34 0x08048869 in main ()
#35 0x40b3d627 in __libc_start_main (main=0x80487f0 <main>, argc=1,
ubp_av=0xbfffd324, init=0x8048640 <_init>, fini=0x8048930 <_fini>,
rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbfffd31c)
at ../sysdeps/generic/libc-start.c:129
(gdb)
------------------------------------
What should I do ?
Thank You, Vladimir
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET