Crash on Preview as Backdrop in Video Sequencer #80029

Closed
opened 2020-08-23 00:18:59 +02:00 by Sekhar Ravinutala · 18 comments

System Information
Operating system: Linux-5.7.16-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66

Blender Version
Broken: version: 2.90.0 Beta, branch: master, commit date: 2020-08-21 15:35, hash: ebf10b72b0
Worked: Not sure

Short description of error
Blender crashes when you select Preview as Backdrop in Video Sequencer, regardless of content

Exact steps for others to reproduce the error
Open Video Sequencer, click on View->Preview as Backdrop. Blender crashes.

**System Information** Operating system: Linux-5.7.16-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits Graphics card: GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66 **Blender Version** Broken: version: 2.90.0 Beta, branch: master, commit date: 2020-08-21 15:35, hash: `ebf10b72b0` Worked: Not sure **Short description of error** Blender crashes when you select Preview as Backdrop in Video Sequencer, regardless of content **Exact steps for others to reproduce the error** Open Video Sequencer, click on View->Preview as Backdrop. Blender crashes.

Added subscriber: @Sekhar

Added subscriber: @Sekhar

#80052 was marked as duplicate of this issue

#80052 was marked as duplicate of this issue

Added subscriber: @rjg

Added subscriber: @rjg

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

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

Can confirm on the master branch WM_draw_region_get_viewport(region); in sequencer_draw_preview returns NULL. The viewport pointer is dereferenced in GPU_viewport_framebuffer_list_get which results in the crash.

GPU_viewport_framebuffer_list_get(GPUViewport * viewport) Line 328	C
GPU_viewport_framebuffer_overlay_get(GPUViewport * viewport) Line 1046	C
sequencer_draw_preview(const bContext * C, Scene * scene, ARegion * region, SpaceSeq * sseq, int cfra, int frame_ofs, bool draw_overlay, bool draw_backdrop) Line 1774	C
draw_timeline_seq(const bContext * C, ARegion * region) Line 2280	C
sequencer_main_region_draw(const bContext * C, ARegion * region) Line 523	C
ED_region_do_draw(bContext * C, ARegion * region) Line 535	C
wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 697	C
wm_draw_window(bContext * C, wmWindow * win) Line 825	C
wm_draw_update(bContext * C) Line 1028	C
WM_main(bContext * C) Line 483	C
main(int argc, const unsigned char * * UNUSED_argv_c) Line 548	C
Can confirm on the master branch `WM_draw_region_get_viewport(region);` in `sequencer_draw_preview` returns `NULL`. The `viewport` pointer is dereferenced in `GPU_viewport_framebuffer_list_get` which results in the crash. ``` GPU_viewport_framebuffer_list_get(GPUViewport * viewport) Line 328 C GPU_viewport_framebuffer_overlay_get(GPUViewport * viewport) Line 1046 C sequencer_draw_preview(const bContext * C, Scene * scene, ARegion * region, SpaceSeq * sseq, int cfra, int frame_ofs, bool draw_overlay, bool draw_backdrop) Line 1774 C draw_timeline_seq(const bContext * C, ARegion * region) Line 2280 C sequencer_main_region_draw(const bContext * C, ARegion * region) Line 523 C ED_region_do_draw(bContext * C, ARegion * region) Line 535 C wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 697 C wm_draw_window(bContext * C, wmWindow * win) Line 825 C wm_draw_update(bContext * C) Line 1028 C WM_main(bContext * C) Line 483 C main(int argc, const unsigned char * * UNUSED_argv_c) Line 548 C ```

This affects 2.90 beta as well, 2.83.5 doesn't crash.

This affects 2.90 beta as well, 2.83.5 doesn't crash.
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

In that case we should tag 2.90 so this doesn't get forgotten.

In that case we should tag 2.90 so this doesn't get forgotten.

Added subscriber: @tiles

Added subscriber: @tiles

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Dalai Felinto self-assigned this 2020-08-25 12:51:13 +02:00

This was fixed by reverting the multi-view fix: 40edb84dcf

This was fixed by reverting the multi-view fix: 40edb84dcf4f05fe2d6a73170617af0eab0cd5ff
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Resolved' to: 'Confirmed'

Changed status from 'Resolved' to: 'Confirmed'
Member

It is not fixed, it is still happening in master

It is not fixed, it is still happening in master
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Since @Sergey also merged #80184 (VSE: Crash when switching on Preview as Backdrop) into #79940 (VSE Editor crash when opening a different scene as a strip), will do the same here...

Since @Sergey also merged #80184 (VSE: Crash when switching on Preview as Backdrop) into #79940 (VSE Editor crash when opening a different scene as a strip), will do the same here...
Member

Closed as duplicate of #79940

Closed as duplicate of #79940
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:25:40 +01:00
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
6 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#80029
No description provided.