Repository: stable-diffusion-webui
Issue: [Bug]: ./webui.sh: line 254: 15996 Segmentation fault      (core dumped) "${python_cmd}" "${LAUNCH_SCRIPT}" "$@"
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

```
Launching Web UI with arguments: 
./webui.sh: line 254: 15996 Segmentation fault      (core dumped) "${python_cmd}" "${LAUNCH_SCRIPT}" "$@"
```
![Screenshot from 2023-08-13 01-42-11](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/52115509/1c2ad782-b6e9-4f9b-98cd-44670aedd4e4)


### Steps to reproduce the problem

Just download lastest dev and run get this


### What should have happened?

```
./webui.sh 

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on b_cansin user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
python venv already activate or run without venv: /media/b_cansin/ai/ai/stable-diffusion-webui/venv
################################################################

################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
fatal: No names found, cannot describe anything.
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Version: 1.5.1
Commit hash: 7ba3923d5b494b7756d0b12f33acb3716d830b9a
Installing requirements

Installing requirements 1 for Infinite-Zoom







Launching Web UI with arguments: 
2023-08-13 01:44:23.237055: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
no module 'xformers'. Processing without...
No SDP backend available, likely because you are running in pytorch versions < 2.0. In fact, you are using PyTorch 1.13.1+rocm5.2. You might want to consider upgrading.
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
==============================================================================
You are running torch 1.13.1+rocm5.2.
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.
==============================================================================
*** Error loading script: postprocessing_pixelization.py
    Traceback (most recent call last):
      File "/media/b_cansin/ai/ai/stable-diffusion-webui/modules/scripts.py", line 319, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/media/b_cansin/ai/ai/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/media/b_cansin/ai/ai/stable-diffusion-webui/scripts/postprocessing_pixelization.py", line 13, in <module>
        from pixelization.models.networks import define_G
    ModuleNotFoundError: No module named 'pixelization'

---
*** Error loading script: xy_grid.py
    Traceback (most recent call last):
      File "/media/b_cansin/ai/ai/stable-diffusion-webui/modules/scripts.py", line 319, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/media/b_cansin/ai/ai/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/media/b_cansin/ai/ai/stable-diffusion-webui/scripts/xy_grid.py", line 15, in <module>
        from modules.processing import process_images, Processed, get_correct_sampler, StableDiffusionProcessingTxt2Img
    ImportError: cannot import name 'get_correct_sampler' from 'modules.processing' (/media/b_cansin/ai/ai/stable-diffusion-webui/modules/processing.py)

---
Loading weights [879db523c3] from /media/b_cansin/ai/ai/stable-diffusion-webui/models/Stable-diffusion/dreamshaper_8/dreamshaper_8.safetensors
Creating model from config: /media/b_cansin/ai/ai/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Model loaded in 56.1s (load weights from disk: 3.0s, create model: 1.3s, apply weights to model: 26.4s, apply half(): 1.9s, load VAE: 2.8s, move model to device: 0.8s, load textual inversion embeddings: 1.1s, calculate empty prompt: 18.7s).
2023-08-13 01:45:58,301 - ControlNet - INFO - ControlNet v1.1.234
ControlNet preprocessor location: /media/b_cansin/ai/ai/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-08-13 01:45:58,989 - ControlNet - INFO - ControlNet v1.1.234
Hypernetwork-MonkeyPatch-Extension found!
Applying attention optimization: Doggettx... done.
[VRAMEstimator] Loaded benchmark data.
*Deforum ControlNet support: enabled*
MIOpen(HIP): Warning [SQLiteBase] Missing system database file: gfx906_60.kdb Performance may degrade. Please follow instructions to install: https://github.com/ROCmSoftwarePlatform/MIOpen#installing-miopen-kernels-package
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 155.4s (prepare environment: 35.8s, launcher: 0.8s, import torch: 24.5s, import gradio: 3.1s, setup paths: 5.5s, import ldm: 0.1s, other imports: 4.2s, setup codeformer: 0.6s, list SD models: 3.0s, load scripts: 68.2s, create ui: 8.7s, gradio launch: 0.5s, app_started_callback: 0.1s).


```

### Version or Commit where the problem happens

7ba3923d5b494b7756d0b12f33acb3716d830b9a

### What Python version are you running on ?

Python 3.10.x

### What platforms do you use to access the UI ?

Linux

### What device are you running WebUI on?

AMD GPUs (RX 6000 above)

### Cross attention optimization

Doggettx

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
Launching Web UI with arguments:
```


### List of extensions

![Screenshot from 2023-08-13 01-47-46](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/52115509/f56b70ba-e304-4e22-9b65-9a04355958c1)


### Console logs

```Shell
./webui.sh 

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on b_cansin user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
python venv already activate or run without venv: /media/b_cansin/ai/ai/stable-diffusion-webui/venv
################################################################

################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
fatal: No names found, cannot describe anything.
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Version: 1.5.1
Commit hash: 7ba3923d5b494b7756d0b12f33acb3716d830b9a
Installing requirements

Installing requirements 1 for Infinite-Zoom







Launching Web UI with arguments: 
./webui.sh: line 254: 15996 Segmentation fault      (core dumped) "${python_cmd}" "${LAUNCH_SCRIPT}" "$@"
```


### Additional information

Only I can open webui with 
Version: 1.5.1
Commit hash: 7ba3923d5b494b7756d0b12f33acb3716d830b9a

Also I can still open invoke ai in same pc and not giving me python error.