Print

Print


URL:
  <http://savannah.cern.ch/bugs/?99882>

                 Summary: Internal poller use by XrdCl seems not to work on
MAC OSX (10.8) with XRootD HEAD
                 Project: XROOTD
            Submitted by: apeters
            Submitted on: 2013-01-17 15:38
             Report Type: Bug
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
      Fixed by commit(s): 

    _______________________________________________________

Details:

Titel says it all ... see the log & back trace here:

pc10:common apeters$ xrdcopy --debug 3 root://eosdevsrv1//eos/dev/2rep/bla
/tmp/ 
[2013-01-17 16:34:01 +0100][Debug  ][Utility           ] Creating a classic
copy job, from root://eosdevsrv1:1094//eos/dev/2rep/bla to file:///tmp/
[2013-01-17 16:34:01 +0100][Debug  ][Utility           ] Monitor library name
not set. No monitoring
[2013-01-17 16:34:01 +0100][Debug  ][Utility           ] Opening
root://eosdevsrv1:1094//eos/dev/2rep/bla for reading
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] URL:
root://eosdevsrv1:1094//eos/dev/2rep/bla
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Protocol:  root
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] User Name: 
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Password:  
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Host Name:
eosdevsrv1
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Port:      1094
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Path:     
/eos/dev/2rep/bla
[2013-01-17 16:34:01 +0100][Debug  ][File              ]
[0x71411b50@root://eosdevsrv1:1094//eos/dev/2rep/bla] Sending an open
command
[2013-01-17 16:34:01 +0100][Debug  ][Poller            ] Available pollers:
built-in
[2013-01-17 16:34:01 +0100][Debug  ][Poller            ] Attempting to create
a poller according to preference: libevent,built-in
[2013-01-17 16:34:01 +0100][Debug  ][Poller            ] Unable to create
poller: libevent
[2013-01-17 16:34:01 +0100][Debug  ][Poller            ] Creating poller:
built-in
[2013-01-17 16:34:01 +0100][Debug  ][Poller            ] Creating and
starting the built-in poller...
[2013-01-17 16:34:01 +0100][Debug  ][TaskMgr           ] Starting the task
manager...
[2013-01-17 16:34:01 +0100][Debug  ][TaskMgr           ] Task manager
started
[2013-01-17 16:34:01 +0100][Dump   ][XRootD            ] [eosdevsrv1:1094]
Sending message kXR_open (file: /eos/dev/2rep/bla, mode: 00, flags:
kXR_open_read )
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] URL:
eosdevsrv1:1094
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Protocol:  root
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] User Name: 
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Password:  
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Host Name:
eosdevsrv1
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Port:      1094
[2013-01-17 16:34:01 +0100][Dump   ][Utility           ] Path:      
[2013-01-17 16:34:01 +0100][Debug  ][PostMaster        ] Creating new channel
to: eosdevsrv1:1094 1 stream(s)
[2013-01-17 16:34:01 +0100][Debug  ][TaskMgr           ] Registering task:
"TickGeneratorTask for: eosdevsrv1:1094" to be run at: [2013-01-17 16:34:16
+0100]
[2013-01-17 16:34:01 +0100][Dump   ][PostMaster        ] [eosdevsrv1:1094 #0]
Sending message kXR_open (file: /eos/dev/2rep/bla, mode: 00, flags:
kXR_open_read ) through substream 0 expecting answer at 0
[2013-01-17 16:34:01 +0100][Debug  ][PostMaster        ] [eosdevsrv1:1094]
Found 1 address(es): [::10.32.3.186]:1094
[2013-01-17 16:34:01 +0100][Debug  ][AsyncSock         ] [eosdevsrv1:1094
#0.0] Attempting connection to [::10.32.3.186]:1094
[2013-01-17 16:34:01 +0100][Debug  ][Poller            ] Adding socket
0x71412060 to the poller

(gdb) 

Thread 3 (process 71737):
#0  0x00007fff8b0f2386 in __semwait_signal ()
#1  0x00007fff86f38800 in nanosleep ()
#2  0x00007fff86f3868a in sleep ()
#3  0x0000000103058913 in XrdCl::TaskManager::RunTasks (this=0x7f9b21c122c0)
at XrdClTaskManager.cc:238
#4  0x0000000103058109 in RunRunnerThread (arg=<value temporarily
unavailable, due to optimizations>) at XrdClTaskManager.cc:36
#5  0x00007fff86eae742 in _pthread_start ()
#6  0x00007fff86e9b181 in thread_start ()

Thread 2 (process 71737):
#0  0x00007fff8b0f2f96 in poll ()
#1  0x00000001030fb34c in XrdSys::IOEvents::PollPoll::Begin () at
XrdSysIOEventsPollPoll.icc:192
#2  0x00000001030f95fb in XrdSys::IOEvents::BootStrap::Start
(parg=0x7fff5cbcca98) at
/Users/apeters/NetBeansProjects/xrootd/xrootd/src/XrdSys/XrdSysIOEvents.cc:110
#3  0x00000001030f7cc8 in XrdSysThread_Xeq (myargs=0x7f9b21c12200) at
/Users/apeters/NetBeansProjects/xrootd/xrootd/src/XrdSys/XrdSysPthread.cc:86
#4  0x00007fff86eae742 in _pthread_start ()
#5  0x00007fff86e9b181 in thread_start ()

Thread 1 (process 71737):
#0  0x00007fff8b0f20fa in __psynch_cvwait ()
#1  0x00007fff86eb2f89 in _pthread_cond_wait ()
#2  0x00000001030f7fdf in XrdSysCondVar::Wait () at
/Users/apeters/NetBeansProjects/xrootd/xrootd/src/XrdSys/XrdSysPthread.hh:106
#3  0x00000001030f7fdf in XrdSysSemaphore::Wait (this=0x7f9b21c11d20) at
/Users/apeters/NetBeansProjects/xrootd/xrootd/src/XrdSys/XrdSysPthread.cc:230
#4  0x000000010306a3c2 in XrdCl::SyncResponseHandler::GetStatus () at
/Users/apeters/NetBeansProjects/xrootd/xrootd/src/XrdCl/XrdClMessageUtils.hh:70
#5  0x000000010306a3c2 in XrdCl::MessageUtils::WaitForStatus () at
/Users/apeters/NetBeansProjects/xrootd/xrootd/src/XrdCl/XrdClMessageUtils.hh:121
#6  0x000000010306a3c2 in XrdCl::File::Open (this=<value temporarily
unavailable, due to optimizations>, url=@0x7fff5cbcd168, flags=<value
temporarily unavailable, due to optimizations>, mode=<value temporarily
unavailable, due to optimizations>, timeout=<value temporarily unavailable,
due to optimizations>) at XrdClFile.cc:70
#7  0x0000000103077656 in std::string::_M_data () at
/usr/include/c++/4.2.1/bits/basic_string.h:287
#8  std::string::_M_rep () at /usr/include/c++/4.2.1/bits/basic_string.h:287
#9  std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string () at basic_string.h:492
#10 std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string () at /usr/include/c++/4.2.1/bits/basic_string.h:492
#11 0x0000000103077656 in (anonymous namespace)::XRootDSource::Initialize
(this=0x7f9b21c11960) at basic_string.h:287
#12 0x00000001030757b9 in XrdCl::ClassicCopyJob::Run (this=0x7f9b21c11ad0,
progress=0x7fff5cbcd890) at XrdClClassicCopyJob.cc:577
#13 0x0000000103075409 in XrdCl::CopyProcess::Run (this=0x7fff5cbcd8b0) at
XrdClCopyProcess.cc:250
#14 0x0000000103034a33 in XrdCl::XRootDStatus::operator= () at
/Users/apeters/NetBeansProjects/xrootd/xrootd/src/XrdCl/XrdClXRootDResponses.hh:184





    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?99882>

_______________________________________________
  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