You are not logged in.

#1 2023-08-31 15:37:25

bobheart
Member
Registered: 2023-03-15
Posts: 31

Blender Segmentation fault and python error

Blender no longer launches correctly. I recently was trying to get blender working with godot. The version I was using wasn't compatible so I installed the blender-lts-bin from the aur. After I did that no longer launches either version. I tried reinstalling blender removing the aur package but nothing changed.

I did install it manually from the website using the zip file which launches blender and everything works fine. How do I fix blender to work with the package manager again?

running blender with debug:

blender --debug-all
Switching to fully guarded memory allocator.
Warning: Falling back to the standard locale ("C")
Read prefs: "/home/jman/.config/blender/3.6/config/userpref.blend"
graph_id_tag_update: id=SCScene flags=BASE_FLAGS source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRScene Collection flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
DEG_relations_tag_update: Tagging relations for update.
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

blender crash file:

cat /tmp/blender.crash.txt 
# Blender 3.6.2, Commit date: 2023-08-14 14:05, Hash ffe93138751e

# backtrace

# Python backtrace

I was also having an error with a plugin related to python I don't know maybe it's related as python is backtracing.

launching blender from working lts version obtained from the blender website and trying to use this plugin: https://github.com/makehumancommunity/mpfb2
It breaks when I try to add rigging from the plugin.

./blender
Warning: Falling back to the standard locale ("C")
Read prefs: "/home/jman/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/1000/gvfs/
Could not read preference mpfb_user_data

Initializing MPFB log service. Logs can be found in /home/jman/.config/blender/3.6/mpfb/logs

[INFO ] mpfb.init ..............................: Build info 20230713
[INFO ] services.locationservice ...............: mh_user_dir is not explicitly set but autodiscovery is disabled
[INFO ] services.uiservice .....................: Rebuilding the list of available importer presets (for presets panel)
[INFO ] services.uiservice .....................: Rebuilding the list of available importer presets (for importer panel)
[INFO ] mpfb.init ..............................: MPFB initialization has finished.
Read blend: "/home/jman/Documents/godot-projects/web-games/bevival/playermade/blenderitems/basicnudefemale.blend"
Traceback (most recent call last):
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/ui/addrig/operators/addstandardrig.py", line 39, in execute
    HumanService.add_builtin_rig(basemesh, standard_rig, import_weights=import_weights, operator=self)
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/services/humanservice.py", line 1168, in add_builtin_rig
    rig = Rig.from_json_file_and_basemesh(rig_file, basemesh)
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/entities/rig.py", line 79, in from_json_file_and_basemesh
    rig.build_basemesh_position_info()
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/entities/rig.py", line 790, in build_basemesh_position_info
    sum_pos[n] = sum_pos[n] / float(len(group))
ZeroDivisionError: float division by zero
Error: Python: Traceback (most recent call last):
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/ui/addrig/operators/addstandardrig.py", line 39, in execute
    HumanService.add_builtin_rig(basemesh, standard_rig, import_weights=import_weights, operator=self)
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/services/humanservice.py", line 1168, in add_builtin_rig
    rig = Rig.from_json_file_and_basemesh(rig_file, basemesh)
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/entities/rig.py", line 79, in from_json_file_and_basemesh
    rig.build_basemesh_position_info()
  File "/home/jman/blender-3.6.2-linux-x64/3.6/scripts/addons/mpfb/entities/rig.py", line 790, in build_basemesh_position_info
    sum_pos[n] = sum_pos[n] / float(len(group))
ZeroDivisionError: float division by zero

Last edited by bobheart (2023-08-31 15:58:20)

Offline

#2 2023-08-31 17:22:52

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Blender Segmentation fault and python error

Offline

#3 2023-08-31 19:06:38

bobheart
Member
Registered: 2023-03-15
Posts: 31

Re: Blender Segmentation fault and python error

I didn't realize that was there. I'll follow the bug report till the issue is resolved thanks.

Offline

Board footer

Powered by FluxBB