Page MenuHome

Crash when trying to "Add Custom Split Normals Data" after Averaging Face Area
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: rB375c7dc4caf4
Broken: version: 2.83.4, branch: master, commit date: 2020-08-05 06:00, hash: rBc113af82881a
Broken: version: 2.83.5, branch: master, commit date: 2020-08-19 06:07, hash: rBc2b144df395f
Broken: version: 2.90.0 Beta, branch: master, commit date: 2020-08-25 16:00, hash: rB21cb6f09ffa8
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-25 19:28, hash: rB396d39c6b904
Worked: N/A

Short description of error
Crash when trying to "Add Custom Split Normals Data" after Normals > Average > Custom Normal / Face Area / Corner Angle

Exact steps for others to reproduce the error

  1. File > Defaults > Load Factory Settings > Load Factory Settings
  2. Add any mesh ( Shift+A > M > M )
  3. Enter Edit Mode (Tab)
  4. Alt+N > Reset Vectors
  5. Go to Object Data Properties > Clear Custom Split Normals Data
  6. Alt+N > Average > Custom Normal / Face Area / Corner Angle
  7. Go to Object Data Properties > Add Custom Split Normals Data
  8. Crash

Same behavior on home and 2 office PCs ( different configs )

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Thu, Aug 27, 1:55 PM

Exception thrown at 0x00007FF741DF1EB0 in blender.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.

>	blender.exe!BLI_mempool_free(BLI_mempool * pool, void * addr) Line 424	C
 	blender.exe!CustomData_bmesh_free_block(CustomData * data, void * * block) Line 3728	C
 	blender.exe!update_data_blocks(BMesh * bm, CustomData * olddata, CustomData * data) Line 860	C
 	blender.exe!BM_data_layer_add(BMesh * bm, CustomData * data, int type) Line 903	C
 	blender.exe!mesh_customdata_custom_splitnormals_add_exec(bContext * C, wmOperator * UNUSED_op) Line 955	C
 	blender.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Line 1312	C
 	blender.exe!wm_operator_call_internal(bContext * C, wmOperatorType * ot, PointerRNA * properties, ReportList * reports, const short context, const bool poll_only, wmEvent * event) Line 1516	C
 	blender.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, short context, PointerRNA * properties) Line 1562	C
 	blender.exe!ui_apply_but_funcs_after(bContext * C) Line 925	C
 	blender.exe!ui_handler_region_menu(bContext * C, const wmEvent * event, void * UNUSED_userdata) Line 10732	C
 	[Inline Frame] blender.exe!wm_handler_ui_call(bContext *) Line 638	C
 	blender.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2754	C
 	blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2868	C
 	blender.exe!wm_event_do_handlers(bContext * C) Line 3292	C
 	blender.exe!WM_main(bContext * C) Line 479	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 548	C
 	[External Code]
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".Thu, Aug 27, 3:49 PM