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

[Bug]: random crash with "press any key to continue" #16809

Open
2 of 6 tasks
cain666-4u opened this issue Jan 25, 2025 · 1 comment
Open
2 of 6 tasks

[Bug]: random crash with "press any key to continue" #16809

cain666-4u opened this issue Jan 25, 2025 · 1 comment
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@cain666-4u
Copy link

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

i get a random crash with no error other than "Press any key to continue..." popping up, it seems to happen regardless of extensions being active or not, it happens at completely random times (even with zero activity with the program) but much more often during startup or generation.

Steps to reproduce the problem

random

What should have happened?

shoudnt crash

What browsers do you use to access the UI ?

No response

Sysinfo

sysinfo-2025-01-25-00-25.json

Console logs

venv "J:\Ai\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Launching Web UI with arguments: --xformers --ckpt-dir 'J:\Ai\checkpoint' --embeddings-dir 'J:\Ai\embeddings' --autolaunch
*** "Disable all extensions" option was set, will only load built-in extensions ***
Press any key to continue . . .

Additional information

No response

@cain666-4u cain666-4u added the bug-report Report of a bug, yet to be confirmed label Jan 25, 2025
@cain666-4u
Copy link
Author

i tried a fresh install of both auto1111 and python, and got this during install:

Creating venv in directory J:\Ai\stable-diffusion-webui\venv using python "C:\Users\cain6\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe"
Requirement already satisfied: pip in j:\ai\stable-diffusion-webui\venv\lib\site-packages (23.0.1)
Collecting pip
Using cached pip-24.3.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.0.1
Uninstalling pip-23.0.1:
Successfully uninstalled pip-23.0.1
Successfully installed pip-24.3.1
WARNING: There was an error checking the latest version of pip.
venv "J:\Ai\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting torch==2.1.2
Using cached https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-win_amd64.whl (2473.9 MB)
Collecting torchvision==0.16.2
Using cached https://download.pytorch.org/whl/cu121/torchvision-0.16.2%2Bcu121-cp310-cp310-win_amd64.whl (5.6 MB)
Collecting filelock (from torch==2.1.2)
Downloading filelock-3.17.0-py3-none-any.whl.metadata (2.9 kB)
Collecting typing-extensions (from torch==2.1.2)
Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting sympy (from torch==2.1.2)
Using cached sympy-1.13.3-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch==2.1.2)
Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting jinja2 (from torch==2.1.2)
Using cached jinja2-3.1.5-py3-none-any.whl.metadata (2.6 kB)
Collecting fsspec (from torch==2.1.2)
Using cached fsspec-2024.12.0-py3-none-any.whl.metadata (11 kB)
Collecting numpy (from torchvision==0.16.2)
Downloading numpy-2.2.2-cp310-cp310-win_amd64.whl.metadata (60 kB)
Collecting requests (from torchvision==0.16.2)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting pillow!=8.3.*,>=5.3.0 (from torchvision==0.16.2)
Using cached pillow-11.1.0-cp310-cp310-win_amd64.whl.metadata (9.3 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch==2.1.2)
Using cached MarkupSafe-3.0.2-cp310-cp310-win_amd64.whl.metadata (4.1 kB)
Collecting charset-normalizer<4,>=2 (from requests->torchvision==0.16.2)
Using cached charset_normalizer-3.4.1-cp310-cp310-win_amd64.whl.metadata (36 kB)
Collecting idna<4,>=2.5 (from requests->torchvision==0.16.2)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests->torchvision==0.16.2)
Using cached urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests->torchvision==0.16.2)
Using cached certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->torch==2.1.2)
Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
Using cached pillow-11.1.0-cp310-cp310-win_amd64.whl (2.6 MB)
Downloading filelock-3.17.0-py3-none-any.whl (16 kB)
Using cached fsspec-2024.12.0-py3-none-any.whl (183 kB)
Using cached jinja2-3.1.5-py3-none-any.whl (134 kB)
Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB)
Downloading numpy-2.2.2-cp310-cp310-win_amd64.whl (12.9 MB)
--------------------------- 12.9/12.9 MB 8.5 MB/s eta 0:00:00
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached sympy-1.13.3-py3-none-any.whl (6.2 MB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)
Using cached charset_normalizer-3.4.1-cp310-cp310-win_amd64.whl (102 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached MarkupSafe-3.0.2-cp310-cp310-win_amd64.whl (15 kB)
Using cached urllib3-2.3.0-py3-none-any.whl (128 kB)
ERROR: Error while checking for conflicts. Please file an issue on pip's issue tracker: https://github.com/pypa/pip/issues/new
Traceback (most recent call last):
File "J:\Ai\stable-diffusion-webui\venv\lib\site-packages\pip_internal\commands\install.py", line 584, in _determine_conflicts
return check_install_conflicts(to_install)
File "J:\Ai\stable-diffusion-webui\venv\lib\site-packages\pip_internal\operations\check.py", line 119, in check_install_conflicts
would_be_installed = _simulate_installation_of(to_install, package_set)
File "J:\Ai\stable-diffusion-webui\venv\lib\site-packages\pip_internal\operations\check.py", line 158, in simulate_installation_of
dist = abstract_dist.get_metadata_distribution()
File "J:\Ai\stable-diffusion-webui\venv\lib\site-packages\pip_internal\distributions\wheel.py", line 34, in get_metadata_distribution
return get_wheel_distribution(wheel, canonicalize_name(self.req.name))
File "J:\Ai\stable-diffusion-webui\venv\lib\site-packages\pip_internal\metadata_init
.py", line 106, in get_wheel_distribution
return select_backend().Distribution.from_wheel(wheel, canonical_name)
File "J:\Ai\stable-diffusion-webui\venv\lib\site-packages\pip_internal\metadata\pkg_resources.py", line 139, in from_wheel
with wheel.as_zipfile() as zf:
File "J:\Ai\stable-diffusion-webui\venv\lib\site-packages\pip_internal\metadata\base.py", line 679, in as_zipfile
return zipfile.ZipFile(self.location, allowZip64=True)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\zipfile.py", line 1269, in init
self._RealGetContents()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\zipfile.py", line 1391, in _RealGetContents
x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F,
TypeError: unsupported operand type(s) for >>: 'ZipInfo' and 'int'
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision
Successfully installed MarkupSafe-3.0.2 certifi-2024.12.14 charset-normalizer-3.4.1 filelock-3.17.0 fsspec-2024.12.0 idna-3.10 jinja2-3.1.5 mpmath-1.3.0 networkx-3.4.2 numpy-2.2.2 pillow-11.1.0 requests-2.32.3 sympy-1.13.3 torch-2.1.2+cu121 torchvision-0.16.2+cu121 typing-extensions-4.12.2 urllib3-2.3.0
Installing clip
Installing open_clip
Cloning assets into J:\Ai\stable-diffusion-webui\repositories\stable-diffusion-webui-assets...
Cloning into 'J:\Ai\stable-diffusion-webui\repositories\stable-diffusion-webui-assets'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 20 (delta 0), reused 20 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (20/20), 132.70 KiB | 1.98 MiB/s, done.
Cloning Stable Diffusion into J:\Ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai...
Cloning into 'J:\Ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai'...
remote: Enumerating objects: 580, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 580 (delta 0), reused 0 (delta 0), pack-reused 578 (from 2)
Receiving objects: 100% (580/580), 73.44 MiB | 8.33 MiB/s, done.
Resolving deltas: 100% (283/283), done.
Cloning Stable Diffusion XL into J:\Ai\stable-diffusion-webui\repositories\generative-models...
Cloning into 'J:\Ai\stable-diffusion-webui\repositories\generative-models'...
remote: Enumerating objects: 1064, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 1064 (delta 35), reused 28 (delta 28), pack-reused 1007 (from 3)
Receiving objects: 100% (1064/1064), 53.61 MiB | 7.16 MiB/s, done.
Resolving deltas: 100% (544/544), done.
Cloning K-diffusion into J:\Ai\stable-diffusion-webui\repositories\k-diffusion...
Cloning into 'J:\Ai\stable-diffusion-webui\repositories\k-diffusion'...
remote: Enumerating objects: 1350, done.
remote: Counting objects: 100% (651/651), done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 1350 (delta 608), reused 566 (delta 564), pack-reused 699 (from 1)
Receiving objects: 100% (1350/1350), 239.59 KiB | 2.75 MiB/s, done.
Resolving deltas: 100% (948/948), done.
Cloning BLIP into J:\Ai\stable-diffusion-webui\repositories\BLIP...
Cloning into 'J:\Ai\stable-diffusion-webui\repositories\BLIP'...
remote: Enumerating objects: 277, done.
remote: Counting objects: 100% (183/183), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 277 (delta 145), reused 137 (delta 137), pack-reused 94 (from 1)
Receiving objects: 100% (277/277), 7.04 MiB | 7.50 MiB/s, done.
Resolving deltas: 100% (152/152), done.
Installing requirements
Traceback (most recent call last):
File "J:\Ai\stable-diffusion-webui\launch.py", line 48, in
main()
File "J:\Ai\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "J:\Ai\stable-diffusion-webui\modules\launch_utils.py", line 423, in prepare_environment
run_pip(f"install -r "{requirements_file}"", "requirements")
File "J:\Ai\stable-diffusion-webui\modules\launch_utils.py", line 144, in run_pip
return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
File "J:\Ai\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install requirements.
Command: "J:\Ai\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install -r "requirements_versions.txt" --prefer-binary
Error code: 3221225477
stdout: Collecting setuptools==69.5.1 (from -r requirements_versions.txt (line 1))
Using cached setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB)
Collecting GitPython==3.1.32 (from -r requirements_versions.txt (line 2))
Using cached GitPython-3.1.32-py3-none-any.whl.metadata (10.0 kB)
Collecting Pillow==9.5.0 (from -r requirements_versions.txt (line 3))
Using cached Pillow-9.5.0-cp310-cp310-win_amd64.whl.metadata (9.7 kB)
Collecting accelerate==0.21.0 (from -r requirements_versions.txt (line 4))
Using cached accelerate-0.21.0-py3-none-any.whl.metadata (17 kB)
Collecting blendmodes==2022 (from -r requirements_versions.txt (line 5))
Using cached blendmodes-2022-py3-none-any.whl.metadata (12 kB)
Collecting clean-fid==0.1.35 (from -r requirements_versions.txt (line 6))
Using cached clean_fid-0.1.35-py3-none-any.whl.metadata (36 kB)
Collecting diskcache==5.6.3 (from -r requirements_versions.txt (line 7))
Using cached diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Collecting einops==0.4.1 (from -r requirements_versions.txt (line 8))
Using cached einops-0.4.1-py3-none-any.whl.metadata (10 kB)
Collecting facexlib==0.3.0 (from -r requirements_versions.txt (line 9))
Using cached facexlib-0.3.0-py3-none-any.whl.metadata (4.6 kB)
Collecting fastapi==0.94.0 (from -r requirements_versions.txt (line 10))
Using cached fastapi-0.94.0-py3-none-any.whl.metadata (25 kB)
Collecting gradio==3.41.2 (from -r requirements_versions.txt (line 11))
Using cached gradio-3.41.2-py3-none-any.whl.metadata (17 kB)
Collecting httpcore==0.15 (from -r requirements_versions.txt (line 12))
Using cached httpcore-0.15.0-py3-none-any.whl.metadata (15 kB)
Collecting inflection==0.5.1 (from -r requirements_versions.txt (line 13))
Using cached inflection-0.5.1-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting jsonmerge==1.8.0 (from -r requirements_versions.txt (line 14))
Using cached jsonmerge-1.8.0-py3-none-any.whl
Collecting kornia==0.6.7 (from -r requirements_versions.txt (line 15))
Using cached kornia-0.6.7-py2.py3-none-any.whl.metadata (12 kB)
Collecting lark==1.1.2 (from -r requirements_versions.txt (line 16))
Using cached lark-1.1.2-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting numpy==1.26.2 (from -r requirements_versions.txt (line 17))
Using cached numpy-1.26.2-cp310-cp310-win_amd64.whl.metadata (61 kB)
Collecting omegaconf==2.2.3 (from -r requirements_versions.txt (line 18))
Using cached omegaconf-2.2.3-py3-none-any.whl.metadata (3.9 kB)
Collecting open-clip-torch==2.20.0 (from -r requirements_versions.txt (line 19))
Using cached open_clip_torch-2.20.0-py3-none-any.whl.metadata (46 kB)
Collecting piexif==1.1.3 (from -r requirements_versions.txt (line 20))
Using cached piexif-1.1.3-py2.py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: protobuf==3.20.0 in j:\ai\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 21)) (3.20.0)
Collecting psutil==5.9.5 (from -r requirements_versions.txt (line 22))
Using cached psutil-5.9.5-cp36-abi3-win_amd64.whl.metadata (21 kB)
Collecting pytorch_lightning==1.9.4 (from -r requirements_versions.txt (line 23))
Using cached pytorch_lightning-1.9.4-py3-none-any.whl.metadata (22 kB)
Collecting resize-right==0.0.2 (from -r requirements_versions.txt (line 24))
Using cached resize_right-0.0.2-py3-none-any.whl.metadata (551 bytes)
Collecting safetensors==0.4.2 (from -r requirements_versions.txt (line 25))
Using cached safetensors-0.4.2-cp310-none-win_amd64.whl.metadata (3.9 kB)
Collecting scikit-image==0.21.0 (from -r requirements_versions.txt (line 26))
Using cached scikit_image-0.21.0-cp310-cp310-win_amd64.whl.metadata (14 kB)
Collecting spandrel==0.3.4 (from -r requirements_versions.txt (line 27))
Using cached spandrel-0.3.4-py3-none-any.whl.metadata (14 kB)
Collecting spandrel-extra-arches==0.1.1 (from -r requirements_versions.txt (line 28))
Using cached spandrel_extra_arches-0.1.1-py3-none-any.whl.metadata (3.0 kB)
Collecting tomesd==0.1.3 (from -r requirements_versions.txt (line 29))
Using cached tomesd-0.1.3-py3-none-any.whl.metadata (9.1 kB)
Requirement already satisfied: torch in j:\ai\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 30)) (2.1.2+cu121)
Collecting torchdiffeq==0.2.3 (from -r requirements_versions.txt (line 31))
Using cached torchdiffeq-0.2.3-py3-none-any.whl.metadata (488 bytes)
Collecting torchsde==0.2.6 (from -r requirements_versions.txt (line 32))
Using cached torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB)
Collecting transformers==4.30.2 (from -r requirements_versions.txt (line 33))
Using cached transformers-4.30.2-py3-none-any.whl.metadata (113 kB)
Collecting httpx==0.24.1 (from -r requirements_versions.txt (line 34))
Using cached httpx-0.24.1-py3-none-any.whl.metadata (7.4 kB)
Collecting pillow-avif-plugin==1.4.3 (from -r requirements_versions.txt (line 35))
Using cached pillow_avif_plugin-1.4.3-cp310-cp310-win_amd64.whl.metadata (1.7 kB)
Collecting gitdb<5,>=4.0.1 (from GitPython==3.1.32->-r requirements_versions.txt (line 2))
Using cached gitdb-4.0.12-py3-none-any.whl.metadata (1.2 kB)
Requirement already satisfied: packaging>=20.0 in j:\ai\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.21.0->-r requirements_versions.txt (line 4)) (24.2)
Requirement already satisfied: pyyaml in j:\ai\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.21.0->-r requirements_versions.txt (line 4)) (6.0.2)
Collecting aenum<4,>=3.1.7 (from blendmodes==2022->-r requirements_versions.txt (line 5))
Using cached aenum-3.1.15-py3-none-any.whl.metadata (3.7 kB)
Collecting deprecation<3,>=2.1.0 (from blendmodes==2022->-r requirements_versions.txt (line 5))
Using cached deprecation-2.1.0-py2.py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: torchvision in j:\ai\stable-diffusion-webui\venv\lib\site-packages (from clean-fid==0.1.35->-r requirements_versions.txt (line 6)) (0.16.2+cu121)
Collecting scipy>=1.0.1 (from clean-fid==0.1.35->-r requirements_versions.txt (line 6))
Using cached scipy-1.15.1-cp310-cp310-win_amd64.whl.metadata (60 kB)
Requirement already satisfied: tqdm>=4.28.1 in j:\ai\stable-diffusion-webui\venv\lib\site-packages (from clean-fid==0.1.35->-r requirements_versions.txt (line 6)) (4.67.1)
Requirement already satisfied: requests in j:\ai\stable-diffusion-webui\venv\lib\site-packages (from clean-fid==0.1.35->-r requirements_versions.txt (line 6)) (2.32.3)
Collecting filterpy (from facexlib==0.3.0->-r requirements_versions.txt (line 9))
Using cached filterpy-1.4.5-py3-none-any.whl
Collecting numba (from facexlib==0.3.0->-r requirements_versions.txt (line 9))
Downloading numba-0.61.0-cp310-cp310-win_amd64.whl.metadata (2.8 kB)

Press any key to continue . . .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

1 participant