F12 and crash #52782

Closed
opened 2017-09-16 17:54:25 +02:00 by pistol ioan · 14 comments

Windows 10 64, gtx 970

Blender 2.79

Just open the file and press f12 and crash

untitled3.blend

Windows 10 64, gtx 970 Blender 2.79 Just open the file and press f12 and crash [untitled3.blend](https://archive.blender.org/developer/F806017/untitled3.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @istoltoto

Added subscriber: @istoltoto
Author

in cycles using gpu render

in cycles using gpu render
Member

Added subscribers: @mont29, @LazyDodo

Added subscribers: @mont29, @LazyDodo
Bastien Montagne was assigned by Ray molenkamp 2017-09-16 18:19:29 +02:00
Member

It's a null ref in particles.c ( psys_thread_create_path ) @mont29 mind taking a peek here?

It's a null ref in particles.c ( psys_thread_create_path ) @mont29 mind taking a peek here?
Bastien Montagne removed their assignment 2017-09-19 16:03:31 +02:00
Sergey Sharybin was assigned by Bastien Montagne 2017-09-19 16:03:31 +02:00

Added subscriber: @Sergey

Added subscriber: @Sergey

Bah… yet another mismatch between rendering data and regular scene update data, here there are less child particles for rendering (5) than for 3DView (30), so when rendering data update process (re-)allocates memory for 5 children, but then regular scene update, which happens in parallel, tries to use that allocated cache for 30 children, it obviously breaks…

Simple way to "fix" this: never use less children for rendering than for 3DView!

@Sergey reassigning this to you, since I’d like to have your feelings on the issue before diving deeper into ugly particle code. :/

Bah… yet another mismatch between rendering data and regular scene update data, here there are less child particles for rendering (5) than for 3DView (30), so when rendering data update process (re-)allocates memory for 5 children, but then regular scene update, which happens in parallel, tries to use that allocated cache for 30 children, it obviously breaks… Simple way to "fix" this: never use less children for rendering than for 3DView! @Sergey reassigning this to you, since I’d like to have your feelings on the issue before diving deeper into ugly particle code. :/

There shouldn't be a parallel scene update at the same time if one renders with locked interface and/or fullscreen render. If that configuration still crashes, think it worth investigating why.

There shouldn't be a parallel scene update at the same time if one renders with locked interface and/or fullscreen render. If that configuration still crashes, think it worth investigating why.

@Sergey can confirm the crash still happens when trying to render with locked UI and full screen… Also happens with fixed single-thread rendering, and -t 1 option

@Sergey can confirm the crash still happens when trying to render with locked UI *and* full screen… Also happens with fixed single-thread rendering, and `-t 1` option
Sergey Sharybin removed their assignment 2019-01-23 16:32:03 +01:00

Not much i can add here. This isn't a regression, and the code is quite fragile and difficult to follow. Not something i want to be digging into.

Would rather facilitate the new node-based particles replacement instead! :)

Not much i can add here. This isn't a regression, and the code is quite fragile and difficult to follow. Not something i want to be digging into. Would rather facilitate the new node-based particles replacement instead! :)

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Problem still seen in blender 2.83.

Problem still seen in blender 2.83.

This issue was referenced by 27ef012ac7

This issue was referenced by 27ef012ac7674498e171d679c655bbe5c709e181

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2020-05-14 03:46:54 +02:00
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#52782
No description provided.