Crash on STL import. Python library not found #82471

Closed
opened 2020-11-06 22:36:53 +01:00 by Gregor · 7 comments

System Information
Operating system: Fedora 33
Graphics card: NVIDIA Geforce 1030

Blender Version
Broken: (Blender 2.90.1, )
Worked: (Blender 2.80 )

Import of an STL file crashes blender.

Error reported;

Blender 2.90.1, Commit date: 1970-01-01 00:00, Hash unknown

bpy.ops.object.delete(use_global=False, confirm=False) # Operator
Deleted 1 object(s) # Info
bpy.context.space_data.bookmarks_active = 0 # Property
bpy.context.space_data.bookmarks_active = 1 # Property

backtrace

blender(BLI_system_backtrace+0x33) [0x55c02df3f1a3]
blender(+0xcef6c3) [0x55c02c0e86c3]
/lib64/libc.so.6(+0x3dc50) [0x7fedd80cac50]
/lib64/libpython3.9.so.1.0(PyEval_ReleaseLock+0x15) [0x7fedd88ccfc9]
blender(+0x127a90d) [0x55c02c67390d]
blender(+0x13c4def) [0x55c02c7bddef]
/lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x7f) [0x7fedd891a8df]
/lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x583f) [0x7fedd891760f]
/lib64/libpython3.9.so.1.0(+0x1154bb) [0x7fedd891f4bb]
/lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x4efe) [0x7fedd8916cce]
/lib64/libpython3.9.so.1.0(+0x106e81) [0x7fedd8910e81]
/lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206]
/lib64/libpython3.9.so.1.0(_PyObject_FastCallDictTstate+0xd2) [0x7fedd891a462]
/lib64/libpython3.9.so.1.0(_PyObject_Call_Prepend+0x68) [0x7fedd8926b48]
/lib64/libpython3.9.so.1.0(+0x1b99ba) [0x7fedd89c39ba]
/lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x16b) [0x7fedd891a9cb]
/lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x5e5f) [0x7fedd8917c2f]
/lib64/libpython3.9.so.1.0(+0x107439) [0x7fedd8911439]
/lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206]
blender(+0x13dcdf2) [0x55c02c7d5df2]
blender(+0x13b0bb8) [0x55c02c7a9bb8]
blender(+0xfcb583) [0x55c02c3c4583]
blender(+0xfcf75a) [0x55c02c3c875a]
blender(+0xfcfb6c) [0x55c02c3c8b6c]
blender(wm_event_do_handlers+0x5fe) [0x55c02c3c954e]
blender(WM_main+0x20) [0x55c02c3cb280]
blender(main+0x31e) [0x55c02c0883de]
/lib64/libc.so.6(__libc_start_main+0xf2) [0x7fedd80b51a2]
blender(_start+0x2e) [0x55c02c0c6a7e]

Python backtrace

File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 159 in _view_layer_update
File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 195 in call
File "/usr/share/blender/2.90/scripts/addons/io_mesh_stl/init.py", line 139 in execute

**System Information** Operating system: Fedora 33 Graphics card: NVIDIA Geforce 1030 **Blender Version** Broken: (Blender 2.90.1, ) Worked: (Blender 2.80 ) Import of an STL file crashes blender. Error reported; > # Blender 2.90.1, Commit date: 1970-01-01 00:00, Hash unknown > bpy.ops.object.delete(use_global=False, confirm=False) # Operator > Deleted 1 object(s) # Info > bpy.context.space_data.bookmarks_active = 0 # Property > bpy.context.space_data.bookmarks_active = 1 # Property > > # backtrace > blender(BLI_system_backtrace+0x33) [0x55c02df3f1a3] > blender(+0xcef6c3) [0x55c02c0e86c3] > /lib64/libc.so.6(+0x3dc50) [0x7fedd80cac50] > /lib64/libpython3.9.so.1.0(PyEval_ReleaseLock+0x15) [0x7fedd88ccfc9] > blender(+0x127a90d) [0x55c02c67390d] > blender(+0x13c4def) [0x55c02c7bddef] > /lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x7f) [0x7fedd891a8df] > /lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x583f) [0x7fedd891760f] > /lib64/libpython3.9.so.1.0(+0x1154bb) [0x7fedd891f4bb] > /lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x4efe) [0x7fedd8916cce] > /lib64/libpython3.9.so.1.0(+0x106e81) [0x7fedd8910e81] > /lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206] > /lib64/libpython3.9.so.1.0(_PyObject_FastCallDictTstate+0xd2) [0x7fedd891a462] > /lib64/libpython3.9.so.1.0(_PyObject_Call_Prepend+0x68) [0x7fedd8926b48] > /lib64/libpython3.9.so.1.0(+0x1b99ba) [0x7fedd89c39ba] > /lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x16b) [0x7fedd891a9cb] > /lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x5e5f) [0x7fedd8917c2f] > /lib64/libpython3.9.so.1.0(+0x107439) [0x7fedd8911439] > /lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206] > blender(+0x13dcdf2) [0x55c02c7d5df2] > blender(+0x13b0bb8) [0x55c02c7a9bb8] > blender(+0xfcb583) [0x55c02c3c4583] > blender(+0xfcf75a) [0x55c02c3c875a] > blender(+0xfcfb6c) [0x55c02c3c8b6c] > blender(wm_event_do_handlers+0x5fe) [0x55c02c3c954e] > blender(WM_main+0x20) [0x55c02c3cb280] > blender(main+0x31e) [0x55c02c0883de] > /lib64/libc.so.6(__libc_start_main+0xf2) [0x7fedd80b51a2] > blender(_start+0x2e) [0x55c02c0c6a7e] > > # Python backtrace > File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 159 in _view_layer_update > File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 195 in __call__ > File "/usr/share/blender/2.90/scripts/addons/io_mesh_stl/__init__.py", line 139 in execute
Author

Added subscriber: @madman123456

Added subscriber: @madman123456
Author
# Blender 2.90.1, Commit date: 1970-01-01 00:00, Hash unknown
bpy.ops.object.delete(use_global=False, confirm=False)  # Operator
Deleted 1 object(s)  # Info
bpy.context.space_data.bookmarks_active = 0  # Property
bpy.context.space_data.bookmarks_active = 1  # Property

# backtrace
blender(BLI_system_backtrace+0x33) [0x55c02df3f1a3]
blender(+0xcef6c3) [0x55c02c0e86c3]
/lib64/libc.so.6(+0x3dc50) [0x7fedd80cac50]
/lib64/libpython3.9.so.1.0(PyEval_ReleaseLock+0x15) [0x7fedd88ccfc9]
blender(+0x127a90d) [0x55c02c67390d]
blender(+0x13c4def) [0x55c02c7bddef]
/lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x7f) [0x7fedd891a8df]
/lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x583f) [0x7fedd891760f]
/lib64/libpython3.9.so.1.0(+0x1154bb) [0x7fedd891f4bb]
/lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x4efe) [0x7fedd8916cce]
/lib64/libpython3.9.so.1.0(+0x106e81) [0x7fedd8910e81]
/lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206]
/lib64/libpython3.9.so.1.0(_PyObject_FastCallDictTstate+0xd2) [0x7fedd891a462]
/lib64/libpython3.9.so.1.0(_PyObject_Call_Prepend+0x68) [0x7fedd8926b48]
/lib64/libpython3.9.so.1.0(+0x1b99ba) [0x7fedd89c39ba]
/lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x16b) [0x7fedd891a9cb]
/lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x5e5f) [0x7fedd8917c2f]
/lib64/libpython3.9.so.1.0(+0x107439) [0x7fedd8911439]
/lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206]
blender(+0x13dcdf2) [0x55c02c7d5df2]
blender(+0x13b0bb8) [0x55c02c7a9bb8]
blender(+0xfcb583) [0x55c02c3c4583]
blender(+0xfcf75a) [0x55c02c3c875a]
blender(+0xfcfb6c) [0x55c02c3c8b6c]
blender(wm_event_do_handlers+0x5fe) [0x55c02c3c954e]
blender(WM_main+0x20) [0x55c02c3cb280]
blender(main+0x31e) [0x55c02c0883de]
/lib64/libc.so.6(__libc_start_main+0xf2) [0x7fedd80b51a2]
blender(_start+0x2e) [0x55c02c0c6a7e]

# Python backtrace
  File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 159 in _view_layer_update
  File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 195 in __call__
  File "/usr/share/blender/2.90/scripts/addons/io_mesh_stl/__init__.py", line 139 in execute
``` # Blender 2.90.1, Commit date: 1970-01-01 00:00, Hash unknown bpy.ops.object.delete(use_global=False, confirm=False) # Operator Deleted 1 object(s) # Info bpy.context.space_data.bookmarks_active = 0 # Property bpy.context.space_data.bookmarks_active = 1 # Property # backtrace blender(BLI_system_backtrace+0x33) [0x55c02df3f1a3] blender(+0xcef6c3) [0x55c02c0e86c3] /lib64/libc.so.6(+0x3dc50) [0x7fedd80cac50] /lib64/libpython3.9.so.1.0(PyEval_ReleaseLock+0x15) [0x7fedd88ccfc9] blender(+0x127a90d) [0x55c02c67390d] blender(+0x13c4def) [0x55c02c7bddef] /lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x7f) [0x7fedd891a8df] /lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x583f) [0x7fedd891760f] /lib64/libpython3.9.so.1.0(+0x1154bb) [0x7fedd891f4bb] /lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x4efe) [0x7fedd8916cce] /lib64/libpython3.9.so.1.0(+0x106e81) [0x7fedd8910e81] /lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206] /lib64/libpython3.9.so.1.0(_PyObject_FastCallDictTstate+0xd2) [0x7fedd891a462] /lib64/libpython3.9.so.1.0(_PyObject_Call_Prepend+0x68) [0x7fedd8926b48] /lib64/libpython3.9.so.1.0(+0x1b99ba) [0x7fedd89c39ba] /lib64/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x16b) [0x7fedd891a9cb] /lib64/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x5e5f) [0x7fedd8917c2f] /lib64/libpython3.9.so.1.0(+0x107439) [0x7fedd8911439] /lib64/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xe6) [0x7fedd891f206] blender(+0x13dcdf2) [0x55c02c7d5df2] blender(+0x13b0bb8) [0x55c02c7a9bb8] blender(+0xfcb583) [0x55c02c3c4583] blender(+0xfcf75a) [0x55c02c3c875a] blender(+0xfcfb6c) [0x55c02c3c8b6c] blender(wm_event_do_handlers+0x5fe) [0x55c02c3c954e] blender(WM_main+0x20) [0x55c02c3cb280] blender(main+0x31e) [0x55c02c0883de] /lib64/libc.so.6(__libc_start_main+0xf2) [0x7fedd80b51a2] blender(_start+0x2e) [0x55c02c0c6a7e] # Python backtrace File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 159 in _view_layer_update File "/usr/share/blender/2.90/scripts/modules/bpy/ops.py", line 195 in __call__ File "/usr/share/blender/2.90/scripts/addons/io_mesh_stl/__init__.py", line 139 in execute ```

Added subscriber: @rjg

Added subscriber: @rjg

The official Blender build of 2.90.1 doesn't use Python 3.9, because it's not compatible due to the use of PyEval_ReleaseLock(). If you want to use Blender 2.90.1, please use the official version from our release page . Future versions of Blender may be able to use Python 3.9, since 5edba9b42f fixes this issue for 2.91.

The official Blender build of 2.90.1 doesn't use Python 3.9, because it's not compatible due to the use of `PyEval_ReleaseLock()`. If you want to use Blender 2.90.1, please use the official version from our [release page ](https://download.blender.org/release/Blender2.90/). Future versions of Blender may be able to use Python 3.9, since 5edba9b42f fixes this issue for 2.91.

Closed as duplicate of #81688

Closed as duplicate of #81688
Author

Hi.
Thanks I have used the website package and problem is solved.

I have alerted fedora to this issue to save others from the frustration and time wasted.

Hi. Thanks I have used the website package and problem is solved. I have alerted fedora to this issue to save others from the frustration and time wasted.

@madman123456 That's good to hear. Thank you.

@madman123456 That's good to hear. Thank you.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#82471
No description provided.