question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent BrokenPipe

See original GitHub issue

Hi,

I’m getting this error:

Traceback (most recent call last):
  File "/home/snpowers/Git/continual-reinforcement-learning/continual_rl/envs/thor/thor_general_env.py", line 135, in try_step
    event = controller.step(**thor_action_data)
  File "/home/snpowers/miniconda3/envs/venv_continual_jan2021_manual/lib/python3.8/site-packages/ai2thor/controller.py", line 916, in
step
    self.server.send(action)
  File "/home/snpowers/miniconda3/envs/venv_continual_jan2021_manual/lib/python3.8/site-packages/ai2thor/fifo_server.py", line 196, in
 send
    self._send_message(
  File "/home/snpowers/miniconda3/envs/venv_continual_jan2021_manual/lib/python3.8/site-packages/ai2thor/fifo_server.py", line 175, in
 _send_message
    self.client_pipe.flush()
BrokenPipeError: [Errno 32] Broken pipe
ERROR:/glusterfs/snpowers/thor_logs/thor_main_logs/thor_2021-07-23 03:20:14.973923.log:Stepping environment with action {'action': 'Pass'} failed with exception: [Errno 32] Broken pipe.

randomly (generally after about 3 hours of running or so - about 300k steps). The Player.log contains no error info to speak of (happy to post if desired). Any idea what might be happening to the Thor process to cause it to fail in this way? Or where a more helpful error message might be located? I would have assumed that generally, any failed actions would have ‘lastActionSuccess’ as False, with something populating the “errorMessage”, instead of this rather catastrophic crash. The action that was taken immediately prior to the start of the BrokenPipe messages was a simple “MoveAhead” action that seemed to succeed.

I’m on a build that was sent to me to test out the CloudRendering pipeline. It has generally been working, but this is causing some problems.

Thanks!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
laurimicommented, Mar 27, 2022

@qazwini I just re-initialize the controller object by calling the constructor/init method, since I’m not sure if it is possible to do it otherwise. I have to set again all the controller options, but this is not an issues usually since the crashes happen for me at reset when I am setting everything up anyway.

1reaction
qazwinicommented, Mar 14, 2022

I need to run a bunch of Thor processes, but it hangs. Is there a way around this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intermittent broken pipe · Issue #24387 · istio/istio
We upgraded recently from Istio 1.3.6 and we weren't seeing these issues. ... The client uses jredis. We see the issue where the...
Read more >
How to Fix java.net.SocketException: Broken pipe in Java
It is a harmless warning as it can be due to transient network problems or the browser aborts/refreshes the page before it loaded....
Read more >
ActiveMQ connections break intermittently with “Broken pipe ...
The behavior occurs due to clogged network or issues maintaining socket connections on the server.
Read more >
Intermittent JDBC Broken Pipe and Link Failure - java
A Broken pipe message means that the other end closed the connection, possibly because of a wrong order of packets received, or because...
Read more >
Intermittent Broken pipe error during FTP transfer
I have an issue with a mainframe z/OS server that does FTP transfers to another server in a different data center. The FTP...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found