Skip to content

[netxng] Delete XrdFile already at Close():#8796

Merged
Axel-Naumann merged 1 commit intoroot-project:masterfrom
Axel-Naumann:issue8767-netxng-xrdfile-delete
Aug 4, 2021
Merged

[netxng] Delete XrdFile already at Close():#8796
Axel-Naumann merged 1 commit intoroot-project:masterfrom
Axel-Naumann:issue8767-netxng-xrdfile-delete

Conversation

@Axel-Naumann
Copy link
Copy Markdown
Member

This prevents the deletion of the TNetXNGFile triggered by static
destruction (TROOT::~TROOT() deleting open files) at a point where
the Xrootd client library had its static destruction already run,
and thus the call to XrdCl::File::~File() fails.

Fixes #8767.

This prevents the deletion of the TNetXNGFile triggered by static
destruction (TROOT::~TROOT() deleting open files) at a point where
the Xrootd client library had its static destruction already run,
and thus the call to XrdCl::File::~File() fails.

Fixes root-project#8767.
@Axel-Naumann Axel-Naumann added this to the 6.26/00 milestone Aug 4, 2021
@Axel-Naumann Axel-Naumann requested a review from osschar August 4, 2021 11:54
@Axel-Naumann Axel-Naumann self-assigned this Aug 4, 2021
@Axel-Naumann Axel-Naumann requested a review from gganis as a code owner August 4, 2021 11:54
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on ROOT-debian10-i386/cxx14.
Running on pcepsft10.dyndns.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2021-08-04T11:56:23.304Z] stderr: error: could not read '.git/rebase-apply/head-name': No such file or directory

Failing tests:

@Axel-Naumann Axel-Naumann merged commit 3845be7 into root-project:master Aug 4, 2021
@Axel-Naumann Axel-Naumann deleted the issue8767-netxng-xrdfile-delete branch August 4, 2021 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[netxng] Crash in on-exit destruction of an TNetXNGFile object

3 participants