Freestyle: Sinus Displacement Division by Zero Crash #93322

Closed
opened 2021-11-23 09:49:37 +01:00 by Kjell Emanuelsson · 8 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.92

Blender Version
Broken: version: 2.93.3, branch: master, commit date: 2021-08-17 18:30, hash: 8b80d19f36

Short description of error
Add Sinus Displacement Modifier to Stroke Geometry Freestyle Line Style and set "Wavelength" to 0 (zero).

Exact steps for others to reproduce the error
(Given freestyle set)

  1. Add Sinus Displacement Modifier to Stroke Geometry Freestyle Line Style
  2. Set "Wavelength" to 0 (zero).
  3. Render (F12)
    npr_bug2.jpg

auto_lineart_testing_clean_print2.crash.txt
Can't share blendfile, sharing screenshot and crashdump.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.92 **Blender Version** Broken: version: 2.93.3, branch: master, commit date: 2021-08-17 18:30, hash: `8b80d19f36` **Short description of error** Add Sinus Displacement Modifier to Stroke Geometry Freestyle Line Style and set "Wavelength" to 0 (zero). **Exact steps for others to reproduce the error** (Given freestyle set) 1. Add Sinus Displacement Modifier to Stroke Geometry Freestyle Line Style 2. Set "Wavelength" to 0 (zero). 3. Render (F12) ![npr_bug2.jpg](https://archive.blender.org/developer/F11882120/npr_bug2.jpg) [auto_lineart_testing_clean_print2.crash.txt](https://archive.blender.org/developer/F11882126/auto_lineart_testing_clean_print2.crash.txt) Can't share blendfile, sharing screenshot and crashdump.

Added subscriber: @Kjell-1

Added subscriber: @Kjell-1
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser self-assigned this 2021-11-23 10:47:44 +01:00
Member

Another case where freestyle input properties need to be sanitized (#89081 (Freestyle seed in noise modifier can be zero (leading to crash)) is another case).
Should just be forced to positive / non-zero.
Not sure if it mandatory to have a version patch in do_versions for this, but will check on these.

Another case where freestyle input properties need to be sanitized (#89081 (Freestyle seed in noise modifier can be zero (leading to crash)) is another case). Should just be forced to positive / non-zero. Not sure if it mandatory to have a version patch in `do_versions` for this, but will check on these.

This issue was referenced by 50733e1479

This issue was referenced by 50733e1479943d2652cbb3a60d92877674250b60

This issue was referenced by 647578b143

This issue was referenced by 647578b1439520544e26b119fe3d42e2dd0e0ff9

This issue was referenced by 2cbb9d7a76

This issue was referenced by 2cbb9d7a76815b4b99be597e011fcf55d85c6c79
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' 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
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#93322
No description provided.