Bake from Multires on Displacement mode exits Blender when Preview level is on 0 #37486

Closed
opened 2013-11-16 09:18:06 +01:00 by Mickaël Guédon · 9 comments

System Information
Ubuntu 13.04 / NV 580 3GB with proprietary driver

Blender Version
Broken: Blender 2.6X r61240 (today's Buildbot)
Worked: Blender 2.69 r60991 (last stable)

Short description of error
Bake from Multires on Displacement mode exits Blender when Preview level is on 0. I want to make a point here : when I said "exits" it really exits with no error code, no "crash".

Exact steps for others to reproduce the error
I made the simplest possible test. New file, UV Unwrap the default cube, add a Multires modifier, subdivide to 4, use the Sculpt Mode to do what you want, then set the Preview setting to 0. Assign a new empty Image to it in the UV/Image Editor. Go to Render context, Bake panel, set the mode to Displacement, enable Bake from Multires tick, hit the Bake button and here it goes : EXIT.

Test file
multiresbakeBUG.blend

**System Information** Ubuntu 13.04 / NV 580 3GB with proprietary driver **Blender Version** Broken: Blender 2.6X r61240 (today's Buildbot) Worked: Blender 2.69 r60991 (last stable) **Short description of error** Bake from Multires on Displacement mode exits Blender when Preview level is on 0. I want to make a point here : when I said "exits" it really exits with no error code, no "crash". **Exact steps for others to reproduce the error** I made the simplest possible test. New file, UV Unwrap the default cube, add a Multires modifier, subdivide to 4, use the Sculpt Mode to do what you want, then set the Preview setting to 0. Assign a new empty Image to it in the UV/Image Editor. Go to Render context, Bake panel, set the mode to Displacement, enable Bake from Multires tick, hit the Bake button and here it goes : EXIT. **Test file** [multiresbakeBUG.blend](https://archive.blender.org/developer/F27917/multiresbakeBUG.blend)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @MickaelGuedon

Added subscriber: @MickaelGuedon
Sergey Sharybin was assigned by Brecht Van Lommel 2013-11-16 17:16:02 +01:00

Added subscriber: @brecht

Added subscriber: @brecht

Confirmed, seems to be division by zero, assigning to sergey.

Crashed Thread:  20

Exception Type:  EXC_ARITHMETIC (SIGFPE)
Exception Codes: EXC_I386_DIV (divide by zero)

Thread 20 Crashed:

0 org.blenderfoundation.blender 0x000000010be8fdad get_ccgdm_data + 141
1 org.blenderfoundation.blender 0x000000010be8ea4f apply_heights_callback + 399
2 org.blenderfoundation.blender 0x000000010be90822 flush_pixel + 818
3 org.blenderfoundation.blender 0x000000010be90bd5 rasterize_half + 469
4 org.blenderfoundation.blender 0x000000010be903c5 do_multires_bake_thread + 837
5 libsystem_c.dylib 0x00007fff86db57a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff86da21e1 thread_start + 13


Confirmed, seems to be division by zero, assigning to sergey. ``` Crashed Thread: 20 Exception Type: EXC_ARITHMETIC (SIGFPE) Exception Codes: EXC_I386_DIV (divide by zero) Thread 20 Crashed: ``` 0 org.blenderfoundation.blender 0x000000010be8fdad get_ccgdm_data + 141 1 org.blenderfoundation.blender 0x000000010be8ea4f apply_heights_callback + 399 2 org.blenderfoundation.blender 0x000000010be90822 flush_pixel + 818 3 org.blenderfoundation.blender 0x000000010be90bd5 rasterize_half + 469 4 org.blenderfoundation.blender 0x000000010be903c5 do_multires_bake_thread + 837 5 libsystem_c.dylib 0x00007fff86db57a2 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff86da21e1 thread_start + 13 ``` ```

This issue was referenced by blender/blender-addons-contrib@8b3524c215

This issue was referenced by blender/blender-addons-contrib@8b3524c215fc8ab2a020d1914742a8fe576d8fae

This issue was referenced by 8b3524c215

This issue was referenced by 8b3524c215fc8ab2a020d1914742a8fe576d8fae

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 8b3524c215.

Closed by commit 8b3524c215.

It is fixed now, thanks for the report!

It is fixed now, thanks for the report!
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#37486
No description provided.