AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
141.09k stars 26.68k forks source link

[Bug]: C:\arrow\cpp\src\arrow\filesystem\s3fs.cc:2598: arrow::fs::FinalizeS3 was not called even though S3 was initialized. This could lead to a segmentation fault at exit #11882

Closed vixenius closed 1 year ago

vixenius commented 1 year ago

Is there an existing issue for this?

What happened?

Ok so it started happening day or two ago. It happens when i go to extensions and check for the updates and then press apply and restart. This message pops up in cmd window and the browser is just loading endlessly. "C:\arrow\cpp\src\arrow\filesystem\s3fs.cc:2598: arrow::fs::FinalizeS3 was not called even though S3 was initialized. This could lead to a segmentation fault at exit"

I installed arrow, deleted venv, but it happens on my friends pc as well, so i know its not something i f***** up.

Steps to reproduce the problem

  1. Go to .... Extensions
  2. Press .... Apply and restart UI
  3. ... Screenshot 2023-07-19 192255 C:\arrow\cpp\src\arrow\filesystem\s3fs.cc:2598: arrow::fs::FinalizeS3 was not called even though S3 was initialized. This could lead to a segmentation fault at exit

What should have happened?

It should just soft reboot the webui..

Version or Commit where the problem happens

v1.5.0-RC-12-g0e47c36a

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Other GPUs

Cross attention optimization

xformers

What browsers do you use to access the UI ?

Google Chrome, Microsoft Edge

Command Line Arguments

--api --xformers --autolaunch --disable-safe-unpickle

List of extensions

Screenshot 2023-07-19 192843

Console logs

"Already up to date.
venv "D:\AINOVO\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.5.0-RC-12-g0e47c36a
Commit hash: 0e47c36a28ba638855d323409b5073660de14136

Checking roop requirements
Install opencv-python==4.7.0.72
Installing sd-webui-roop requirement: opencv-python==4.7.0.72

Launching Web UI with arguments: --api --xformers --autolaunch --disable-safe-unpickle
D:\AINOVO\stable-diffusion-webui\venv\lib\site-packages\torchaudio\backend\utils.py:62: UserWarning: No audio backend is available.
  warnings.warn("No audio backend is available.")
No SDP backend available, likely because you are running in pytorch versions < 2.0. In fact, you are using PyTorch 1.13.1+cu117. You might want to consider upgrading.
Stop Motion CN - Running Preload
Set Gradio Queue: True
==============================================================================
You are running torch 1.13.1+cu117.
The program is tested to work with torch 2.0.0.
To reinstall the desired version, run with commandline flag --reinstall-torch.
Beware that this will cause a lot of large files to be downloaded, as well as
there are reports of issues with training tab on the latest version.

Use --skip-version-check commandline argument to disable this check.
==============================================================================
=================================================================================
You are running xformers 0.0.16.
The program is tested to work with xformers 0.0.20.
To reinstall the desired version, run with commandline flag --reinstall-xformers.

Use --skip-version-check commandline argument to disable this check.
=================================================================================
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: D:\AINOVO\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
2023-07-19 19:07:29,528 - ControlNet - INFO - ControlNet v1.1.233
ControlNet preprocessor location: D:\AINOVO\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator
2023-07-19 19:07:31,291 - ControlNet - INFO - ControlNet v1.1.233
Loading weights [ec41bd2a82] from D:\AINOVO\stable-diffusion-webui\models\Stable-diffusion\photon_v1.safetensors
2023-07-19 19:07:38,337 - Roop - INFO - Roop v0.1.3
Creating model from config: D:\AINOVO\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
2023-07-19 19:09:06,640 - Roop - INFO - Roop v0.1.3
[VRAMEstimator] Loaded benchmark data.
Loading VAE weights specified in settings: D:\AINOVO\stable-diffusion-webui\models\VAE\DantionRealMix.vae.pt
Applying attention optimization: xformers... done.
Running on local URL:  http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 170.3s (launcher: 30.4s, import torch: 4.4s, import gradio: 2.1s, setup paths: 1.2s, other imports: 4.5s, setup codeformer: 0.2s, list SD models: 2.5s, load scripts: 9.7s, initialize extra networks: 0.3s, scripts before_ui_callback: 0.5s, create ui: 113.3s, gradio launch: 0.9s).
Model loaded in 115.8s (load weights from disk: 3.2s, create model: 0.4s, apply weights to model: 100.3s, apply half(): 0.6s, load VAE: 3.3s, move model to device: 0.6s, load textual inversion embeddings: 7.3s).
C:\arrow\cpp\src\arrow\filesystem\s3fs.cc:2598:  arrow::fs::FinalizeS3 was not called even though S3 was initialized.  This could lead to a segmentation fault at exit"

Additional information

No response

w-e-w commented 1 year ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11827#issuecomment-1637639473