Print

Print


Similar to #1198 I've found that XRootD's Python bindings break Python's subprocess module. Unlike on Linux it's trivially reproducible:

$ python -c 'import XRootD.client; eos = XRootD.client.FileSystem("root://eoslhcb.cern.ch/"); eos.dirlist("/eos"); import subprocess; subprocess.check_output(["ls"])'                                               (logse-sqlite)
KQ: bad file descriptor polling for events
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/cburr/mambaforge/envs/logse-sqlite/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/Users/cburr/mambaforge/envs/logse-sqlite/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ls']' died with <Signals.SIGABRT: 6>.

I guess the other three XrdSysIOEventsPoll implementations need to have a similar patch applied to only abort if the parent PID doesn't match.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1673@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1673", "url": "https://github.com/xrootd/xrootd/issues/1673", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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