Cycles/Test: Crash inside smoke_color.blend #75290

Closed
opened 2020-04-01 20:11:48 +02:00 by Ray molenkamp · 5 comments
Member

System Information
Operating system: Win64
Graphics card: N/A

Blender Version
Broken: master
Worked:

Short description of error

smoke_color.blend does an out of bounds access into a vector

VolumeMeshBuilder::add_node calls compute_voxel_index which returns -1 (bonus issue size_t is uint64_t on windows, so -1 yields 18446744073709551615 which is somewhat confusing at first sight but doesn't seem to cause any issues, however pershaps ssize_t would be nicer there ) and then accesses the grid vector with that index.

Exact steps for others to reproduce the error
render smoke_color.blend with a debug build

**System Information** Operating system: Win64 Graphics card: N/A **Blender Version** Broken: master Worked: **Short description of error** `smoke_color.blend` does an out of bounds access into a vector `VolumeMeshBuilder::add_node` calls `compute_voxel_index` which returns -1 (bonus issue `size_t` is `uint64_t` on windows, so `-1` yields `18446744073709551615` which is somewhat confusing at first sight but doesn't seem to cause any issues, however pershaps `ssize_t` would be nicer there ) and then accesses the grid vector with that index. **Exact steps for others to reproduce the error** render `smoke_color.blend` with a debug build
Author
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Author
Member

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

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

This issue was referenced by blender/cycles@3f8164eaec

This issue was referenced by blender/cycles@3f8164eaecd0b378fb97ae356c1a82eb31b46e58

This issue was referenced by cc53c9e476

This issue was referenced by cc53c9e4764fd938af3a486feb013026c134080f

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2020-04-08 22:09:44 +02:00
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#75290
No description provided.