URL: <http://savannah.cern.ch/bugs/?98102> Summary: XrdSysPlugin broken on MacOSX Project: XROOTD Submitted by: ljanyst Submitted on: 2012-10-11 09:41 Severity: 5 - Blocker Priority: 6 Status: None Privacy: Public Assigned to: abh Originator Email: Open/Closed: Open Discussion Lock: Any Fixed by commit(s): _______________________________________________________ Details: I have been testing the new client on MacOSX 10.8.2 (Mountain Lion) and got a SIGTRAP while trying to load an authentication plugin. [2012-10-11 09:35:55 +0200][Debug ][PostMaster ] Creating new channel to: castorpublic:1094 1 stream(s) [2012-10-11 09:35:55 +0200][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: castorpublic:1094" to be run at: [2012-10-11 09:36:10 +0200] [2012-10-11 09:35:55 +0200][Dump ][PostMaster ] [castorpublic:1094 #0] Sending message kXR_open (file: /castor/cern.ch/user/l/ljanyst/?oss.asize=1048576000, mode: 0600, flags: kXR_new kXR_open_updt ) through substream 0 expecting answer at 0 [2012-10-11 09:35:55 +0200][Debug ][PostMaster ] [castorpublic:1094] Found 1 address(es): [::128.142.166.234]:1094 [2012-10-11 09:35:55 +0200][Debug ][AsyncSock ] [castorpublic:1094 #0.0] Attempting connection to [::128.142.166.234]:1094 [2012-10-11 09:35:55 +0200][Debug ][Poller ] Adding socket 0x205f10 to the poller [2012-10-11 09:35:55 +0200][Debug ][AsyncSock ] [castorpublic:1094 #0.0] Async connection call returned [2012-10-11 09:35:55 +0200][Debug ][XRootDTransport ] [castorpublic:1094 #0.0] Sending out the initial hand shake + kXR_protocol [2012-10-11 09:35:55 +0200][Dump ][AsyncSock ] [castorpublic:1094 #0.0] Wrote a message of 44 bytes [2012-10-11 09:35:55 +0200][Dump ][XRootDTransport ] <[::137.138.33.28]:52224><--><[::128.142.166.234]:1094> Read message 0x500420, size: 16, stream [0, 0] [2012-10-11 09:35:55 +0200][Dump ][AsyncSock ] [castorpublic:1094 #0.0] Received a message of 16 bytes [2012-10-11 09:35:55 +0200][Debug ][XRootDTransport ] [castorpublic:1094 #0.0] Got the server hand shake response (type: manager [], protocol version 297) [2012-10-11 09:35:55 +0200][Dump ][XRootDTransport ] <[::137.138.33.28]:52224><--><[::128.142.166.234]:1094> Read message 0x500420, size: 16, stream [0, 0] [2012-10-11 09:35:55 +0200][Dump ][AsyncSock ] [castorpublic:1094 #0.0] Received a message of 16 bytes [2012-10-11 09:35:55 +0200][Debug ][XRootDTransport ] [castorpublic:1094 #0.0] kXR_protocol successful (type: manager [], protocol version 297) [2012-10-11 09:35:55 +0200][Debug ][XRootDTransport ] [castorpublic:1094 #0.0] Sending out kXR_login request [2012-10-11 09:35:55 +0200][Dump ][AsyncSock ] [castorpublic:1094 #0.0] Wrote a message of 24 bytes [2012-10-11 09:35:55 +0200][Dump ][XRootDTransport ] <[::137.138.33.28]:52224><--><[::128.142.166.234]:1094> Read message 0x500580, size: 101, stream [0, 0] [2012-10-11 09:35:55 +0200][Dump ][AsyncSock ] [castorpublic:1094 #0.0] Received a message of 101 bytes [2012-10-11 09:35:55 +0200][Debug ][XRootDTransport ] [castorpublic:1094 #0.0] Logged in [2012-10-11 09:35:55 +0200][Debug ][XRootDTransport ] [castorpublic:1094 #0.0] Authentication is required: &P=krb5,[log in to unmask]&P=gsi,v:10300,c:ssl,ca:1d879c6c.0 [2012-10-11 09:35:55 +0200][Debug ][XRootDTransport ] [castorpublic:1094 #0.0] Sending authentication data Reading symbols for shared libraries . done Reading symbols for shared libraries ................. done Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to process 6225 thread 0x30f] 0x00007fff920b8875 in __CFInitialize () (gdb) bt #0 0x00007fff920b8875 in __CFInitialize () #1 0x00007fff5fc13256 in __dyld__ZN16ImageLoaderMachO11doImageInitERKN11ImageLoader11LinkContextE () #2 0x00007fff5fc13757 in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE () #3 0x00007fff5fc1006e in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE () #4 0x00007fff5fc0ffc4 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE () #5 0x00007fff5fc0ffc4 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE () #6 0x00007fff5fc0ffc4 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE () #7 0x00007fff5fc0ffc4 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE () #8 0x00007fff5fc0feba in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE () #9 0x00007fff5fc04e38 in __dyld__ZN4dyld15runInitializersEP11ImageLoader () #10 0x00007fff5fc0a87c in __dyld_dlopen () #11 0x00007fff8bd3bdd8 in dlopen () #12 0x00000001000f6196 in XrdSysPlugin::getPlugin (this=0x100206be0, pname=0x10037e1e0 "XrdSecProtocolkrb5Object", optional=0, global=176) at XrdSysPlugin.hh:113 #13 0x00000001001b5c84 in XrdSecPManager::ldPO (this=0x1001bb780, eMsg=0x10037e2c8, pmode=99 'c', pid=0x10037eb13 "krb5", parg=0x0, spath=<value temporarily unavailable, due to optimizations>) at /Users/ljanyst/Projects/xrootd/xrootd/src/XrdSec/XrdSecPManager.cc:311 #14 0x00000001001b577a in XrdSecPManager::Get (this=0x1001bb780, hname=0x100205a48 "castorpublic", netaddr=@0x100206b90, secparm=@0x100500720) at /Users/ljanyst/Projects/xrootd/xrootd/src/XrdSec/XrdSecPManager.cc:189 #15 0x00000001001b4e90 in XrdSecGetProtocol (hostname=0x100205a48 "castorpublic", netaddr=@0x100206b90, parms=@0x100500720, einfo=0x0) at /Users/ljanyst/Projects/xrootd/xrootd/src/XrdSec/XrdSecClient.cc:111 #16 0x0000000100020878 in XrdCl::XRootDTransport::GetCredentials (this=<value temporarily unavailable, due to optimizations>, credentials=@0x100380c90, hsData=0x1005004b0, info=0x100205a60) at XrdClXRootDTransport.cc:1290 #17 0x000000010001f41c in XrdCl::XRootDTransport::DoAuthentication (this=0x100204a50, hsData=0x1005004b0, info=0x100205a60) at XrdClXRootDTransport.cc:1154 #18 0x000000010001eb06 in XrdCl::XRootDTransport::HandShakeMain (this=0x100204a50, handShakeData=0x1005004b0, channelData=<value temporarily unavailable, due to optimizations>) at XrdClXRootDTransport.cc:324 #19 0x000000010001e99a in XrdCl::XRootDTransport::HandShake (this=0x100204a50, handShakeData=0x1005004b0, channelData=@0x1002059a8) at XrdClXRootDTransport.cc:246 #20 0x0000000100044614 in XrdCl::AsyncSocketHandler::OnReadWhileHandshaking (this=0x100205f40) at XrdClAsyncSocketHandler.cc:471 #21 0x00000001000466fa in ReadEventCallback (what=<value temporarily unavailable, due to optimizations>, arg=0x100206ba0) at XrdClPollerLibEvent.cc:136 #22 0x00000001000b3312 in event_base_loop () #23 0x0000000100046f0c in XrdCl::PollerLibEvent::RunEventLoop (this=0x100205520) at XrdClPollerLibEvent.cc:632 #24 0x0000000100045ae9 in RunPollerThread (arg=0x100204a50) at XrdClPollerLibEvent.cc:107 #25 0x00007fff881cd742 in _pthread_start () #26 0x00007fff881ba181 in thread_start () _______________________________________________________ Reply to this item at: <http://savannah.cern.ch/bugs/?98102> _______________________________________________ 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