random crashes since last update
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 155
Description
Ubuntu 23.10. Since last update of comfyui it randomly crashes when generating the images. I always can see the same message in the terminal:
Prompt executed in 63.15 seconds
Traceback (most recent call last):
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/main.py", line 253, in
loop.run_until_complete(run(server, address=args.listen, port=args.port, verbose=not args.dont_print_server, call_on_start=call_on_start))
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/main.py", line 148, in run
await asyncio.gather(server.start(address, port, verbose, call_on_start), server.publish_loop())
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/server.py", line 627, in publish_loop
await self.send(*msg)
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/server.py", line 562, in send
await self.send_json(event, data, sid)
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/server.py", line 615, in send_json
await send_socket_catch_exception(self.sockets[sid].send_json, message)
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/server.py", line 41, in send_socket_catch_exception
await function(message)
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/venv/lib/python3.11/site-packages/aiohttp/web_ws.py", line 351, in send_json
await self.send_str(dumps(data), compress=compress)
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/venv/lib/python3.11/site-packages/aiohttp/web_ws.py", line 335, in send_str
await self._writer.send(data, binary=False, compress=compress)
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/venv/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 729, in send
await self._send_frame(message, WSMsgType.TEXT, compress)
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/venv/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 644, in _send_frame
message = await compressobj.compress(message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/vicente/Samsung870VQO1TB/comfyui/ComfyUI/venv/lib/python3.11/site-packages/aiohttp/compression_utils.py", line 71, in compress
async with self._compress_lock:
File "/usr/lib/python3.11/asyncio/locks.py", line 15, in __aenter__
await self.acquire()
File "/usr/lib/python3.11/asyncio/locks.py", line 106, in acquire
fut = self._get_loop().create_future()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/mixins.py", line 20, in _get_loop
raise RuntimeError(f'{self!r} is bound to a different event loop')
RuntimeError: is bound to a different event loop
After the crash I restart comfyui try the same workflow and most times it works fine. This happened with multiple differnt workflows. Also the first time it happened it was so bad that it rejected generating anymore images and finally had to reboot my computer, then it got fine (for a while).
Frequency wise I'm not sure, maybe once every hour of intense usage? Especially if I set a batch of 100 generations and go. When I'm back it may did 5 or 15 images and it crashed.
Contributor guide
Assessment
This issue has not been assessed yet.