Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#26015] Crash when baking textures
Date:
2011-02-10 19:24
Priority:
3
State:
Closed
Submitted by:
Martin Lubich (
loramel
)
Assigned to:
Ton Roosendaal (ton)
Category:
Rendering
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Crash when baking textures
Detailed description
When baking textures using 'Selected to Active' and using big textures 4k+ blender crashes during the bake process.
The problem occurs on the following system:
blender svn 34752, 64bit, linux
built on kubuntu 10.10 64bit
8GB RAM, AMD Phenom x4
nvidia gtx 460 1GB
I have reduced my project file to the point where it still shows the problem. It seems as it may be related to memory corruption.
The attached blend file uses several textures assigned to different faces of a mesh with overlapping uv's. The idea here is to split the
original mesh's texture is these individual textures.
The same file bakes fine with blender 2.49b. Also the original (very complex) production file bakes fine with blender 2.49b.
Steps to reproduce:
- open the attached blend file
- press the bake button
- if blender hasn't crashed yet press bake again
With these steps I can always reproduce the crash.
Followup
Message
Date
: 2011-02-11 19:04
Sender
:
Ton Roosendaal
Thread issues probably, that I can investigate :)
Date
: 2011-02-13 12:30
Sender
:
T M
I'm having a similar problem of crashing when baking AO. My system is a single-core laptop with 2 GB of RAM, running Ubuntu 10.04. Memory usage is stable at 12% during the baking attempt. The problem is repeatable with a complex file having linked group instances, but doesn't appear in a simpler file that has the linked items appended instead.
PLMK if I need to send a .blend and I'll try to find a way to send the file and linked items (maybe as a zip file?)
Date
: 2011-02-17 22:52
Sender
:
Jakub Szafranski
Same here. Baking AO crashes blender without warning even for small images 1024x1024. Sometimes it manages to finish but that's a rare case.
Date
: 2011-02-18 07:29
Sender
:
T M
blender svn 34730, 32bit linux
built on ubuntu 10.04 32bit
2GB RAM, pentium M
Intel graphics
AO baking crashes even when complex .blend contains appended and link-duplicated items, so linked group instances are not the source of the problem. Crashes occur near what appears to be the end of the bake, though baking progress bar doesn't move even 5 minutes into baking. "Selected to active" is not turned on. 1024x1024 image. Baking sometimes works.
Date
: 2011-02-19 09:43
Sender
:
Brandon Phoenix
I have the same issue on Win7. 8GB RAM, 3.0ghz core 2 duo. It also tends to go in and out of responsiveness throughout the entire process, and when looking at my resource monitor, my CPU is running at a constant 100%.
Date
: 2011-02-19 15:34
Sender
:
Ton Roosendaal
Hi,
Thanks for the report, it appeared to be a very Bad Bug!
On every draw-object, a free_old_images() function was called which was freeing "unused" images during renders/bakes.
This code was leftover of 2.4x, when rendering was blocking.
Fix in svn, and it should make Blender altogether a lot more stable for rendering :)
Attached Files:
Name
Date
Download
bake_crash.blend
2011-02-10 19:25
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2011-02-19 15:34
ton
close_date
None
2011-02-19 15:34
ton
Status
Investigate
2011-02-19 15:34
ton
assigned_to
none
2011-02-11 19:04
ton
Status
New
2011-02-11 19:04
ton
File Added
14952: bake_crash.blend
2011-02-10 19:25
loramel