CTest/Cycles subdiv related failures #66026

Closed
opened 2019-06-22 20:16:36 +02:00 by Ray molenkamp · 5 comments
Member

System Information
Operating system: Win/Mac
Graphics card: N/A

Blender Version
Broken: 953419c
Worked: day before... possibly..

Short description of error

In last nights test I had one fail on mac (cycles_reports/T50655) and one on windows (cycles_displacement/true_displacement_image) running both with the debug heap (kinda like asan, but not quite) i was able to repro both crashes with virtually identical callstacks

 Index  Function
--------------------------------------------------------------------------------
 1      blender.exe!OpenSubdiv::v3_3_3::Osd::CpuPatchTable::CpuPatchTable(class OpenSubdiv::v3_3_3::Far::PatchTable const *)
*2      blender.exe!OpenSubdiv::v3_3_3::Osd::CpuPatchTable::Create(const OpenSubdiv::v3_3_3::Far::PatchTable * patchTable, void * deviceContext)
 3      blender.exe!opensubdiv_capi::`anonymous namespace'::VolatileEvalOutput<OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Far::StencilTable,OpenSubdiv::v3_3_3::Osd::CpuPatchTable,OpenSubdiv::v3_3_3::Osd::CpuEvaluator,void>::VolatileEvalOutput<OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Far::StencilTable,OpenSubdiv::v3_3_3::Osd::CpuPatchTable,OpenSubdiv::v3_3_3::Osd::CpuEvaluator,void>(const OpenSubdiv::v3_3_3::Far::StencilTable * vertex_stencils, const OpenSubdiv::v3_3_3::Far::StencilTable * varying_stencils, const std::vector<OpenSubdiv::v3_3_3::Far::StencilTable const *,std::allocator<OpenSubdiv::v3_3_3::Far::StencilTable const *> > & all_face_varying_stencils, const int face_varying_width, const OpenSubdiv::v3_3_3::Far::PatchTable * patch_table, OpenSubdiv::v3_3_3::Osd::EvaluatorCacheT<OpenSubdiv::v3_3_3::Osd::CpuEvaluator> * evaluator_cache, void * device_context)
 4      blender.exe!opensubdiv_capi::CpuEvalOutput::CpuEvalOutput(const OpenSubdiv::v3_3_3::Far::StencilTable * vertex_stencils, const OpenSubdiv::v3_3_3::Far::StencilTable * varying_stencils, const std::vector<OpenSubdiv::v3_3_3::Far::StencilTable const *,std::allocator<OpenSubdiv::v3_3_3::Far::StencilTable const *> > & all_face_varying_stencils, const int face_varying_width, const OpenSubdiv::v3_3_3::Far::PatchTable * patch_table, OpenSubdiv::v3_3_3::Osd::EvaluatorCacheT<OpenSubdiv::v3_3_3::Osd::CpuEvaluator> * evaluator_cache)
 5      blender.exe!openSubdiv_createEvaluatorInternal(OpenSubdiv_TopologyRefiner * topology_refiner)
 6      blender.exe!openSubdiv_createEvaluatorFromTopologyRefiner(OpenSubdiv_TopologyRefiner * topology_refiner)
 7      blender.exe!BKE_subdiv_eval_begin(Subdiv * subdiv)
 8      blender.exe!BKE_subdiv_eval_update_from_mesh(Subdiv * subdiv, const Mesh * mesh)
 9      blender.exe!BKE_subdiv_to_mesh(Subdiv * subdiv, const SubdivToMeshSettings * settings, const Mesh * coarse_mesh)
 10     blender.exe!subdiv_as_mesh(SubsurfModifierData * smd, const ModifierEvalContext * ctx, Mesh * mesh, Subdiv * subdiv)
 11     blender.exe!applyModifier(ModifierData * md, const ModifierEvalContext * ctx, Mesh * mesh)
 12     blender.exe!modwrap_applyModifier(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me)
 13     blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, int useDeform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final)
 14     blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping)
 15     blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask)
 16     blender.exe!BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob)
 17     blender.exe!BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob)
 18     [External Code]
 19     blender.exe!DEG::deg_task_run_func(TaskPool * pool, void * taskdata, int thread_id)
 20     blender.exe!task_scheduler_thread_run(void * thread_p)
 21     [External Code]
 22     blender.exe!invoke_thread_procedure(unsigned int(*)(void *) procedure, void * const context)
 23     blender.exe!thread_start<unsigned int (__cdecl*)(void * __ptr64)>(void * const parameter)
 24     [External Code]```

running the whole cyles test revealed the following failures, i sampled a few and it seems safe to assume it's all the same bug.

60: [ FAILED ] true_displacement_image
68: [ FAILED ] tangent_missing_uv
68: [ FAILED ] tangent_render_uv
68: [ FAILED ] tangent_specific_uv_other
68: [ FAILED ] tangent_specific_uv_render
68: [ FAILED ] tangent_triangles
71: [ FAILED ] T42475_1
71: [ FAILED ] T42475_2
71: [ FAILED ] #43156
71: [ FAILED ] #50655


**Exact steps for others to reproduce the error**

Load or render any of the files above. (will probably need an asan build or debug heap on windows) to repro. 
**System Information** Operating system: Win/Mac Graphics card: N/A **Blender Version** Broken: 953419c Worked: day before... possibly.. **Short description of error** In last nights test I had one fail on mac (`cycles_reports/T50655`) and one on windows (`cycles_displacement/true_displacement_image`) running both with the debug heap (kinda like asan, but not quite) i was able to repro both crashes with virtually identical callstacks ``` Index Function -------------------------------------------------------------------------------- 1 blender.exe!OpenSubdiv::v3_3_3::Osd::CpuPatchTable::CpuPatchTable(class OpenSubdiv::v3_3_3::Far::PatchTable const *) *2 blender.exe!OpenSubdiv::v3_3_3::Osd::CpuPatchTable::Create(const OpenSubdiv::v3_3_3::Far::PatchTable * patchTable, void * deviceContext) 3 blender.exe!opensubdiv_capi::`anonymous namespace'::VolatileEvalOutput<OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Far::StencilTable,OpenSubdiv::v3_3_3::Osd::CpuPatchTable,OpenSubdiv::v3_3_3::Osd::CpuEvaluator,void>::VolatileEvalOutput<OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Osd::CpuVertexBuffer,OpenSubdiv::v3_3_3::Far::StencilTable,OpenSubdiv::v3_3_3::Osd::CpuPatchTable,OpenSubdiv::v3_3_3::Osd::CpuEvaluator,void>(const OpenSubdiv::v3_3_3::Far::StencilTable * vertex_stencils, const OpenSubdiv::v3_3_3::Far::StencilTable * varying_stencils, const std::vector<OpenSubdiv::v3_3_3::Far::StencilTable const *,std::allocator<OpenSubdiv::v3_3_3::Far::StencilTable const *> > & all_face_varying_stencils, const int face_varying_width, const OpenSubdiv::v3_3_3::Far::PatchTable * patch_table, OpenSubdiv::v3_3_3::Osd::EvaluatorCacheT<OpenSubdiv::v3_3_3::Osd::CpuEvaluator> * evaluator_cache, void * device_context) 4 blender.exe!opensubdiv_capi::CpuEvalOutput::CpuEvalOutput(const OpenSubdiv::v3_3_3::Far::StencilTable * vertex_stencils, const OpenSubdiv::v3_3_3::Far::StencilTable * varying_stencils, const std::vector<OpenSubdiv::v3_3_3::Far::StencilTable const *,std::allocator<OpenSubdiv::v3_3_3::Far::StencilTable const *> > & all_face_varying_stencils, const int face_varying_width, const OpenSubdiv::v3_3_3::Far::PatchTable * patch_table, OpenSubdiv::v3_3_3::Osd::EvaluatorCacheT<OpenSubdiv::v3_3_3::Osd::CpuEvaluator> * evaluator_cache) 5 blender.exe!openSubdiv_createEvaluatorInternal(OpenSubdiv_TopologyRefiner * topology_refiner) 6 blender.exe!openSubdiv_createEvaluatorFromTopologyRefiner(OpenSubdiv_TopologyRefiner * topology_refiner) 7 blender.exe!BKE_subdiv_eval_begin(Subdiv * subdiv) 8 blender.exe!BKE_subdiv_eval_update_from_mesh(Subdiv * subdiv, const Mesh * mesh) 9 blender.exe!BKE_subdiv_to_mesh(Subdiv * subdiv, const SubdivToMeshSettings * settings, const Mesh * coarse_mesh) 10 blender.exe!subdiv_as_mesh(SubsurfModifierData * smd, const ModifierEvalContext * ctx, Mesh * mesh, Subdiv * subdiv) 11 blender.exe!applyModifier(ModifierData * md, const ModifierEvalContext * ctx, Mesh * mesh) 12 blender.exe!modwrap_applyModifier(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me) 13 blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, int useDeform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final) 14 blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) 15 blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) 16 blender.exe!BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) 17 blender.exe!BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) 18 [External Code] 19 blender.exe!DEG::deg_task_run_func(TaskPool * pool, void * taskdata, int thread_id) 20 blender.exe!task_scheduler_thread_run(void * thread_p) 21 [External Code] 22 blender.exe!invoke_thread_procedure(unsigned int(*)(void *) procedure, void * const context) 23 blender.exe!thread_start<unsigned int (__cdecl*)(void * __ptr64)>(void * const parameter) 24 [External Code]``` running the whole cyles test revealed the following failures, i sampled a few and it seems safe to assume it's all the same bug. ``` 60: [ FAILED ] true_displacement_image 68: [ FAILED ] tangent_missing_uv 68: [ FAILED ] tangent_render_uv 68: [ FAILED ] tangent_specific_uv_other 68: [ FAILED ] tangent_specific_uv_render 68: [ FAILED ] tangent_triangles 71: [ FAILED ] T42475_1 71: [ FAILED ] T42475_2 71: [ FAILED ] #43156 71: [ FAILED ] #50655 ``` **Exact steps for others to reproduce the error** Load or render any of the files above. (will probably need an asan build or debug heap on windows) to repro.
Author
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo

Added subscriber: @brecht

Added subscriber: @brecht

Possibly solved by ae6300a8b7, though I could not reproduce the crash.

Possibly solved by ae6300a8b7, though I could not reproduce the crash.
Author
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Ray molenkamp self-assigned this 2019-06-23 00:41:07 +02:00
Author
Member

Just pulled, it's fixed now.

Just pulled, it's fixed now.
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
2 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#66026
No description provided.