Crash when right-click in Asset Browser #83878

Closed
opened 2020-12-17 08:22:31 +01:00 by Vital Struj · 11 comments

System Information
Operating system: Linux-5.3.6-200.fc30.x86_64-x86_64-with-fedora-30-Thirty 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 19.1.7

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-16 23:32, hash: 3a1d1aaa86
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender closes when trying to right-click on any button in Asset browser.

Exact steps for others to reproduce the error
Open startup file;
Change 3D viewport window to Asset browser;
Right-click on any button in the left-top corner (Scenes, Animations, ...).

In #83879#1077089, @rjg wrote:
I can confirm this issue, the file was NULL @JulianEisel

filelist_file_get_id(const FileDirEntry * file) Line 2068	C
file_context(const bContext * C, const unsigned char * member, bContextDataResult * result) Line 812	C
ctx_data_get(bContext * C, const unsigned char * member, bContextDataResult * result) Line 345	C
CTX_data_pointer_get(const bContext * C, const unsigned char * member) Line 448	C
CTX_data_pointer_get_type_silent(const bContext * C, const unsigned char * member, StructRNA * type) Line 477	C
ED_asset_can_make_single_from_context(const bContext * C) Line 68	C
ui_popup_context_menu_for_button(bContext * C, uiBut * but) Line 957	C
ui_do_button(bContext * C, uiBlock * block, uiBut * but, const wmEvent * event) Line 7588	C
ui_handle_button_event(bContext * C, const wmEvent * event, uiBut * but) Line 8812	C
ui_region_handler(bContext * C, const wmEvent * event, void * UNUSED_userdata) Line 10703	C
wm_handler_ui_call(bContext * C, wmEventHandler_UI * handler, const wmEvent * event, int always_pass) Line 636	C
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2762	C
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2870	C
wm_event_do_handlers(bContext * C) Line 3366	C
WM_main(bContext * C) Line 638	C
main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C
**System Information** Operating system: Linux-5.3.6-200.fc30.x86_64-x86_64-with-fedora-30-Thirty 64 Bits Graphics card: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 19.1.7 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-16 23:32, hash: `3a1d1aaa86` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender closes when trying to right-click on any button in Asset browser. **Exact steps for others to reproduce the error** Open startup file; Change 3D viewport window to Asset browser; Right-click on any button in the left-top corner (Scenes, Animations, ...). > In #83879#1077089, @rjg wrote: > I can confirm this issue, the `file` was `NULL` @JulianEisel > > ```lines > filelist_file_get_id(const FileDirEntry * file) Line 2068 C > file_context(const bContext * C, const unsigned char * member, bContextDataResult * result) Line 812 C > ctx_data_get(bContext * C, const unsigned char * member, bContextDataResult * result) Line 345 C > CTX_data_pointer_get(const bContext * C, const unsigned char * member) Line 448 C > CTX_data_pointer_get_type_silent(const bContext * C, const unsigned char * member, StructRNA * type) Line 477 C > ED_asset_can_make_single_from_context(const bContext * C) Line 68 C > ui_popup_context_menu_for_button(bContext * C, uiBut * but) Line 957 C > ui_do_button(bContext * C, uiBlock * block, uiBut * but, const wmEvent * event) Line 7588 C > ui_handle_button_event(bContext * C, const wmEvent * event, uiBut * but) Line 8812 C > ui_region_handler(bContext * C, const wmEvent * event, void * UNUSED_userdata) Line 10703 C > wm_handler_ui_call(bContext * C, wmEventHandler_UI * handler, const wmEvent * event, int always_pass) Line 636 C > wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2762 C > wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2870 C > wm_event_do_handlers(bContext * C) Line 3366 C > WM_main(bContext * C) Line 638 C > main(int argc, const unsigned char * * UNUSED_argv_c) Line 526 C > ```
Author

Added subscriber: @dV

Added subscriber: @dV

#83900 was marked as duplicate of this issue

#83900 was marked as duplicate of this issue

#83879 was marked as duplicate of this issue

#83879 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser self-assigned this 2020-12-17 10:22:38 +01:00
Member

Will check.

Will check.
Member

Added subscribers: @EchoDot, @JulianEisel, @rjg

Added subscribers: @EchoDot, @JulianEisel, @rjg
Philipp Oeser removed their assignment 2020-12-17 10:24:41 +01:00
Member

Actually, @JulianEisel might be a lot quicker here

Actually, @JulianEisel might be a lot quicker here

This issue was referenced by 6203a3ee68

This issue was referenced by 6203a3ee684d704f2270edde4df80e2549d1a38d
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Julian Eisel self-assigned this 2020-12-17 11:24:35 +01:00

Added subscribers: @1029910278, @VincentBlankfield

Added subscribers: @1029910278, @VincentBlankfield
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
5 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#83878
No description provided.