Hang when opening a geometry nodes file #96733

Closed
opened 2022-03-23 16:07:27 +01:00 by Diogo Valadares Reis dos Santos · 29 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14802 Core Profile Context 22.2.1 30.0.14023.7007

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: c77597cd0e

Short description of error
I have a Geometry nodes file that whenever open with the startup dialog or when reloaded, it hangs blender. The file also has a problem that might be related that is randomly hanging whenever changing atributtes order or changing multiple times values that shouldn't be hanging blender.

Exact steps for others to reproduce the error
I'll sent two files, the first one I only noticed some hangs whenever changing values/attributes order, but its not that common. The second file is the more problematic one, and its a more recent version of the first one

For now the most consistent way to reproduce this is:

  • Open blender.
  • go to File Open and open the file.
  • close blender
  • on startup, click on the file you opened before
    2022-03-23 12-12-49.mp4

Other way to hang, less consistenly

  • open the file the same way as before
  • go to file>open recent>the same file that is open.
    sometimes it hangs.

And other way, also hangs the file but may not be the same problem and also doesn't happen consistenly

  • keep changing attribute order, creating new ones..
  • OR keep changing values, sliders, vector curves etc.
    0001-1547.mp4
    After two minutes trying to change values and reorder attributes blender hanged changing the RGB curves

GeoFeathers1.0.blend
GeoFeathers1.1.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14802 Core Profile Context 22.2.1 30.0.14023.7007 **Blender Version** Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `c77597cd0e` **Short description of error** I have a Geometry nodes file that whenever open with the startup dialog or when reloaded, it hangs blender. The file also has a problem that might be related that is randomly hanging whenever changing atributtes order or changing multiple times values that shouldn't be hanging blender. **Exact steps for others to reproduce the error** I'll sent two files, the first one I only noticed some hangs whenever changing values/attributes order, but its not that common. The second file is the more problematic one, and its a more recent version of the first one For now the most consistent way to reproduce this is: - Open blender. - go to File Open and open the file. - close blender - on startup, click on the file you opened before [2022-03-23 12-12-49.mp4](https://archive.blender.org/developer/F12941282/2022-03-23_12-12-49.mp4) Other way to hang, less consistenly - open the file the same way as before - go to file>open recent>the same file that is open. sometimes it hangs. And other way, also hangs the file but may not be the same problem and also doesn't happen consistenly - keep changing attribute order, creating new ones.. - OR keep changing values, sliders, vector curves etc. [0001-1547.mp4](https://archive.blender.org/developer/F12941328/0001-1547.mp4) After two minutes trying to change values and reorder attributes blender hanged changing the RGB curves [GeoFeathers1.0.blend](https://archive.blender.org/developer/F12941278/GeoFeathers1.0.blend) [GeoFeathers1.1.blend](https://archive.blender.org/developer/F12941279/GeoFeathers1.1.blend)

Added subscriber: @Diogo_Valadares

Added subscriber: @Diogo_Valadares

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

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

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

Empy report, closing.

Empy report, closing.
Diogo Valadares Reis dos Santos changed title from blender han to Hang when opening a geometry nodes file 2022-03-23 16:21:39 +01:00

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

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

I'm sorry I missclicked enter while typing the title

I'm sorry I missclicked enter while typing the title

No problem, thanks for re-opening it.

No problem, thanks for re-opening it.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

@Diogo_Valadares hi, thanks for the report. I'm not able to reproduce this on current master.
So can you check if problem still persists in latest buildbot build?: https://builder.blender.org/download/daily/

Speaking about 3.1, I'm not even able to open the file... (so I force stopped Blender instance)

@Diogo_Valadares hi, thanks for the report. I'm not able to reproduce this on current master. So can you check if problem still persists in latest buildbot build?: https://builder.blender.org/download/daily/ Speaking about 3.1, I'm not even able to open the file... (so I force stopped Blender instance)

Speaking about 3.1, I'm not even able to open the file... (so I force stopped Blender instance)

If you tried to open directly, that also hangs blender, the way I found around that was to open as described above

-go to File>Open and open the file.

I tried the release candidate for 3.1.1, still hangs.
in 3.2 alpha it seems to open, but weirdly, there is a part of the nodes that is not working, maybe it's a problem for another report...

image.png image.png
> Speaking about 3.1, I'm not even able to open the file... (so I force stopped Blender instance) If you tried to open directly, that also hangs blender, the way I found around that was to open as described above > -go to File>Open and open the file. I tried the release candidate for 3.1.1, still hangs. in 3.2 alpha it seems to open, but weirdly, there is a part of the nodes that is not working, maybe it's a problem for another report... |![image.png](https://archive.blender.org/developer/F12942633/image.png)||![image.png](https://archive.blender.org/developer/F12942635/image.png) | -- | -- | -- |

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

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

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

I can open both files in the way described in both 3.1 and master without any hangs.

I can open both files in the way described in both 3.1 and master without any hangs.

Weirdly enough, while testing I noticed that if you save the file in 3.2 and try to open in 3.1, it starts working again, but then, even if you don't save, the next time you try to open it with 3.1, it hangs again.
In 3.1.1, it stops hanging after you save in 3.2 and stays like that until you save in 3.1.1

I also found what was causing the problem above, it may not be important for the bug report but I'll leave here as a note if it's somehow related.
What that was doing there was basically getting the radius * curve parameter * some function and trying to transfer that to the "fur"
image.png
but that can be resumed to just the length of the each fur strand.
image.png

Weirdly enough, while testing I noticed that if you save the file in 3.2 and try to open in 3.1, it starts working again, but then, even if you don't save, the next time you try to open it with 3.1, it hangs again. In 3.1.1, it stops hanging after you save in 3.2 and stays like that until you save in 3.1.1 I also found what was causing the problem above, it may not be important for the bug report but I'll leave here as a note if it's somehow related. What that was doing there was basically getting the radius * curve parameter * some function and trying to transfer that to the "fur" ![image.png](https://archive.blender.org/developer/F12942690/image.png) but that can be resumed to just the length of the each fur strand. ![image.png](https://archive.blender.org/developer/F12942692/image.png)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

In #96733#1329360, @OmarEmaraDev wrote:
I can open both files in the way described in both 3.1 and master without any hangs.

me, too

> In #96733#1329360, @OmarEmaraDev wrote: > I can open both files in the way described in both 3.1 and master without any hangs. me, too

Added subscriber: @iss

Added subscriber: @iss

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

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

I was able to reproduce once just opening file
GeoFeathers1.1.blend

Unfortunately I did not save full trace but it crashed in curvemap_make_table() on MEM_freeN()

  /* make the bezier curve */
  if (cuma->table) {
    MEM_freeN(cuma->table);
  }

@Diogo_Valadares does this happen when you run Blender from console with -t 1 argument? So it would be blender.exe -t 1.

I was able to reproduce once just opening file [GeoFeathers1.1.blend](https://archive.blender.org/developer/F12941279/GeoFeathers1.1.blend) Unfortunately I did not save full trace but it crashed in `curvemap_make_table()` on `MEM_freeN()` ``` /* make the bezier curve */ if (cuma->table) { MEM_freeN(cuma->table); } ``` @Diogo_Valadares does this happen when you run Blender from console with `-t 1` argument? So it would be `blender.exe -t 1`.

does this happen when you run Blender from console with -t 1 argument? So it would be blender.exe -t 1.

I think adding -t 1 stops the hangs.. I tried sometimes with and without it.

Also I may add, it usually hangs after saving the file and restarting blender, and it also hangs if I just downloaded the file and try to directly open it.

> does this happen when you run Blender from console with -t 1 argument? So it would be blender.exe -t 1. I think adding -t 1 stops the hangs.. I tried sometimes with and without it. Also I may add, it usually hangs after saving the file and restarting blender, and it also hangs if I just downloaded the file and try to directly open it.

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

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

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly

@HooglyBoogly Can you check this? I think I was only able to reproduce once so this may be tricky one. Also could be broken file somehow.

@HooglyBoogly Can you check this? I think I was only able to reproduce once so this may be tricky one. Also could be broken file somehow.

I have a more recent version of this file where these hangs are a lot less frequent, I just can't pinpoint what I changed to reduce the hangs, probably a change in the nodes.

GeoFeathers1.1.blend

I have a more recent version of this file where these hangs are a lot less frequent, I just can't pinpoint what I changed to reduce the hangs, probably a change in the nodes. [GeoFeathers1.1.blend](https://archive.blender.org/developer/F12998375/GeoFeathers1.1.blend)
Member

I've opened this file many times and haven't observed a hang or crash or an assert in a debug build. I'm not sure how much more I can find from this personally. Maybe it's just an issue on Windows? Not sure.

I've opened this file many times and haven't observed a hang or crash or an assert in a debug build. I'm not sure how much more I can find from this personally. Maybe it's just an issue on Windows? Not sure.
Member

Now I can't reproduce this either (in both 3.1 and 3.1.2)

I tried the release candidate for 3.1.1, still hangs.
in 3.2 alpha it seems to open, but weirdly, there is a part of the nodes that is not working, maybe it's a problem for another report...

Hang is only seen in 3.1 builds and there are no plans to push bug fixes for 3.1. So is it fine to close this report?
@Diogo_Valadares hi, If you're seeing a different issue in 3.2 then file a new report for it.

Now I can't reproduce this either (in both 3.1 and 3.1.2) > I tried the release candidate for 3.1.1, still hangs. > in 3.2 alpha it seems to open, but weirdly, there is a part of the nodes that is not working, maybe it's a problem for another report... Hang is only seen in 3.1 builds and there are no plans to push bug fixes for 3.1. So is it fine to close this report? @Diogo_Valadares hi, If you're seeing a different issue in 3.2 then file a new report for it.
Member

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

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

In that case I think it makes sense to close this. Can be reopened if it becomes reproducible at some point.

In that case I think it makes sense to close this. Can be reopened if it becomes reproducible at some point.
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
7 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#96733
No description provided.