Skip to content

Run in ubuntu 20.04 and get nothing. #2

@Jiaqi-Chen-00

Description

@Jiaqi-Chen-00

Environment:

Python 3.7.16
Blender 2.92
GCC 11.2.0
Ubuntu 20.04

I run in linux server, with no sodu. The code always wanna make a dir in /run/

(building_dataset_generator) xxx@xxx:~/projects/xxx/building_dataset_generator/Building-Dataset-Generator$ blender -b setup.blend --python dataset.py
Blender 2.92.0 (hash 02948a2cab44 built 2021-02-25 09:31:37)
Failed to create secure directory (/run/user/xxx/pulse): No such file or directory

Finally, I run this code to avoid creating new files out of my home dir. So hard, bro

export TMPDIR=/sailhome/xxx/projects/yyy/building_dataset_generator/Building-Dataset-Generator/tmp
export XDG_RUNTIME_DIR=/sailhome/xxx/projects/yyy/building_dataset_generator/Building-Dataset-Generator/tmp
mkdir /sailhome/xxx/projects/yyy/building_dataset_generator/Building-Dataset-Generator/tmp/gvfs/
SDL_AUDIODRIVER=dummy blender -b setup.blend --python dataset.py

Then, it keeps reporting Segmentation fault and generate nothing.

(building_dataset_generator) xxx@viscam3:~/projects/yyy/building_dataset_generator/Building-Dataset-Generator$ SDL_AUDIODRIVER=dummy blender -b setup.blend --python dataset.py
Blender 2.92.0 (hash 02948a2cab44 built 2021-02-25 09:31:37)
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
Read blend: /sailhome/xxx/projects/yyy/building_dataset_generator/Building-Dataset-Generator/setup.blend
Failed to load Diffuse texture of Brick
ValueError("'//Textures\\\\Brick\\\\Diffuse.png' is not in list")
Failed to load Normal texture of Brick
ValueError("'//Textures\\\\Brick\\\\Normal.png' is not in list")
Failed to load Displacement texture of Brick
ValueError("'//Textures\\\\Brick\\\\Displacement.png' is not in list")
Writing: /sailhome/xxx/projects/yyy/building_dataset_generator/Building-Dataset-Generator/tmp/setup.crash.txt

Segmentation fault

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions