Blend crashes Blender on load. #32069

Closed
opened 2012-07-11 05:50:46 +02:00 by Brian Szepatowski · 6 comments

%%%This object is from a much larger mesh that now crashes blender when trying to load. There is no warning, no crash log, nothing. I checked other parts of the mesh and it seems this is what is causing it from loading.

This blend will load on Blender v2.63a

System:

Blender 2.63 r48820
Win XP SP3
2GB Memory
Single core CPU AMD Athlon 2

Brian%%%

%%%This object is from a much larger mesh that now crashes blender when trying to load. There is no warning, no crash log, nothing. I checked other parts of the mesh and it seems this is what is causing it from loading. This blend will load on Blender v2.63a System: Blender 2.63 r48820 Win XP SP3 2GB Memory Single core CPU AMD Athlon 2 Brian%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%PS this model started life in Blender 2.48

Brian%%%

%%%PS this model started life in Blender 2.48 Brian%%%

%%%Confirmed.

From a quick glance, it seems the problem is caused by a nodal material… But if someone can explain me how such a backtrace is possible, I would be happy!

Program received signal SIGSEGV, Segmentation fault.
0x00000000021e94a2 in dag_add_material_nodetree_driver_relations (dag=<error reading variable: Cannot access memory at address 0x7fffff7fefe8>,

  node=<error reading variable: Cannot access memory at address 0x7fffff7fefe0>, ntree=<error reading variable: Cannot access memory at address 0x7fffff7fefd8>, 
  rootma=<error reading variable: Cannot access memory at address 0x7fffff7fefd0>)
  at /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/blenkernel/intern/depsgraph.c:356

356 {
(gdb) up

1 0x00000000021e960c in dag_add_material_driver_relations (dag=0x6c4d7c8, node=0x86ad7b8, ma=0x877a9b8)

  at /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/blenkernel/intern/depsgraph.c:393

393 dag_add_material_nodetree_driver_relations(dag, node, ma->nodetree, ma);
(gdb) print dag
$1 = (DagForest *) 0x6c4d7c8
(gdb) print node
$2 = (DagNode *) 0x86ad7b8
(gdb) print ma
$3 = (Material *) 0x877a9b8
(gdb) print ma->nodetree
$4 = (struct bNodeTree *) 0x877b088

…How can a pointer be valid in the caller and invalid in the called func???
%%%

%%%Confirmed. From a quick glance, it seems the problem is caused by a nodal material… But if someone can explain me how such a backtrace is possible, I would be happy! Program received signal SIGSEGV, Segmentation fault. 0x00000000021e94a2 in dag_add_material_nodetree_driver_relations (dag=<error reading variable: Cannot access memory at address 0x7fffff7fefe8>, ``` node=<error reading variable: Cannot access memory at address 0x7fffff7fefe0>, ntree=<error reading variable: Cannot access memory at address 0x7fffff7fefd8>, rootma=<error reading variable: Cannot access memory at address 0x7fffff7fefd0>) at /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/blenkernel/intern/depsgraph.c:356 ``` 356 { (gdb) up # 1 0x00000000021e960c in dag_add_material_driver_relations (dag=0x6c4d7c8, node=0x86ad7b8, ma=0x877a9b8) ``` at /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/blenkernel/intern/depsgraph.c:393 ``` 393 dag_add_material_nodetree_driver_relations(dag, node, ma->nodetree, ma); (gdb) print dag $1 = (DagForest *) 0x6c4d7c8 (gdb) print node $2 = (DagNode *) 0x86ad7b8 (gdb) print ma $3 = (Material *) 0x877a9b8 (gdb) print ma->nodetree $4 = (struct bNodeTree *) 0x877b088 …How can a pointer be valid in the caller and invalid in the called func??? %%%

%%%Bastien, that's simply stack overflow issue -- no space left in the stack to store function parameters.

Joshua, that's a regression initially introduced in 48515 and later tried to be resolved in 48687. Afraid the only way would be to use LIB_DOIT flag for materials which have been already handled there.%%%

%%%Bastien, that's simply stack overflow issue -- no space left in the stack to store function parameters. Joshua, that's a regression initially introduced in 48515 and later tried to be resolved in 48687. Afraid the only way would be to use LIB_DOIT flag for materials which have been already handled there.%%%

%%%From a second look i could see issues in this area was already reported: http://projects.blender.org/tracker/index.php?func=detail&aid=32017&group_id=9&atid=498

Please move all the feedback there.%%%

%%%From a second look i could see issues in this area was already reported: http://projects.blender.org/tracker/index.php?func=detail&aid=32017&group_id=9&atid=498 Please move all the feedback there.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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
3 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#32069
No description provided.