Desktop environment crashes when working in Intellij IDEA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity (Ubuntu) |
Confirmed
|
Undecided
|
Unity7 Maintainers Team |
Bug Description
Happens sporadically while I'm working on kotlin code in Intellij IDEA (2020.3.2) doing anything: navigating around my code or trying to create a new project.
My setup:
laptop + external monitor (dual monitor mode).
Ubuntu 20.04.2 LTS
You can find the logged errors in the syslog snippet below.
$ apt-cache policy compiz
compiz:
Installed: 1:0.9.14.
$ apt-cache policy unity
unity:
Installed: 7.5.0+20.
## syslog output:
```
Mar 10 23:48:26 hud-service[3768]: #033[31mvoid DBusMenuImporte
Mar 10 23:48:44 unity-panel-
Mar 10 23:48:48 hud-service[3768]: #033[31mvoid DBusMenuImporte
Mar 10 23:48:54 compiz[3508]: ERROR 2021-03-10 23:48:54 unity.decoratio
Mar 10 23:48:54 kernel: [68000.270753] compiz[3508]: segfault at 8 ip 00007f7d8705903a sp 00007ffc2f725770 error 4 in libunityshell.
Mar 10 23:48:54 kernel: [68000.270767] Code: 02 00 00 48 89 93 48 02 00 00 48 85 ff 74 1b e8 9c b6 f5 ff 48 8b 7c 24 28 48 85 ff 74 05 e8 8d b6 f5 ff 48 8b 83 40 02 00 00 <48> 8b 50 08 48 39 50 10 0f 84 1c 01 00 00 4c 8b 32 4d 85 f6 0f 84
Mar 10 23:48:54 systemd[2928]: Starting Notification regarding a crash report...
Mar 10 23:48:54 update-
Mar 10 23:48:54 systemd[2928]: update-
```
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: unity 7.5.0+20.
ProcVersionSign
Uname: Linux 5.8.0-44-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 450.102.04 Tue Dec 29 06:51:23 UTC 2020
GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1
.tmp.unity_
ApportVersion: 2.20.11-
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity:Unity7:ubuntu
Date: Wed Mar 10 23:56:47 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
GraphicsCard:
Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (prog-if 00 [VGA controller])
Subsystem: Lenovo UHD Graphics 630 (Mobile) [17aa:229f]
NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f91] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Lenovo TU117M [GeForce GTX 1650 Mobile / Max-Q] [17aa:229f]
InstallationDate: Installed on 2020-07-15 (238 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: LENOVO 20QVCTO1WW
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/06/2020
dmi.bios.release: 1.34
dmi.bios.vendor: LENOVO
dmi.bios.version: N2OET47W (1.34 )
dmi.board.
dmi.board.name: 20QVCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0R32862 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Extreme 2nd
dmi.product.name: 20QVCTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
modified.
mtime.conffile.
version.compiz: compiz 1:0.9.14.
version.libdrm2: libdrm2 2.4.102-
version.
version.
version.
version.
version.
version.
version.
version.
description: | updated |
description: | updated |
Changed in unity (Ubuntu): | |
assignee: | nobody → Unity7 Maintainers Team (unity7maintainers) |
WORKAROUND:
Just patch your libunityshell.so (for me, located at /usr/lib/ x86_64- linux-gnu/ compiz/ libunityshell. so). adowQuad and change its first instruction into "ret" using a reverse engineering hex editor of your choice. e.cpp:73 but failed to do so. Unity 7 seems to be abandoned or something, that's really strange considering I'm using Ubuntu 20 LTS.
Among symbols of this library find ComputeShapedSh
DISCLAIMER: I did not check the code there in depth, so I cannot guarantee that this solution won't create a memory leak or something else. But for me it did fix the problem.
I actually tried to find source code of DecorationsShap