Page MenuHome

Blender Crashes on HP Zbook x360 with Ubuntu 19.10 when HP G2 Stylus connects via wacom module
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Ubuntu 19.10
Graphics card: Dual: 1) GP107GLM [Quadro P-1000 Mobile] ... 2) Intel i915
Kernel: Linux 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Wacom Driver:

$ dpkg --list | grep wacom
ii  libwacom-bin                                  1.1-1                                       amd64        Wacom model feature query library -- binaries
ii  libwacom-common                               1.1-1                                       all          Wacom model feature query library (common files)
ii  libwacom2:amd64                               1.1-1                                       amd64        Wacom model feature query library
ii  xserver-xorg-input-wacom                      1:0.36.1-0ubuntu2                           amd64        X.Org X server -- Wacom input driver

Blender Version
Blender 2.8x

Have tried with Blender 2.80 and 2.81

$blender --version

Blender 2.81 (sub 16)
        build date: 2019-11-20
        build time: 16:31:09
        build commit date: 2019-11-20
        build commit time: 14:27
        build hash: 26bd5ebd42e3
        build platform: Linux
        build type: Release
        build c flags:  -Wall -Wcast-align -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wnonnull -Wuninitialized -Wredundant-decls -Wshadow -Wno-error=unused-but-set-variable  -fuse-ld=gold -std=gnu11   -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -D_GLIBCXX_USE_CXX11_ABI=0
        build c++ flags:  -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wuninitialized -Wundef -Wmissing-declarations  -fuse-ld=gold -std=c++11   -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -D_GLIBCXX_USE_CXX11_ABI=0
        build link flags:  -Wl,--version-script='/home/sources/buildbot-x86_64-slave/linux_glibc217_x86_64_cmake/blender.git/source/creator/blender.map'
        build system: CMake

Works: Blender 2.79

Short description of error
Blender 2.8x crashes at start unless you remove and then re-add wacom driver.

$ cat blender.crash.txt 

# backtrace
./blender-2.81-linux-glibc217-x86_64/blender(BLI_system_backtrace+0x1d) [0x14ee85d]
./blender-2.81-linux-glibc217-x86_64/blender() [0x12cbb79]
/lib/x86_64-linux-gnu/libc.so.6(+0x46470) [0x7f8158aec470]
./blender-2.81-linux-glibc217-x86_64/blender(_ZN15GHOST_SystemX1120refreshXInputDevicesEv+0x16e) [0x3227c4e]
./blender-2.81-linux-glibc217-x86_64/blender(_ZN15GHOST_SystemX11C1Ev+0x43b) [0x322827b]
./blender-2.81-linux-glibc217-x86_64/blender(_ZN13GHOST_ISystem12createSystemEv+0x35) [0x32250c5]
./blender-2.81-linux-glibc217-x86_64/blender(GHOST_CreateSystem+0x9) [0x3224149]
./blender-2.81-linux-glibc217-x86_64/blender(wm_ghost_init+0x2d) [0x16c694d]
./blender-2.81-linux-glibc217-x86_64/blender(WM_init+0x27d) [0x16b28ed]
./blender-2.81-linux-glibc217-x86_64/blender(main+0x280) [0x1237f00]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8158acd1e3]
./blender-2.81-linux-glibc217-x86_64/blender() [0x12c849c]

Exact steps for others to reproduce the error

(0) Log onto laptop. Have laptop go into sleep/wake.

(1) Have the HP G2 stylus NOT yet connected.

(2) Start Blender 2.8x ... all is ok.

(2) Connect HP G2 stylus via Bluetooth.

(3) Blender immediately core dumps the instant you get the "stylus connected" message . Try to start blender again, it will not run (immediate crash on start)

 $ blender --debug-gpu --debug-gpu-shaders --factory-startup &> startup-log.txt

Segmentation fault (core dumped)

$ cat startup-log.txt

 Writing: blender.crash.txt

(4) Remove and re-add wacom module

$sudo modprobe wacom -r

$sudo modprobe wacom

(5) start blender (works).

This might be an issue that you might feel is more of a wacom, i2c_hid, BIOS, or core kernel issue, but I'm reporting it here because blender 2.8x is the only program I've found that crashes in this way. Blender 2.7x on the exact same system does not crash under similar conditions when the HP G2 stylus connects so it's something unique to Blender 2.8x.

Details

Type
Bug

Related Objects

Event Timeline