Adding new workspaces from old startup files fails #60651

Closed
opened 2019-01-19 16:58:36 +01:00 by Pham Truong · 21 comments

System Information
Operating system: Windows 10 Pro 64 bit
Graphics card: AMD RX 480 4Gb

Blender Version
Broken: 2.80 Beta c59370bf64

Worked: (optional)

Blender will keep shutting down whenever I click the + icon to add another workspace. Normally it would work, but if it was in sculpting mode, that will happen.

To reproduce the error, create a new file by clicking File -> New -> Sculpting. Then you can add any mode in the General tab then this will happen. Any saved files that opened this way will have the same fate Like this one One Eyed Creature 002 b.blend

**System Information** Operating system: Windows 10 Pro 64 bit Graphics card: AMD RX 480 4Gb **Blender Version** Broken: 2.80 Beta c59370bf643f Worked: (optional) **Blender will keep shutting down whenever I click the + icon to add another workspace. Normally it would work, but if it was in sculpting mode, that will happen.** **To reproduce the error, create a new file by clicking File -> New -> Sculpting. Then you can add any mode in the General tab then this will happen. Any saved files that opened this way will have the same fate** Like this one [One Eyed Creature 002 b.blend](https://archive.blender.org/developer/F6337622/One_Eyed_Creature_002_b.blend)
Author

Added subscriber: @MageArt

Added subscriber: @MageArt

#63152 was marked as duplicate of this issue

#63152 was marked as duplicate of this issue

#62789 was marked as duplicate of this issue

#62789 was marked as duplicate of this issue

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

Cannot reproduce. What does*'Then you can add any mode in the General tab'* mean? And what does "...will have the same fate Like this one" mean? What fate exactly? We need the report to be a little more detailed and specific.

Thanks.

Cannot reproduce. What does*'Then you can add any mode in the General tab'* mean? And what does *"...will have the same fate Like this one"* mean? What fate exactly? We need the report to be a little more detailed and specific. Thanks.
Author

To be more detailed, i've just recorded this video to show you the problem more clearly. 2019.01.19-23.31.mp4
I don't think you can see the video here so i'll post a link to youtube.
https://www.youtube.com/watch?v=QZcbOB55q7k&feature=youtu.be

To be more detailed, i've just recorded this video to show you the problem more clearly. [2019.01.19-23.31.mp4](https://archive.blender.org/developer/F6337870/2019.01.19-23.31.mp4) I don't think you can see the video here so i'll post a link to youtube. https://www.youtube.com/watch?v=QZcbOB55q7k&feature=youtu.be

I cannot reproduce that crash here. Are you using the latest build from builder.blender.org? And can you try going to File > Load Factory Settings and see if you still get the crash?

I cannot reproduce that crash here. Are you using the latest build from builder.blender.org? And can you try going to File > Load Factory Settings and see if you still get the crash?
Author

Yeah, I just downloaded the 2.8 version from the site so it is the latest build. And I did load factory settings as you said and the problem still remains. I think the software might conflict with another apps within my pc? I also tried to turn off Windows Defender but thats not the case.

Yeah, I just downloaded the 2.8 version from the site so it is the latest build. And I did load factory settings as you said and the problem still remains. I think the software might conflict with another apps within my pc? I also tried to turn off Windows Defender but thats not the case.

Hard to say what causes this. Will keep this open for now.

Hard to say what causes this. Will keep this open for now.

Added subscribers: @blademust, @antoniov, @ZedDB, @LazyDodo

Added subscribers: @blademust, @antoniov, @ZedDB, @LazyDodo

Added subscriber: @brecht

Added subscriber: @brecht

Probably the same cause as in #59314

IE old blender 2.79 workspace templates will crash blender.

@brecht I'm guessing this is something we would want to fix before the stable release?

Probably the same cause as in #59314 IE old blender 2.79 workspace templates will crash blender. @brecht I'm guessing this is something we would want to fix before the stable release?

Yes, we should fix such crashes.

Yes, we should fix such crashes.

Added subscriber: @you.le

Added subscriber: @you.le

I can't reproduce the crash neither following the described steps (gxt 1080, windows 10 64, last blender master)

I can't reproduce the crash neither following the described steps (gxt 1080, windows 10 64, last blender master)

Added subscriber: @benjho

Added subscriber: @benjho

After Sebastian has merged my bug report with this one (thanks for that!), I did some more testing.

I think, the problem boils down to this:
In the "Add Workspace" menu, there are some fixed entries (which work), and some entries (the ones above the divider in the "General" section), that are populated from the startup file and cause trouble.
grafik.png

If the startup file was imported from Blender 2.79 or below, adding one of those "old" workspaces crashes blender.
You should be able to reproduce this with this startup file (copy it to %appdata%\Blender Foundation\Blender\2.80\config\startup.blend or the equivalent place on your OS):
startup.blend

Once you save the startup file in Blender 2.8 (without changing anything), there are no more crashes (at least not from this issue ^^)

I hope this information helps to reproduce the bug, and maybe even fix it.
In my opinion, it should be enough to find and catch the exception and display a warning. At least thats better than a silent crash which swallows all your unsaved work ;-)

After Sebastian has merged my bug report with this one (thanks for that!), I did some more testing. I think, the problem boils down to this: In the "Add Workspace" menu, there are some fixed entries (which work), and some entries (the ones above the divider in the "General" section), that are populated from the startup file and cause trouble. ![grafik.png](https://archive.blender.org/developer/F6903473/grafik.png) If the startup file was imported from Blender 2.79 or below, adding one of those "old" workspaces crashes blender. You should be able to reproduce this with this startup file (copy it to `%appdata%\Blender Foundation\Blender\2.80\config\startup.blend` or the equivalent place on your OS): [startup.blend](https://archive.blender.org/developer/F6914966/startup.blend) Once you save the startup file in Blender 2.8 (without changing anything), there are no more crashes (at least not from this issue ^^) I hope this information helps to reproduce the bug, and maybe even fix it. In my opinion, it should be enough to find and catch the exception and display a warning. At least thats better than a silent crash which swallows all your unsaved work ;-)
Brecht Van Lommel changed title from Blender automatically shut down when adding new workspaces. to Adding new workspaces from old startup files fails 2019-05-29 15:37:57 +02:00

It no longer crashes now, but does nothing instead.

It no longer crashes now, but does nothing instead.

Removed subscriber: @antoniov

Removed subscriber: @antoniov

This issue was referenced by 1f1d302950

This issue was referenced by 1f1d302950044592b8812c022897abfc838580a4

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-07-16 17:50:51 +02: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
8 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#60651
No description provided.