Page MenuHome

Crashes with Access violation error due to null pointer
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10 x64
Graphics card: NVidia 1050Ti

Blender Version
2.80, e66629c12825, branch: master, commit date: 2019-05-01 10:09
Worked: About a week ago(I'm not sure about the version)

Short description of error
Crashes while trying to access members of a null pointer causing EXCEPTION_ACCESS_VIOLATION

Exact steps for others to reproduce the error
Open Blender
Click away from splash screen
Click materials tab in properties window
Try to scroll
expect crash

Crashing code
In area.c file

/* If the area has overlapping regions, it returns visible rect for Region *ar */
/* rect gets returned in local region coordinates */
void ED_region_visible_rect(ARegion *ar, rcti *rect)
{
  ARegion *arn = ar;

  /* allow function to be called without area */
  while (arn->prev) {
    arn = arn->prev;
  }

Windows Stack Trace

	blender.exe!ED_region_visible_rect(ARegion * ar, rcti * rect) Line 3267	C
 	blender.exe!EEVEE_lookdev_cache_init(EEVEE_Data * vedata, DRWShadingGroup * * grp, DRWPass * pass, float background_alpha, World * UNUSED_world, EEVEE_LightProbesInfo * pinfo) Line 78	C
 	blender.exe!EEVEE_lightprobes_cache_init(EEVEE_ViewLayerData * sldata, EEVEE_Data * vedata) Line 343	C
 	blender.exe!EEVEE_render_init(EEVEE_Data * ved, RenderEngine * engine, Depsgraph * depsgraph) Line 139	C
 	blender.exe!eevee_render_to_image(void * vedata, RenderEngine * engine, RenderLayer * render_layer, const rcti * rect) Line 435	C
 	blender.exe!DRW_render_to_image(RenderEngine * engine, Depsgraph * depsgraph) Line 1960	C
 	blender.exe!RE_engine_render(Render * re, int do_all) Line 780	C
 	blender.exe!do_render_3d(Render * re) Line 1147	C
 	blender.exe!RE_PreviewRender(Render * re, Main * bmain, Scene * sce) Line 2757	C
 	blender.exe!shader_preview_render(ShaderPreview * sp, ID * id, int split, int first) Line 912	C
 	blender.exe!shader_preview_startjob(void * customdata, short * stop, short * do_update) Line 950	C
 	blender.exe!icon_preview_startjob(void * customdata, short * stop, short * do_update) Line 1157	C
 	blender.exe!common_preview_startjob(void * customdata, short * stop, short * do_update, float * UNUSED_progress) Line 1176	C
 	blender.exe!icon_preview_startjob_all_sizes(void * customdata, short * stop, short * do_update, float * progress) Line 1259	C
 	blender.exe!do_job_thread(void * job_v) Line 377	C
 	blender.exe!tslot_thread_start(void * tslot_p) Line 260	C
 	[External Code]	
 	blender.exe!invoke_thread_procedure(unsigned int(*)(void *) procedure, void * const context) Line 92	C++
 	blender.exe!thread_start<unsigned int (__cdecl*)(void * __ptr64)>(void * const parameter) Line 115	C++
 	[External Code]

Event Timeline

Sree Teja Simha G (simtronium) renamed this task from Build crashes with Access violation error due to null pointer to Crashes with Access violation error due to null pointer.May 1 2019, 3:55 PM

Commit a72a831570822190f782e6bbecfd57b45dc2e872 should have fixed the issue, it doesn't crash anymore here.

Sree Teja Simha G (simtronium) changed the task status from Unknown Status to Resolved.May 2 2019, 2:27 AM