Operating system: Linux Mint 19 Cinnamon
Graphics card: Gigabyte Radeon RX580 8GB
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f54494e, type: Release
Description of error
Blender causes the whole OS to lock up and become unresponsive when toggling X-ray view on an off. The keyboard, mouse and screen all freeze, but if there's music in the background it will continue playing for a minute or two until it cuts off too. So far i've been able to reproduce this bug consistently with a certain .blend file but sadly i cannot attach it to this report as i'm under NDA. I have however attached photos of the terminal window with the --debug-all flag on to hopefully shed some light on what's actually going on. I'm using a custom keymap where the view3d.toggle_xray operator is bound to the "`" key (ACCENT_GRAVE). The objects in the scene were imported from FreeCAD and are named "Part__Feature001"... and so on.