Editmode + Cycles render crashes #33863

Closed
opened 2013-01-13 14:56:03 +01:00 by Ton Roosendaal · 3 comments
Member

%%%--- Operating System, Graphics card ---
Any system

- Blender version with error, and version that worked ---

Current svn crashes, Blender 2.65a too

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

http://www.pasteall.org/blend/18822

Load blend, set bottom viewport on Cycles render, press TAB.

0x00000001009d4f30 in ccgSubSurf_getNumEdges (ss=0x110441f80) at CCGSubSurf.c:2773
2773 return ss->eMap->numEntries;
(gdb) p *ss
$2 = {

vMap = 0xd000000000000000, 
eMap = 0xd000000000000000, 
fMap = 0x11042000f, 

Another thread (boost, cycles) is accessing geometry too then.

[Switching to thread 26 (process 59123)]
0x000000010184801f in __gnu_cxx::operator==<ccl::Mesh::Triangle*, std::vector<ccl::Mesh::Triangle, std::allocatorccl::Mesh::Triangle > > (__lhs=@0x112762600, __rhs=@0x112762618) at stl_iterator.h:740
740 { return __lhs.base() == __rhs.base(); }
Current language: auto; currently c++
(gdb) where

  • 0 0x000000010184801f in __gnu_cxx::operator==<ccl::Mesh::Triangle*, std::vector<ccl::Mesh::Triangle, std::allocatorccl::Mesh::Triangle > > (__lhs=@0x112762600, __rhs=@0x112762618) at stl_iterator.h:740
  • 1 0x000000010184809c in boost::foreach_detail_::done<std::vector<ccl::Mesh::Triangle, std::allocatorccl::Mesh::Triangle >, mpl_::bool_ > (cur=@0x112762600, end=@0x112762618, unnamed_arg=0x0) at foreach.hpp:739
  • 2 0x00000001018339d4 in ccl::ObjectManager::device_update_transforms (this=0x10b31cd30, device=0x10a162e00, dscene=0x10a1b9ef8, scene=0x10a1b9e00, object_flag=0x10b31f850, progress=@0x10a001a20) at object.cpp:198
  • 3 0x00000001018441e0 in ccl::ObjectManager::device_update (this=0x10b31cd30, device=0x10a162e00, dscene=0x10a1b9ef8, scene=0x10a1b9e00, progress=@0x10a001a20) at object.cpp:326

4 0x0000000101850856 in ccl::Scene::device_update (this=0x10a1b9e00, device_=0x10a162e00, progress=@0x10a001

%%%

%%%--- Operating System, Graphics card --- Any system - Blender version with error, and version that worked --- Current svn crashes, Blender 2.65a too - Steps for others to reproduce the error (preferably based on attached .blend file) --- http://www.pasteall.org/blend/18822 Load blend, set bottom viewport on Cycles render, press TAB. 0x00000001009d4f30 in ccgSubSurf_getNumEdges (ss=0x110441f80) at CCGSubSurf.c:2773 2773 return ss->eMap->numEntries; (gdb) p *ss $2 = { ``` vMap = 0xd000000000000000, eMap = 0xd000000000000000, fMap = 0x11042000f, ``` <snip> Another thread (boost, cycles) is accessing geometry too then. [Switching to thread 26 (process 59123)] 0x000000010184801f in __gnu_cxx::operator==<ccl::Mesh::Triangle*, std::vector<ccl::Mesh::Triangle, std::allocator<ccl::Mesh::Triangle> > > (__lhs=@0x112762600, __rhs=@0x112762618) at stl_iterator.h:740 740 { return __lhs.base() == __rhs.base(); } Current language: auto; currently c++ (gdb) where - 0 0x000000010184801f in __gnu_cxx::operator==<ccl::Mesh::Triangle*, std::vector<ccl::Mesh::Triangle, std::allocator<ccl::Mesh::Triangle> > > (__lhs=@0x112762600, __rhs=@0x112762618) at stl_iterator.h:740 - 1 0x000000010184809c in boost::foreach_detail_::done<std::vector<ccl::Mesh::Triangle, std::allocator<ccl::Mesh::Triangle> >, mpl_::bool_<false> > (cur=@0x112762600, end=@0x112762618, unnamed_arg=0x0) at foreach.hpp:739 - 2 0x00000001018339d4 in ccl::ObjectManager::device_update_transforms (this=0x10b31cd30, device=0x10a162e00, dscene=0x10a1b9ef8, scene=0x10a1b9e00, object_flag=0x10b31f850, progress=@0x10a001a20) at object.cpp:198 - 3 0x00000001018441e0 in ccl::ObjectManager::device_update (this=0x10b31cd30, device=0x10a162e00, dscene=0x10a1b9ef8, scene=0x10a1b9e00, progress=@0x10a001a20) at object.cpp:326 # 4 0x0000000101850856 in ccl::Scene::device_update (this=0x10a1b9e00, device_=0x10a162e00, progress=@0x10a001 <snip>%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%It's not a threading issue, cycles viewport render will not access blender data from another thread. It was just a simple mistake in the subsurf modifier, which seems got introduced during some code changes.%%%

%%%It's not a threading issue, cycles viewport render will not access blender data from another thread. It was just a simple mistake in the subsurf modifier, which seems got introduced during some code changes.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' 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
2 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#33863
No description provided.