Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: TeeStream: deadlock observed joining reader threads #2121

Open
KelvinCheng5507 opened this issue Jan 12, 2025 · 2 comments
Open

Error: TeeStream: deadlock observed joining reader threads #2121

KelvinCheng5507 opened this issue Jan 12, 2025 · 2 comments
Assignees

Comments

@KelvinCheng5507
Copy link

Context: I'm using Pyomo with HiGHS on Google Cloud Functions V2 with Python. It works fine with smaller models, but for larger models I'm consistently getting this error:

TeeStream: deadlock observed joining reader threads

I checked that TeeStream is not a python thing so I'm wondering whether it's related to the C++ code in HiGHS?

This error occurs after the solve terminates.

Thanks a lot!

@jajhall
Copy link
Member

jajhall commented Jan 12, 2025

I've never heard of "Teestream", so I don't think it's involved with HiGHS. However, no-one in the main HiGHS team is a Python programmer

Seeing it mentioned here Pyomo/pyomo#3210, this looks like a Pyomo problem

Does this mean anything to you @mathgeekcoder?

@mathgeekcoder
Copy link
Contributor

This might be related to #1670. I believe TeeStream just duplicates and redirects the stdout and stderr streams.

It could be a HiGHS issue. I just got back from travel, so might have a little time to investigate once I get caught up.

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

No branches or pull requests

4 participants