Saw a crash with this stack trace
@athas is already working on this.
Since Jan 17, 2024.
Assessment
This issue has not been assessed yet.
Description
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/views.py", line 99, in index
result = sessions.create_session()
File "/sessions.py", line 104, in create_session
session = Session(
File "/session.py", line 197, in __init__
self.process = FutharkREPL(
File "/session.py", line 115, in __init__
self.banner, self.init_lastline = next(self.generator).rsplit("\n", 1)
File "/session.py", line 141, in create_generator
yield self.read()
File "/session.py", line 123, in read
out = timed_read(
File "/session.py", line 46, in timed_read
ready_to_read, _, _ = select.select(fds, [], [], step_timeout)
ValueError: filedescriptor out of range in select()
r, w, e = select.select(r, w, e, timeout)
ValueError: filedescriptor out of range in select()
I'll look at it eventually; probably a missing exception handler in some cases of network communication failure. Alternatively we could set up the REPL daemon to restart on crash.
- Dominant language
- Python
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
future-agi/future-agi#6392 ·
Maintainers usually reply within 1 day
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPossibly taken @prathameshfuke claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
StingraySoftware/HENDRICS#213 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day