Page MenuHome

Blender 2.8 crashes when opening User preferences.
Closed, InvalidPublic

Description

I know that new bug reports on 2.8 are restricted to developers, but I thought I could provide some useful information here.

System Information
Linux Debian 9 64 bits, NVIDIA GTX 1050 TI (driver 375.82)
(also happens on Windows 10 Home Edition, same hardware as above)

Blender Version
Broken: branch blender2.8, hash adece9fbb6

Short description of error
Blender crashes when opening "User preferences..." from the File menu.

Exact steps for others to reproduce the error
Open blender.
Click menu "File -> User Preferences..."
Blender crashes.

Contents of /tmp/blender.crash.txt:

Blender 2.80 (sub 4), Commit date: 2018-03-03 13:58, Hash 2adece9fbb6

backtrace

./bin/blender(BLI_system_backtrace+0x1d) [0x55e94bc1427d]
./bin/blender(+0xcc8d79) [0x55e94b18ed79]
/lib/x86_64-linux-gnu/libc.so.6(+0x33030) [0x7f0682baf030]
./bin/blender(ED_scene_change_update+0x9d) [0x55e94b494d7d]
./bin/blender(WM_window_open_temp+0x1be) [0x55e94b1b0cee]
./bin/blender(+0xfde7a8) [0x55e94b4a47a8]
./bin/blender(+0xcd09fb) [0x55e94b1969fb]
./bin/blender(+0xcd0e65) [0x55e94b196e65]
./bin/blender(+0xec1e72) [0x55e94b387e72]
./bin/blender(+0xed2145) [0x55e94b398145]
./bin/blender(+0xcd237c) [0x55e94b19837c]
./bin/blender(+0xcd2ad8) [0x55e94b198ad8]
./bin/blender(wm_event_do_handlers+0x238) [0x55e94b198f38]
./bin/blender(WM_main+0x20) [0x55e94b18fa20]
./bin/blender(main+0x3eb) [0x55e94b16e45b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f0682b9c2b1]
./bin/blender(_start+0x2a) [0x55e94b18bc2a]

The crash happens here:

File:
source/blender/editors/scene/scene_edit.c

Source code:
ViewLayer *layer_old = BKE_view_layer_from_workspace_get(scene_old, workspace);
Object *obact_old = OBACT(layer_old);

Function BKE_view_layer_from_workspace_get is returning NULL and OBACT crashes.
I saw that this lines of code were inserted as result of commit id a7355c32216e4b9a5b58837802d79a45f883f7ca.

Details

Type
Bug

Event Timeline

Thank you for the report. Currently we are aware of many issues in 2.8 and actively working to fix them. But since replying to reports takes time, we have decided to limit bug reports to module team members.

Hi i understand the crash reports are limited to developers but currently I am spending lots of time on 2.8 on 3 different systems and I wonder if it could be usefull if I report a lot of crashes I am experiencing while working on grease pencil, i would really like to help if needed. thanks for your great work!

@Ricardo Diaz (poyodiaz) not sure why you are asking that here, but crash reports on 2.8 are now open to all users, as well as obvious non-crashing bugs (as long as they are not in WIP areas, if in doubt just ask before posting).

sorry , i am really confused about where should i post about this