Segmentation fault at BIF_draw_manipulator #47367
Labels
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#47367
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
64-bit Fedora 22 and NVIDIA ION
Blender Version
Broken: 2.76
dd185bf
(local build from git with debug info)Short description of error
Blender crashes with segmentation fault when showing hidden objects with alt+h.
Exact steps for others to reproduce the error
Exact steps to reproduce are still bit unclear, but seems to happen quite easily when editing my current project and has always occurred after pressing alt+h.
Here's a full backtrace of the segfault:
(gdb) bt full
0 0x000000000222656a in BIF_draw_manipulator (C=0xb0e53c8)
1 0x0000000002141b54 in view3d_draw_objects (C=0xb0e53c8, scene=0xf4e16f8, v3d=0xce36da8,
2 0x0000000002144a19 in view3d_main_region_draw_objects (C=0xb0e53c8, scene=0xf4e16f8,
3 0x00000000021450d4 in view3d_main_region_draw (C=0xb0e53c8, ar=0xce36878)
4 0x0000000002577aaf in ED_region_do_draw (C=0xb0e53c8, ar=0xce36878)
5 0x0000000002021a40 in wm_method_draw_triple (C=0xb0e53c8, win=0xce15fc8)
6 0x00000000020229e9 in wm_draw_update (C=0xb0e53c8)
7 0x000000000201c3bf in WM_main (C=0xb0e53c8)
No locals.
8 0x000000000201b50a in main (argc=1, argv=0x7fffeda87388)
Line causing the segfault is here:
(gdb) list
1631 bGPdata *gpd = CTX_data_gpencil_data(C);
1632 Object *ob = OBACT;
1633
1634 if (((v3d->around == V3D_AROUND_ACTIVE) && (scene->obedit == NULL)) &&
1635 ((gpd == NULL) || !(gpd->flag & GP_DATA_STROKE_EDITMODE)) &&
1636 (!(ob->mode & OB_MODE_POSE)))
1637 {
1638 copy_v3_v3(rv3d->twmat- [x], ob->obmat[3]);
1639 }
1640 else {
As ob is NULL, it's the ob->mode reference.
According to git, the ob NULL check was removed in Grease Pencil: Merge GPencil_Editing_Stage3 branch into master commit
Changed status to: 'Open'
Added subscriber: @pltsi
This issue was referenced by
69327137c0
Changed status from 'Open' to: 'Resolved'