Rendering with Cycles (Both GPU or CPU) causing crash #35846

Closed
opened 2013-06-23 05:41:55 +02:00 by Aditia A. Pratama · 17 comments

%%%--- Operating System, Graphics card ---
Linux 3.5.0-32-generic, NVIDIA GeForce GT 635M,

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

2.67.1 r57660, and version that worked none

- Short description of error ---

Layout the scene, save the file and render, blender will crash. Reopened and render, it'll work the try to render again, it''ll crash. I don't know if this has something to do with cuda toolkit or primusrun (bumblebee project).

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

Open the attached blend file, try to render. If it's okay, then try the second render.

%%%

%%%--- Operating System, Graphics card --- Linux 3.5.0-32-generic, NVIDIA GeForce GT 635M, - Blender version with error, and version that worked --- 2.67.1 r57660, and version that worked none - Short description of error --- Layout the scene, save the file and render, blender will crash. Reopened and render, it'll work the try to render again, it''ll crash. I don't know if this has something to do with cuda toolkit or primusrun (bumblebee project). - Steps for others to reproduce the error (preferably based on attached .blend file) --- Open the attached blend file, try to render. If it's okay, then try the second render. %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%this is crash log using latest SVN http:*www.pasteall.org/43425 and this one using stable http:*www.pasteall.org/43426. This is the blend file http://www.pasteall.org/blend/22278%%%

%%%this is crash log using latest SVN http:*www.pasteall.org/43425 and this one using stable http:*www.pasteall.org/43426. This is the blend file http://www.pasteall.org/blend/22278%%%
Author
Member

%%%I've updated the blend file here http://www.pasteall.org/blend/22297%%%

%%%I've updated the blend file here http://www.pasteall.org/blend/22297%%%

%%%I cannot confirm this, neither on CPU nor GPU. Rendered 4 times. Tested with this blend http://www.pasteall.org/blend/22297

Tested on Win 7 x64, with current Trunk, CUDA Toolkit 5.0 build. %%%

%%%I cannot confirm this, neither on CPU nor GPU. Rendered 4 times. Tested with this blend http://www.pasteall.org/blend/22297 Tested on Win 7 x64, with current Trunk, CUDA Toolkit 5.0 build. %%%
Author
Member

%%%Hi Thomas, try to move around your viewport and render. I don't know why it keep crashing on me%%%

%%%Hi Thomas, try to move around your viewport and render. I don't know why it keep crashing on me%%%

%%%Hi. I have experimented this on Windows 7.

- Operating System, Graphics card ---

Intel Core 2 Quad
Nvidia GTX 560

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

2.67.1 r57660 and first vc1-version,
version that worked: 2.67b

- Short description of error ---

When I open a test file and I try to render, blender crashes.
My file have the material preview open in the first screen. Then I open that file with 2.67b, hide the material preview, and reopen with r57660. I select GPU rendering and it works. I render the file and safe the image. Then I go to properties >> material, uncheck transparent shadows and immediately blender crashes.

I also test this on Windows XP (only r57660 version), but this problem didn't occur.%%%

%%%Hi. I have experimented this on Windows 7. - Operating System, Graphics card --- Intel Core 2 Quad Nvidia GTX 560 - Blender version with error, and version that worked --- 2.67.1 r57660 and first vc1-version, version that worked: 2.67b - Short description of error --- When I open a test file and I try to render, blender crashes. My file have the material preview open in the first screen. Then I open that file with 2.67b, hide the material preview, and reopen with r57660. I select GPU rendering and it works. I render the file and safe the image. Then I go to properties >> material, uncheck transparent shadows and immediately blender crashes. I also test this on Windows XP (only r57660 version), but this problem didn't occur.%%%

%%%Sorry, that problem didn't occur with this setup:

Windows XP, ATI card (no GPU rendering)
intel vPro
This version and the previous explained (Windows 7) are 32 bits.%%%

%%%Sorry, that problem didn't occur with this setup: Windows XP, ATI card (no GPU rendering) intel vPro This version and the previous explained (Windows 7) are 32 bits.%%%

%%%Eduardo, you might be seeing a different problem. Please always attach a .blend file for us to test, there are no material previews in the .blend file for this report.

Aditia, so it crashes for you just opening the .blend file, pressing F12 one or more times, no other steps? You mention moving around the viewport, so is this necessary to get it to crash? What are the exact steps to redo the problem? I couldn't get it to crash yet either. From the backtrace it does seem like this is a threading issue, which could occur somewhat randomly.

%%%

%%%Eduardo, you might be seeing a different problem. Please always attach a .blend file for us to test, there are no material previews in the .blend file for this report. Aditia, so it crashes for you just opening the .blend file, pressing F12 one or more times, no other steps? You mention moving around the viewport, so is this necessary to get it to crash? What are the exact steps to redo the problem? I couldn't get it to crash yet either. From the backtrace it does seem like this is a threading issue, which could occur somewhat randomly. %%%
Author
Member

%%%yes, It occur randomly. Opening blend file, rotate, pan, or zoom viewport then f12, if okay try to repeat pan/zoom/rotate the f12. %%%

%%%yes, It occur randomly. Opening blend file, rotate, pan, or zoom viewport then f12, if okay try to repeat pan/zoom/rotate the f12. %%%

%%%Are you sure, you use a official build and not an experimental one (like the vc-11 build). ?%%%

%%%Are you sure, you use a official build and not an experimental one (like the vc-11 build). ?%%%

%%%Ok, I can't yet redo the actual crash but understand what the problem is now.

Developer note:
BKE_group_handle_recalc_and_update is updating object derivedmeshes from both the render and viewport. Normally such updates for the viewport are disabled during rendering but this case still sneaks in. Also problematic in the second backtrace is that it seems to be running GPU_drawobject_free from the render thread, while in principle OpenGL operations can only happen from the main thread.

I think the correct solution is to let scene_update_tagged_recursive do all these updates, but I will need to do more testing on complex scenes to see if that really works.%%%

%%%Ok, I can't yet redo the actual crash but understand what the problem is now. Developer note: BKE_group_handle_recalc_and_update is updating object derivedmeshes from both the render and viewport. Normally such updates for the viewport are disabled during rendering but this case still sneaks in. Also problematic in the second backtrace is that it seems to be running GPU_drawobject_free from the render thread, while in principle OpenGL operations can only happen from the main thread. I think the correct solution is to let scene_update_tagged_recursive do all these updates, but I will need to do more testing on complex scenes to see if that really works.%%%

%%%Hi Brecht and Thomas.

I have attached one of the files which showed this problem.

%%%

%%%Hi Brecht and Thomas. I have attached one of the files which showed this problem. %%%

%%%Eduardo, can you report this as a separate bug? I couldn't redo it yet, but from the description and file it looks like something quite different, so best not to handle these in one report.%%%

%%%Eduardo, can you report this as a separate bug? I couldn't redo it yet, but from the description and file it looks like something quite different, so best not to handle these in one report.%%%

%%%Ok, I could get the original report with the dupli group to crash now (with some trickery). Fix is in revision 57740, thanks for the report.%%%

%%%Ok, I could get the original report with the dupli group to crash now (with some trickery). Fix is in revision 57740, thanks for the report.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

%%%You are welcome. Great work.%%%

%%%You are welcome. Great work.%%%
Author
Member

%%%Thanks, Brecht..it's working great here%%%

%%%Thanks, Brecht..it's working great here%%%
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
4 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#35846
No description provided.