JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  January 2008

LCG-ROLLOUT January 2008

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: lcg-cr Segmentation fault after update SL4 WN

From:

Jan Just Keijser <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Wed, 30 Jan 2008 11:32:54 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (256 lines)

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.
>>>>
>>>>
>>
>>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager