You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/01/14 18:21:08 UTC

[GitHub] dabraude opened a new issue #13875: importing mxnet causing subprocess to crash

dabraude opened a new issue #13875: importing mxnet causing subprocess to crash
URL: https://github.com/apache/incubator-mxnet/issues/13875
 
 
   may be related to #13831
   
   ## Description
   importing mxnet causes OSErrors in subprocess
   
   
   ## Environment info (Required)
   Scientific Linux 7.5
   Python 3.6.3 
   MXnet 1.5.0 (from packages)
   (tried on multiple computers running different cuda builds) 
   
   
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   
   ## Minimum reproducible example
   Using the following script (or just using the appropriate commands)
   
   import mxnet
   import subprocess
   n = 0
   while True:
       if not n%1000: print ("RUN", n)
       ret = subprocess.call(['ls', '/tmp'], stdout=subprocess.PIPE)
       n += 1
   
   will eventually give this error message:
   
   Traceback (most recent call last):
      File "subcrash.py", line 13, in <module>
        ret = subprocess.call(['ls', '/'], stdout=subprocess.PIPE)
      File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py", 
   line 267, in call
        with Popen(*popenargs, **kwargs) as p:
      File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py", 
   line 709, in __init__
        restore_signals, start_new_session)
      File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py", 
   line 1344, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
   OSError: [Errno 14] Bad address: 'ls'
   
   Doesn't seem to matter which executable.
   
   ## What have you tried to solve it?
   
   Don't even know where to start.
   If you try putting in a stack tract or pdb it won't break.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services