Geometry nodes: Crash when using attribute proximity on mesh primitives when moving/rotating/scaling object #88503

Closed
opened 2021-05-23 13:22:00 +02:00 by Wouter Stomp · 20 comments

System Information
Operating system: macOS-11.3.1-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.4.17

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-22 04:53, hash: f7b22fc3d2
Worked: unknown

Short description of error
In geometry nodes, when using attribute proximity on two generated mesh primitives, Blender will crash when moving/rotating/scaling the object.

Exact steps for others to reproduce the error
Open attached file
Try to move/rotate/scale the object, Blender will crash within seconds

Starcrashsimplified.blend
Node setup:
Schermafbeelding 2021-05-23 om 13.19.31.png
Log file:
Starcrash.txt

**System Information** Operating system: macOS-11.3.1-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.4.17 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-22 04:53, hash: `f7b22fc3d2` Worked: unknown **Short description of error** In geometry nodes, when using attribute proximity on two generated mesh primitives, Blender will crash when moving/rotating/scaling the object. **Exact steps for others to reproduce the error** Open attached file Try to move/rotate/scale the object, Blender will crash within seconds [Starcrashsimplified.blend](https://archive.blender.org/developer/F10136916/Starcrashsimplified.blend) Node setup: ![Schermafbeelding 2021-05-23 om 13.19.31.png](https://archive.blender.org/developer/F10136918/Schermafbeelding_2021-05-23_om_13.19.31.png) Log file: [Starcrash.txt](https://archive.blender.org/developer/F10136921/Starcrash.txt)
Author

Added subscriber: @blenderrocket

Added subscriber: @blenderrocket

Added subscriber: @LloydAlmeida

Added subscriber: @LloydAlmeida

For now Mesh Primitives do not work, you need to get the second Object into the node tree using Object Info. Or use the Geometry of the first Object.

For now Mesh Primitives do not work, you need to get the second Object into the node tree using Object Info. Or use the Geometry of the first Object.
Author

I don’t see that listed as a known limitation anywhere?

I don’t see that listed as a known limitation anywhere?
Member

Added subscriber: @Calra

Added subscriber: @Calra
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Thanks for the report.
I cannot confirm the issue on Windows 10 as of master 7e841c79.

@blenderrocket Can you try a fresh build and try again and update the status here?

Thanks for the report. I cannot confirm the issue on Windows 10 as of master `7e841c79`. @blenderrocket Can you try a fresh build and try again and update the status here?
Author

Yes the crash still happens on the latest available build (version: 3.0.0 Alpha, branch: master, commit date: 2021-05-23 19:31, hash: 7e841c797f).

It does not happen in the latest 2.93 beta build (version: 2.93.0 Beta, branch: master, commit date: 2021-05-21 18:43, hash: d5c3bff6e7).

Yes the crash still happens on the latest available build (version: 3.0.0 Alpha, branch: master, commit date: 2021-05-23 19:31, hash: `7e841c797f`). It does not happen in the latest 2.93 beta build (version: 2.93.0 Beta, branch: master, commit date: 2021-05-21 18:43, hash: `d5c3bff6e7`).
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

@ankitm could you take a look at it? (In case it's platform dependent)

@ankitm could you take a look at it? (In case it's platform dependent)
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

I also can't reproduce this on latest master on Linux.

I also can't reproduce this on latest master on Linux.
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

macOS 10.14.6, f7b22fc3d2

libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
- 0   __pthread_kill ()
- 1   pthread_kill ()
- 2   abort ()
- 3   abort_message ()
- 4   default_terminate_handler() ()
- 5   _objc_terminate() ()
- 6   std::__terminate(void (*)()) ()
- 7   __cxa_rethrow ()
- 8   tbb::internal::task_group_base::wait() ()
- 9   tbb_task_pool_work_and_wait(TaskPool*) at source/blender/blenlib/intern/task_pool.cc:253
- 10  ::BLI_task_pool_work_and_wait(TaskPool *) at source/blender/blenlib/intern/task_pool.cc:502
- 11  blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph*) at source/blender/depsgraph/intern/eval/deg_eval.cc:397
- 12  deg_flush_updates_and_refresh(blender::deg::Depsgraph*) at source/blender/depsgraph/intern/depsgraph_eval.cc:58
- 13  ::DEG_evaluate_on_refresh(Depsgraph *) at source/blender/depsgraph/intern/depsgraph_eval.cc:73
- 14  scene_graph_update_tagged at source/blender/blenkernel/intern/scene.c:2656
- 15  BKE_scene_graph_update_tagged at source/blender/blenkernel/intern/scene.c:2705
- 16  wm_event_do_depsgraph at source/blender/windowmanager/intern/wm_event_system.c:387
- 17  wm_event_do_refresh_wm_and_depsgraph at source/blender/windowmanager/intern/wm_event_system.c:412
- 18  wm_event_do_notifiers at source/blender/windowmanager/intern/wm_event_system.c:621
- 19  WM_main at source/blender/windowmanager/intern/wm.c:650
- 20  main at source/creator/creator.c:519
- 21  start ()
#22  start ()
macOS 10.14.6, f7b22fc3d2 ``` libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument ``` ``` - 0 __pthread_kill () - 1 pthread_kill () - 2 abort () - 3 abort_message () - 4 default_terminate_handler() () - 5 _objc_terminate() () - 6 std::__terminate(void (*)()) () - 7 __cxa_rethrow () - 8 tbb::internal::task_group_base::wait() () - 9 tbb_task_pool_work_and_wait(TaskPool*) at source/blender/blenlib/intern/task_pool.cc:253 - 10 ::BLI_task_pool_work_and_wait(TaskPool *) at source/blender/blenlib/intern/task_pool.cc:502 - 11 blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph*) at source/blender/depsgraph/intern/eval/deg_eval.cc:397 - 12 deg_flush_updates_and_refresh(blender::deg::Depsgraph*) at source/blender/depsgraph/intern/depsgraph_eval.cc:58 - 13 ::DEG_evaluate_on_refresh(Depsgraph *) at source/blender/depsgraph/intern/depsgraph_eval.cc:73 - 14 scene_graph_update_tagged at source/blender/blenkernel/intern/scene.c:2656 - 15 BKE_scene_graph_update_tagged at source/blender/blenkernel/intern/scene.c:2705 - 16 wm_event_do_depsgraph at source/blender/windowmanager/intern/wm_event_system.c:387 - 17 wm_event_do_refresh_wm_and_depsgraph at source/blender/windowmanager/intern/wm_event_system.c:412 - 18 wm_event_do_notifiers at source/blender/windowmanager/intern/wm_event_system.c:621 - 19 WM_main at source/blender/windowmanager/intern/wm.c:650 - 20 main at source/creator/creator.c:519 - 21 start () #22 start () ```
Member

@Calra @HooglyBoogly Are you building with tbb ?

@Calra @HooglyBoogly Are you building with tbb ?
Member

Yeah, it was a lite build with TBB turned on though, I'll check with a regular build.

EDIT: Still can't reproduce this

Yeah, it was a lite build with TBB turned on though, I'll check with a regular build. EDIT: Still can't reproduce this
Member

I tested on regular Build with WITH_TBB on. Still cannot reproduce the crash.

I tested on regular Build with `WITH_TBB` on. Still cannot reproduce the crash.
Author

There is no crash anymore in the latest build (3.0.0 Alpha, branch: master, commit date: 2021-05-27 15:27, hash: dfa3dcbab9). Something to do with the reverted multithreading in geometry nodes?

There is no crash anymore in the latest build (3.0.0 Alpha, branch: master, commit date: 2021-05-27 15:27, hash: `dfa3dcbab9`). Something to do with the reverted multithreading in geometry nodes?
Author

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
5 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#88503
No description provided.