{"action":"created","issue":{"url":"https://api.github.com/repos/xrootd/xrootd/issues/488","repository_url":"https://api.github.com/repos/xrootd/xrootd","labels_url":"https://api.github.com/repos/xrootd/xrootd/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/xrootd/xrootd/issues/488/comments","events_url":"https://api.github.com/repos/xrootd/xrootd/issues/488/events","html_url":"https://github.com/xrootd/xrootd/issues/488","id":217994299,"number":488,"title":"XrdCl calls close-file callback twice","user":{"login":"bbockelm","id":1093447,"avatar_url":"https://avatars1.githubusercontent.com/u/1093447?v=3","gravatar_id":"","url":"https://api.github.com/users/bbockelm","html_url":"https://github.com/bbockelm","followers_url":"https://api.github.com/users/bbockelm/followers","following_url":"https://api.github.com/users/bbockelm/following{/other_user}","gists_url":"https://api.github.com/users/bbockelm/gists{/gist_id}","starred_url":"https://api.github.com/users/bbockelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbockelm/subscriptions","organizations_url":"https://api.github.com/users/bbockelm/orgs","repos_url":"https://api.github.com/users/bbockelm/repos","events_url":"https://api.github.com/users/bbockelm/events{/privacy}","received_events_url":"https://api.github.com/users/bbockelm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-29T20:09:33Z","updated_at":"2017-04-06T13:34:40Z","closed_at":null,"body":"See:\r\n\r\nhttps://github.com/cms-sw/cmssw/issues/18102\r\n\r\nCMS is seeing the xrootd client (`XrdCl`) invoke the callback twice.  Not 100% sure, but seems to occur when the client has run read recovery and is still hitting timeouts.\r\n\r\nThis is with xrootd-4.5.0."},"comment":{"url":"https://api.github.com/repos/xrootd/xrootd/issues/comments/292176112","html_url":"https://github.com/xrootd/xrootd/issues/488#issuecomment-292176112","issue_url":"https://api.github.com/repos/xrootd/xrootd/issues/488","id":292176112,"user":{"login":"bbockelm","id":1093447,"avatar_url":"https://avatars1.githubusercontent.com/u/1093447?v=3","gravatar_id":"","url":"https://api.github.com/users/bbockelm","html_url":"https://github.com/bbockelm","followers_url":"https://api.github.com/users/bbockelm/followers","following_url":"https://api.github.com/users/bbockelm/following{/other_user}","gists_url":"https://api.github.com/users/bbockelm/gists{/gist_id}","starred_url":"https://api.github.com/users/bbockelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbockelm/subscriptions","organizations_url":"https://api.github.com/users/bbockelm/orgs","repos_url":"https://api.github.com/users/bbockelm/repos","events_url":"https://api.github.com/users/bbockelm/events{/privacy}","received_events_url":"https://api.github.com/users/bbockelm/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T13:34:40Z","updated_at":"2017-04-06T13:34:40Z","body":"@simonmichal - we applied the patch from #483 and Xrootd client crashes become significantly more frequent.\r\n\r\nIt actually appears to be related to this invalid memory handling:\r\n\r\nhttps://github.com/cms-sw/cmssw/issues/14952#issuecomment-243616732\r\n\r\nand seems to usually be prefixed by the following:\r\n\r\n```\r\n[2016-08-30 16:52:52.468355 -0400][Error  ][XRootDTransport   ] Message 0xf0270d30, stream [1, 0] is a response that we're no longer interested in (timed out)\r\n```\r\n\r\nI.e., it seems that the same message is getting processed twice - the first time it is processed, it is deleted.  The second time, it segfaults the application.\r\n\r\nThis is becoming a blocker for our physics release for the year, so help would be appreciated."}}
{"actor":{"display_login":"bbockelm"}}