File with missing 3D view region data crashes #61929

Closed
opened 2019-02-25 10:53:38 +01:00 by Vyacheslav Kobozev · 12 comments

Blender 2.8 / 24 and 25 Feb 2019
120219.jpg

How to reproduce:
Select cube, M to move Cube to Collection 2, Ctrl Z to undo = crash.
New/other files are ok.
It is not depend of collections or an object (I made new and crash still there)

Here the file with a problem nomov.blend

Blender 2.8 / 24 and 25 Feb 2019 ![120219.jpg](https://archive.blender.org/developer/F6710832/120219.jpg) How to reproduce: Select cube, M to move Cube to Collection 2, Ctrl Z to undo = crash. New/other files are ok. It is not depend of collections or an object (I made new and crash still there) Here the file with a problem [nomov.blend](https://archive.blender.org/developer/F6710808/nomov.blend)

Added subscriber: @Vyach

Added subscriber: @Vyach
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I can reproduce the crash.
Not sure if we can fix this, if we can't reproduce it in a new file.

Can you remember how you created this file?

I can reproduce the crash. Not sure if we can fix this, if we can't reproduce it in a new file. Can you remember how you created this file?

The same way, as others, from custom startup file , that I made from default startup ((it is ok)) .
I can share both: startup and item. There is nothing valuable. IDK if it'll help.

The only uncommon detail during work with this file: I pressed Ctrl+Z, and hit the limit of Undo. Then I changed limit of global undo to 64.
Then work some more, tried to move duplicates into another collection with wrong selection, like this:
120244.jpg
Finally found, what is wrong (no sync selection from 3dview to outliner), moved duplicates, Ctrl+Z, Crash.
Then worked some more, and think, if i can reproduce crash or it was sudden.

startup file 28.blend

кинжал 1.blend

The same way, as others, from custom startup file , that I made from default startup ((it is ok)) . I can share both: startup and item. There is nothing valuable. IDK if it'll help. The only uncommon detail during work with this file: I pressed Ctrl+Z, and hit the limit of Undo. Then I changed limit of global undo to 64. Then work some more, tried to move duplicates into another collection with wrong selection, like this: ![120244.jpg](https://archive.blender.org/developer/F6716147/120244.jpg) Finally found, what is wrong (no sync selection from 3dview to outliner), moved duplicates, Ctrl+Z, Crash. Then worked some more, and think, if i can reproduce crash or it was sudden. [startup file 28.blend](https://archive.blender.org/developer/F6716120/startup_file_28.blend) [кинжал 1.blend](https://archive.blender.org/developer/F6716116/кинжал_1.blend)

Added subscriber: @ZedDB

Added subscriber: @ZedDB

@Vyach can you still reproduce the crash in the first file if you disable "Load UI" when you open it?

@Vyach can you still reproduce the crash in the first file if you disable "Load UI" when you open it?

First file have no such bug at all. It is initial file for comparation with bugged.

But with the second one without UI-loading project start to work fine, no crashes.

First file have no such bug at all. It is initial file for comparation with bugged. But with the second one without UI-loading project start to work fine, no crashes.
Brecht Van Lommel was assigned by Sebastian Parborg 2019-02-27 13:49:18 +01:00

Added subscriber: @brecht

Added subscriber: @brecht

I can't seem to reproduce this from scratch.
@brecht any ideas?

Backtrace:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
lib_link_window_scene_data_restore (win=0x7fffcbd8a188, scene=0x7fffcbcf2008, view_layer=0x7fffcf142208)
    at /home/zed/programmering/blender_master/blender/source/blender/blenloader/intern/readfile.c:7828
7828									if (rv3d->localvd) {
(gdb) bt
#0  lib_link_window_scene_data_restore (win=0x7fffcbd8a188, scene=0x7fffcbcf2008, view_layer=0x7fffcf142208)
    at /home/zed/programmering/blender_master/blender/source/blender/blenloader/intern/readfile.c:7828
#1  blo_lib_link_restore (oldmain=oldmain@entry=0x7fffcf209208, newmain=<optimized out>, curwm=0x7fffccbf2a08, curscene=curscene@entry=0x7fffcbcf2008,
    cur_view_layer=cur_view_layer@entry=0x7fffcf142208) at /home/zed/programmering/blender_master/blender/source/blender/blenloader/intern/readfile.c:8087
#2  0x0000555556841585 in setup_app_data (C=0x7fffea058188, bfd=0x7fffcf178b08, is_startup=<optimized out>, reports=<optimized out>, filepath=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/blendfile.c:207
#3  0x00005555568419fd in BKE_blendfile_read_from_memfile (C=C@entry=0x7fffea058188, memfile=memfile@entry=0x7fffcf175308,
    params=params@entry=0x7fffffffd2dc, reports=reports@entry=0x0)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/blendfile.c:447
#4  0x0000555556840e06 in BKE_memfile_undo_decode (mfu=0x7fffcf174f08, C=C@entry=0x7fffea058188)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/blender_undo.c:79
#5  0x000055555613e082 in memfile_undosys_step_decode (C=0x7fffea058188, bmain=<optimized out>, us_p=0x7fffcbd84388, UNUSED_dir=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/memfile_undo.c:90
#6  0x00005555569cf834 in undosys_step_decode (C=C@entry=0x7fffea058188, bmain=0x7fffcf209208, ustack=ustack@entry=0x7fffd8d09708,
    us=us@entry=0x7fffcbd84388, dir=dir@entry=-1) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:197
#7  0x00005555569d05f5 in BKE_undosys_step_undo_with_data_ex (ustack=0x7fffd8d09708, C=C@entry=0x7fffea058188, us=0x7fffe972aa08,
    use_skip=use_skip@entry=true) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:664
#8  0x00005555569d056a in BKE_undosys_step_undo_with_data (ustack=<optimized out>, C=C@entry=0x7fffea058188, us=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:685
#9  0x00005555569d0759 in BKE_undosys_step_undo (ustack=<optimized out>, C=C@entry=0x7fffea058188)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:690
#10 0x000055555613d12d in ed_undo_step (C=C@entry=0x7fffea058188, step=step@entry=1, undoname=undoname@entry=0x0, reports=0x7fffd8d098b8)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/ed_undo.c:173
#11 0x000055555613d24c in ed_undo_exec (C=0x7fffea058188, op=0x7fffd8d31bc8)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/ed_undo.c:317
#12 0x0000555556110d9d in wm_operator_invoke (C=0x7fffea058188, ot=0x7fffe4da8d48, event=0x7fffcf250b88, properties=<optimized out>, reports=0x0,
    poll_only=<optimized out>, use_last_properties=true)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1352
#13 0x0000555556113cf5 in wm_handler_operator_call (C=C@entry=0x7fffea058188, handlers=handlers@entry=0x7fffcbd8a288,
    handler_base=handler_base@entry=0x7fffe96a4e88, event=event@entry=0x7fffcf250b88, properties=0x7fffce96a4a8)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2084
#14 0x00005555561149ae in wm_handlers_do_intern (C=C@entry=0x7fffea058188, event=event@entry=0x7fffcf250b88, handlers=handlers@entry=0x7fffcbd8a288)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2402
#15 0x0000555556114ddc in wm_handlers_do (C=C@entry=0x7fffea058188, event=event@entry=0x7fffcf250b88, handlers=handlers@entry=0x7fffcbd8a288)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2660
#16 0x00005555561159e6 in wm_event_do_handlers (C=C@entry=0x7fffea058188)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:3112
- 17 0x000055555610c910 in WM_main (C=0x7fffea058188) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm.c:418
- 18 0x00005555560f7453 in main (argc=1, argv=0x7fffffffdd28) at /home/zed/programmering/blender_master/blender/source/creator/creator.c:505
I can't seem to reproduce this from scratch. @brecht any ideas? Backtrace: ``` Thread 1 "blender" received signal SIGSEGV, Segmentation fault. lib_link_window_scene_data_restore (win=0x7fffcbd8a188, scene=0x7fffcbcf2008, view_layer=0x7fffcf142208) at /home/zed/programmering/blender_master/blender/source/blender/blenloader/intern/readfile.c:7828 7828 if (rv3d->localvd) { (gdb) bt #0 lib_link_window_scene_data_restore (win=0x7fffcbd8a188, scene=0x7fffcbcf2008, view_layer=0x7fffcf142208) at /home/zed/programmering/blender_master/blender/source/blender/blenloader/intern/readfile.c:7828 #1 blo_lib_link_restore (oldmain=oldmain@entry=0x7fffcf209208, newmain=<optimized out>, curwm=0x7fffccbf2a08, curscene=curscene@entry=0x7fffcbcf2008, cur_view_layer=cur_view_layer@entry=0x7fffcf142208) at /home/zed/programmering/blender_master/blender/source/blender/blenloader/intern/readfile.c:8087 #2 0x0000555556841585 in setup_app_data (C=0x7fffea058188, bfd=0x7fffcf178b08, is_startup=<optimized out>, reports=<optimized out>, filepath=<optimized out>) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/blendfile.c:207 #3 0x00005555568419fd in BKE_blendfile_read_from_memfile (C=C@entry=0x7fffea058188, memfile=memfile@entry=0x7fffcf175308, params=params@entry=0x7fffffffd2dc, reports=reports@entry=0x0) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/blendfile.c:447 #4 0x0000555556840e06 in BKE_memfile_undo_decode (mfu=0x7fffcf174f08, C=C@entry=0x7fffea058188) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/blender_undo.c:79 #5 0x000055555613e082 in memfile_undosys_step_decode (C=0x7fffea058188, bmain=<optimized out>, us_p=0x7fffcbd84388, UNUSED_dir=<optimized out>) at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/memfile_undo.c:90 #6 0x00005555569cf834 in undosys_step_decode (C=C@entry=0x7fffea058188, bmain=0x7fffcf209208, ustack=ustack@entry=0x7fffd8d09708, us=us@entry=0x7fffcbd84388, dir=dir@entry=-1) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:197 #7 0x00005555569d05f5 in BKE_undosys_step_undo_with_data_ex (ustack=0x7fffd8d09708, C=C@entry=0x7fffea058188, us=0x7fffe972aa08, use_skip=use_skip@entry=true) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:664 #8 0x00005555569d056a in BKE_undosys_step_undo_with_data (ustack=<optimized out>, C=C@entry=0x7fffea058188, us=<optimized out>) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:685 #9 0x00005555569d0759 in BKE_undosys_step_undo (ustack=<optimized out>, C=C@entry=0x7fffea058188) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:690 #10 0x000055555613d12d in ed_undo_step (C=C@entry=0x7fffea058188, step=step@entry=1, undoname=undoname@entry=0x0, reports=0x7fffd8d098b8) at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/ed_undo.c:173 #11 0x000055555613d24c in ed_undo_exec (C=0x7fffea058188, op=0x7fffd8d31bc8) at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/ed_undo.c:317 #12 0x0000555556110d9d in wm_operator_invoke (C=0x7fffea058188, ot=0x7fffe4da8d48, event=0x7fffcf250b88, properties=<optimized out>, reports=0x0, poll_only=<optimized out>, use_last_properties=true) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1352 #13 0x0000555556113cf5 in wm_handler_operator_call (C=C@entry=0x7fffea058188, handlers=handlers@entry=0x7fffcbd8a288, handler_base=handler_base@entry=0x7fffe96a4e88, event=event@entry=0x7fffcf250b88, properties=0x7fffce96a4a8) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2084 #14 0x00005555561149ae in wm_handlers_do_intern (C=C@entry=0x7fffea058188, event=event@entry=0x7fffcf250b88, handlers=handlers@entry=0x7fffcbd8a288) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2402 #15 0x0000555556114ddc in wm_handlers_do (C=C@entry=0x7fffea058188, event=event@entry=0x7fffcf250b88, handlers=handlers@entry=0x7fffcbd8a288) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2660 #16 0x00005555561159e6 in wm_event_do_handlers (C=C@entry=0x7fffea058188) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:3112 - 17 0x000055555610c910 in WM_main (C=0x7fffea058188) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm.c:418 - 18 0x00005555560f7453 in main (argc=1, argv=0x7fffffffdd28) at /home/zed/programmering/blender_master/blender/source/creator/creator.c:505 ```

Did you found the difference between startup file and nomov.blend? May be that difference can lead to the root of bug…

Did you found the difference between startup file and nomov.blend? May be that difference can lead to the root of bug…

This issue was referenced by e5194835de

This issue was referenced by e5194835de457d69def325767c912035bc994f5c
Campbell Barton changed title from Bugged file: Move to collection — Undo — Crash to File with missing 3D view region data crashes 2019-03-01 01:27:43 +01:00

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#61929
No description provided.