Hi Alvaro,
thanks for checking, I just wanted to make sure we did not overlook
anything silly like that.
The lines
#5 0x00a98d11 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
No symbol table info available.
#6 0xf7c976dc in lfc_init (errbuf=0x0, errbufsz=0) at
/home/condor/execute/dir_12748/userdir/org.glite.data.gfal/src/lfc_ifce.c:173
suggests that dlopen is failing.
The source file lfc_ifce.c:173 shows:
if ((dlhandle = dlopen ("liblfc.so", RTLD_LAZY)) == NULL) {
leading me to believe that either the file liblfc.so is missing or
corrupt on your system.
Is the file liblfc.so present on the system? if so, is it listed in the
appropriate ld.so.conf.d file / LD_LIBRARY_PATH env var? On one of our
WNs the /etc/ld.so.conf file lists
# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/opt/lcg/lib
/opt/glite/lib
/opt/globus/lib
/usr/local/lib
/usr/X11R6/lib
/opt/edg/lib
and the liblfc.so file is present in /opt/lcg/lib/liblfc.so. This file
is part of the RPM 'LFC-client'. You can verify that it is installed
correctly by typing
rpm -V LFC-client
Can you verify that all this holds true for your failing WN as well?
cheers,
JJK / Jan Just Keijser
System Integrator
Nikhef Amsterdam
Alvaro Simon Garcia wrote:
> Hi Jan
>
> with a full URL fails too
> $ lcg-cr -v -d se2.egee.cesga.es --vo dteam file:///home/asimon/test
> test2 tests/
> [asimon@ui ~]$ lcg-cr -v -d se2.egee.cesga.es --vo dteam
> file:///home/asimon/test2
> Using grid catalog type: lfc
> Using grid catalog : prod-lfc-shared-central.cern.ch
> Using LFN :
> /grid/dteam/generated/2008-01-30/file-939f5f69-4242-41e3-b2f4-8d95317aae6c
>
> Segmentation fault
>
> Only works with -d <SURL name>
>
> Cheers
> Alvaro
>
> Jan Just Keijser escribió:
>> Hi Alvaro,
>>
>> just out of curiosity: could you try the command with a "full" URL, e.g.
>> lcg-cr -v -d se2.egee.cesga.es --vo dteam file:///home/asimon/test
>> (instead of file:/home ...) ?
>>
>> thx,
>>
>> Jan Just Keijser
>> System Integrator
>> Nikhef Amsterdam
>>
>> Alvaro Simon Garcia wrote:
>>> Sorry here is the full output...
>>>
>>>
>>> (gdb) bt full
>>> #0 0xf7a1d2a4 in pthread_mutex_unlock () from /lib/i686/libpthread.so.0
>>> No symbol table info available.
>>> #1 0x00a68ee9 in _dl_open () from /lib/i686/libc.so.6
>>> No symbol table info available.
>>> #2 0x00a98cb8 in dlopen_doit () from /lib/libdl.so.2
>>> No symbol table info available.
>>> #3 0x0095d4ee in _dl_catch_error () from /lib/ld-linux.so.2
>>> No symbol table info available.
>>> #4 0x00a992bb in _dlerror_run () from /lib/libdl.so.2
>>> No symbol table info available.
>>> #5 0x00a98d11 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
>>> No symbol table info available.
>>> #6 0xf7c976dc in lfc_init (errbuf=0x0, errbufsz=0) at
>>> /home/condor/execute/dir_12748/userdir/org.glite.data.gfal/src/lfc_ifce.c:173
>>>
>>> dlhandle = (void *) 0x9684f8
>>> lfc_endpoint = 0x804d3c0 "prod-lfc-shared-central.cern.ch"
>>> p = 0x3d8 <Address 0x3d8 out of bounds>
>>> lfc_port = 0x0
>>> errmsg =
>>> "\204\210K\t?????\177\226\000D????????????\234\225\0008???d???P\206\226\000\033\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000????E???????P\206\226\000x???\224???d???\033\000\000\000d???\001\000\000\000\000\000\000\000\001\000\000\000
>>> \000\000\000?9?\000\000\000\000\000\000\000\000\000X???\f:?\000\000\000\000\000\204\210K\t????\230???
>>> \214???????9?\000\000\000\000\0008???\230????????9?\000\000\000\000\000?\037?\000?9?\000\004\000\000\000????"...
>>>
>>> #7 0xf7c97abc in lfc_get_catalog_endpoint (errbuf=0x0, errbufsz=0)
>>> at
>>> /home/condor/execute/dir_12748/userdir/org.glite.data.gfal/src/lfc_ifce.c:215
>>>
>>> No locals.
>>> #8 0xf7b92931 in get_catalog_endpoint (errbuf=0x0, errbufsz=0) at
>>> /home/condor/execute/dir_12748/userdir/org.glite.data.gfal/src/gfal.c:2451
>>>
>>> cat_type = 0x804b060 "p?\004\bz\b"
>>> #9 0xf7cc241c in lcg_cr3 (src_file=0xffdaf618
>>> "file:/home/asimon/test", dest_file=0xffdaf5fb "se2.egee.cesga.es",
>>> guid=0xffdae370 "cea322da-f366-4fc8-8902-0d197302f946", lfn=0x0,
>>> defaulttype=TYPE_NONE, dst_setype=TYPE_NONE, nobdii=0, vo=0xffdaf612
>>> "dteam",
>>> relative_path=0x0, nbstreams=1, conf_file=0x0, insecure=0,
>>> verbose=1, timeout=0, spacetokendesc=0x0, actual_guid=0xffdaf150 "",
>>> errbuf=0x0, errbufsz=0)
>>> at
>>> /home/condor/execute/dir_20496/userdir/org.glite.data.dm-util/src/lcg_cr.c:163
>>>
>>> dest_surl_cat = "??????????\225\000\000\000\000\000?\177\226\000
>>> ???\030\207\004\b\000\000\000\000\030????\177\226\000T???*?\225\000\001\000\000\000
>>> ???????4???\001\000\000\000\230???`???
>>> ???$\000\000\000\000\000\000\000P????\177\226\000\001\000\000\000\000???p???$\000\000\000\000\000\000\000l????\177\226\000T???\001\000\000\000x???\220???\000\000\000\000\210????\177\226\000T???*?\225\000\001\000\000\000\230???????????\001\000\000\000????????
>>> ???$\000\000\000\000\000\000\000"...
>>> dest_turl = "p???
>>> ???\000\000\000\000\030???\024\035\000\000\000\000\000\000?\177\226\000?\027\226\000o\020????????????\225\000\000\000\000\000\032\000\000\000?\177\226\000,\000\000\000P???8???\005\031\226\000\b\000\000\000,\000\000\000?\177\226\000T?????\225\000,\000\000\000$\000\000\0008?????\225\000\000\220??\210???p???
>>> ???\000\000\000\000@?\225\000\034???\030???\016\000\000\000\000\000\000\000?\177\226\000?\027\226\000q???8???P?????\225\000\000\000\000\000%?eF?\177\226\000,\000\000\000????????"...
>>>
>>> filesize = -576505244003870144
>>> guid_f =
>>> "\005\031\226\000\b\000\000\000<\000\000\000?\177\226\000T?????\225\000<\000\000\000$\000\000\000
>>> ???o"
>>> guid_s = "cea322da-f366-4fc8-8902-0d197302f946"
>>> n = -2429928
>>> p = 0xffdaec1c "?\177\226"
>>> proto4copy = {0xf7cc95e0 "gsiftp", 0xf7cc95e7 ""}
>>> rc = 9814336
>>> current_time = 0
>>> tm = (struct tm *) 0xf7ccc520
>>> timestr = "\210\230???\222??\000\220
>>> tm_start = 0
>>> tmp_tms = {tms_utime = -2429868, tms_stime = 9815248, tms_cutime =
>>> 76, tms_cstime = 36}
>>> uuid = "?\"??fO?\211\002\r\031s\002
>>> cat_type = 0x804b060 "p?\004\bz\b"
>>> cattype = "lfc\000L\000\000"
>>> ---Type <return> to continue, or q <return> to quit---
>>> actual_lfn = "?\222??\000\220??????@???\210???p???
>>> ???\000\000\000\000 ???\220S??\030?????\225\000
>>> ????\027\226\000\000\000\000\000\000\000\000\000@\204\226\000@?\225\000\034???\030????\177\226\000|\000\000\000\220???p???\005\031\226\000\b\000\000\000|\000\000\000?\177\226\000T?????\225\000|\000\000\000$\000\000\000\020???|\203\225\000?f??b???\210[???X???U???R??\000P??h\233??\210\230???\222??\000\220??????@???\210???p???
>>> ???"...
>>> callback = 0
>>> req = 0x0
>>> gfal = 0x0
>>> filestatuses = (gfal_filestatus *) 0xf7e452e8
>>> errmsg =
>>> "?\177\226\000\224\000\000\0000???\020???\005\031\226\000\b\000\000\000\224\000\000\000?\177\226\000T?????\225\000\224\000\000\000$\000\000\000\000\000\000\000?U??\000\000\000\000\000\000\000\000?\"??\000
>>> ??\210[???X???U???R??\000P??h\233??\210\230???\225???\222??\000\220??????@???\210???p???
>>> ???\000\000\000\000 ???\207X??p?????\225\000?\027\226", '\0'
>>> <repeats 13 times>,
>>> "@\204\226\000@?\225\000\034????\177\226\000\204\000\000\000????????\005\031\226\000\b\000\000"...
>>>
>>> sav_errno = 0
>>> statbuf = {st_dev = 17862496343698987168, __pad1 = 4158935784,
>>> __st_ino = 4158935040, st_mode = 4159216488, st_nlink = 4159215752,
>>> st_uid = 4159215024, st_gid = 4159214296, st_rdev =
>>> 17870244808298631168, __pad2 = 4160739904, st_size =
>>> -576510844641224824, st_blksize = -137575136,
>>> st_blocks = 4294967296, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim
>>> = {tv_sec = 0, tv_nsec = -2429920}, st_ctim = {tv_sec = -136395228,
>>> tv_nsec = 9836538}, st_ino = 18436307646787474670}
>>> #10 0x080492f2 in main (argc=7, argv=0xffdaf1e4) at
>>> /home/condor/execute/dir_20496/userdir/org.glite.data.dm-util/src/lcg-cr.c:197
>>>
>>> helpflg = 0
>>> insecure = 0
>>> verbose = 1
>>> version = 0
>>> actual_guid =
>>> "\000???\\??h????\177\226\000L\223\004\bt?\004\bx???E\212\004\b?\206\226\000\230"
>>>
>>> c = -1
>>> conf_file = 0x0
>>> dest_file = 0xffdaf5fb "se2.egee.cesga.es"
>>> dp = 0xf7b2b6f4 "U\211?S
>>> errflg = 0
>>> timeout = 0
>>> guid = 0x0
>>> lfn_arg = 0x0
>>> cat_type = 0xffdaf138 ""
>>> cattype = "?\037?\000?]\227"
>>> lfn =
>>> ":F\226\000<F\226\000\000\000\000\000\000\000\000\000\000\200\226\000\000\000\000\000?\201\226\000?F[\032b\002\004\000?\204\226",
>>> '\0' <repeats 49 times>,
>>> "\020ì?@\000\000\000????\000\000\000\001\017\000\000\000\200~\226\000\000\000\000\000\004\000\000\000\000\000\004\0004???\000???\000???",
>>> '\0' <repeats 12 times>,
>>> "\200\000\000\000\200\000\000\000\000\000\000\000P\204\004\b
>>> \202\004\b", '\0' <repeats 20 times>,
>>> "??\225\000??G\000?????\177\226\000??\225\000??G\000?????\177\226\000\230???\000\000\000\000T????\232\225\000\202?\227\000\202?G\000????0",
>>> '\0' <repeats 11 times>...
>>> default_se = 0x0
>>> p = 0x963dc1 "/etc/ld.so.preload"
>>> longopts = {{name = 0x804942c "config", has_arg = 1, flag = 0x0, val
>>> = 99}, {name = 0x8049433 "help", has_arg = 0, flag = 0x0, val = 104}, {
>>> name = 0x8049438 "insecure", has_arg = 0, flag = 0x0, val = 105},
>>> {name = 0x8049441 "st", has_arg = 1, flag = 0x0, val = 115}, {
>>> name = 0x8049444 "defaultsetype", has_arg = 1, flag = 0x0, val =
>>> 68}, {name = 0x8049452 "setype", has_arg = 1, flag = 0x0, val = 84}, {
>>> name = 0x8049459 "nobdii", has_arg = 0, flag = 0x0, val = 98}, {name
>>> = 0x8049460 "verbose", has_arg = 0, flag = 0x0, val = 118}, {
>>> name = 0x8049468 "vo", has_arg = 1, flag = 0x0, val = 86}, {name =
>>> 0x804946b "version", has_arg = 0, flag = 0x0, val = 87}, {name =
>>> 0x0, has_arg = 0,
>>> flag = 0x0, val = 0}}
>>> nbstreams = 1
>>> relative_path = 0x0
>>> spacetokendesc = 0x0
>>> vo = 0xffdaf612 "dteam"
>>> defaulttype = TYPE_NONE
>>> setype = TYPE_NONE
>>> nobdii = 0
>>>
>>>> Alvaro Simon Garcia wrote:
>>>>
>>>>> Form UI Update12 we got the same error:
>>>>>
>>>>> [asimon@ui ~]$ lcg-cr -v -d se2.egee.cesga.es --vo dteam
>>>>> file:/home/asimon/test
>>>>> Using grid catalog type: lfc
>>>>> Using grid catalog : lfc01.pic.es
>>>>> Using LFN :
>>>>> /grid/dteam/generated/2008-01-29/file-1de32a3e-5973-49c2-928e-d6307e2daa0f
>>>>>
>>>>> Segmentation fault
>>>>
>>>> Can you run it under gdb:
>>>>
>>>> --------------------------------------------
>>>> $ gdb /opt/lcg/bin/lcg-cr
>>>> [...]
>>>> (gdb) run -v -d se2.egee.cesga.es --vo dteam
>>>> --------------------------------------------
>>>>
>>>> When you get the segfault, type this:
>>>>
>>>> bt full
>>>>
>>>> and send the output.
>>>>
>>>>
>>
>>
|