Page MenuHome

Redraw Timer crashes Blender
Closed, ResolvedPublic

Description

System Information
Operating system: elementaryOS 0.4.1
Graphics card: GTX1080

Blender Version
Broken: 2.80, 6b082278d195

Short description of error
I wanted to compare draw times of current vs. older versions of 2.80, however, when I try to use the Redraw Timer, Blender crashes with segmentation fault.

Exact steps for others to reproduce the error
Open Blender, bring up the menu for redraw timer (CTRL+ALT+T in old keymap), try any of the items, for example Draw Region. Crashes for me every time.

Event Timeline

Crash also on Windows 10 Pro 64bit
Nvidia GTX 1080Ti

Antonio Vazquez (antoniov) triaged this task as Confirmed, Medium priority.

I can confirm on Windows 10.

Callstack:

blender.exe!GPU_viewport_engines_data_validate(GPUViewport * viewport, void * * engine_handle_array) Line 369	C
blender.exe!drw_engines_data_validate() Line 1496	C
blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * ar, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1630	C
blender.exe!DRW_draw_view(const bContext * C) Line 1583	C
blender.exe!view3d_draw_view(const bContext * C, ARegion * ar) Line 1428	C
blender.exe!view3d_main_region_draw(const bContext * C, ARegion * ar) Line 1450	C
blender.exe!ED_region_do_draw(bContext * C, ARegion * ar) Line 572	C
blender.exe!redraw_timer_step(bContext * C, Main * bmain, Scene * scene, Depsgraph * depsgraph, wmWindow * win, ScrArea * sa, ARegion * ar, const int type, const int cfra) Line 3086	C
blender.exe!redraw_timer_exec(bContext * C, wmOperator * op) Line 3171	C
blender.exe!WM_menu_invoke_ex(bContext * C, wmOperator * op, int opcontext) Line 752	C
blender.exe!WM_menu_invoke(bContext * C, wmOperator * op, const wmEvent * UNUSED_event) Line 773	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 1409	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 1623	C
blender.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, short context, PointerRNA * properties) Line 1672	C
blender.exe!ui_apply_but_funcs_after(bContext * C) Line 792	C
blender.exe!ui_popup_handler(bContext * C, const wmEvent * event, void * userdata) Line 10203	C
blender.exe!wm_handler_ui_call(bContext * C, wmEventHandler_UI * handler, const wmEvent * event, int always_pass) Line 608	C
blender.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2573	C
blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2804	C
blender.exe!wm_event_do_handlers(bContext * C) Line 3172	C
blender.exe!WM_main(bContext * C) Line 421	C
blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 502	C

The variable viewport is NULL in GPU_viewport_engines_data_validate()