Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Probable race condition bug] Blender crashes on plugin startup #704

Open
ErickEM9 opened this issue Jan 2, 2025 · 0 comments
Open

[Probable race condition bug] Blender crashes on plugin startup #704

ErickEM9 opened this issue Jan 2, 2025 · 0 comments

Comments

@ErickEM9
Copy link

ErickEM9 commented Jan 2, 2025

Every issue should include 3 things:

  1. i7-12700h, rx6900xt, nvidia rtx 3050ti (unused) - archlinux
  2. a project is not needed
  3. I expect blender to not crash, it crashes instead.

When I enable the addon blender crashes.
Therefore, in an attempt to discover the faulting component, I ran blender in gdb and as a result the addon works: i suspect the plugin loading code has an unidentified race condition.

Issue

The problem is blender crashes and it manifests when I enabled the plugin or simply start blender(while not running in gdb).

The issue is always reproducible when running outside gdb and never reproducible when running in gdb.

Steps to Reproduce

Install addon from zip file and enable it.

System Setup (Environment)

Archlinux: linux 6.12.7-zen1
Intel i7-12700h
AMD rx6900xt
nvidia rtx 3050ti (unused)

blender -v:

Blender 4.3.2
        build date: 2024-12-22
        build time: 23:13:54
        build commit date: 2024-12-16
        build commit time: 21:10
        build hash: 32f5fdce0a0a
        build branch: makepkg (modified)
        build platform: Linux
        build type: Release
        build c flags:  -Wall -Werror=implicit-function-declaration -Wstrict-prototypes -Werror=return-type -Werror=vla -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wrestrict -Wno-stringop-overread -Wno-stringop-overflow -Wnonnull -Wabsolute-value -Wuninitialized -Wredundant-decls -Wshadow -Wimplicit-fallthrough=5 -Wno-error=unused-but-set-variable -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/blender/src=/usr/src/debug/blender -march=x86-64-v2 -fopenmp -std=gnu11 -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off  
        build c++ flags:  -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wcomma-subscript -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wno-stringop-overread -Wno-stringop-overflow -Wimplicit-fallthrough=5 -Wundef -Wmissing-declarations -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -g -ffile-prefix-map=/build/blender/src=/usr/src/debug/blender -march=x86-64-v2 -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off  
        build link flags:  -Wl,--version-script='/build/blender/src/blender/source/creator/symbols_unix.map' -latomic
        build system: CMake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant