Android Studio Causes System Freeze

Hi there,

I’m experiencing a strange problem that I haven’t been able to debug or investigate further.

When I open Android Studio, the entire system freezes. I can’t use my keyboard at all (no SysRq keys or TTY switching).

I haven’t found any indication of a kernel error in the logs.
Do you have any suggestions on how I can investigate this further?

Here is my system configuration:

Android-Studio:

Android Studio Otter 2 Feature Drop | 2025.2.2 Patch 1
Build #AI-252.27397.103.2522.14617522, built on December 19, 2025
Runtime version: 21.0.8+-14196175-b1038.72 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.18.2-1-default
openSUSE Tumbleweed; glibc: 2.42
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 24
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  org.jetbrains.completion.full.line (252.27397.103)
  com.intellij.marketplace (252.27397.151)
  Dart (500.0.0)
  com.github.b3er.idea.plugins.arc.browser (0.32)
  IdeaVIM (2.27.2)
  com.intellij.settingsSync (252.27397.28)
  io.flutter (88.2.0)
Current Desktop: KDE
System:
  Host: susi Kernel: 6.18.2-1-default arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.5.4 Distro: openSUSE Tumbleweed 20251227
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME X670E-PRO WIFI v: Rev 1.xx
    serial: <superuser required> Firmware: UEFI vendor: American Megatrends
    v: 3602 date: 11/13/2025
CPU:
  Info: 12-core AMD Ryzen 9 9900X [MT MCP] speed (MHz): avg: 4391
    min/max: 614/5662
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] driver: nvidia v: 580.119.02
  Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: modesetting,vesa gpu: nvidia,nvidia-nvswitch
    resolution: 2560x1440~60Hz
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.119.02
    renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
Drives:
  Local Storage: total: 1.82 TiB used: 585.19 GiB (31.4%)
Info:
  Memory: total: 64 GiB available: 62.44 GiB used: 4.13 GiB (6.6%)
  Processes: 579 Uptime: 0h 0m Shell: Zsh inxi: 3.3.40

What I’ve tried so far (without success):

  • Using X11
  • Disabling Nvidia Drivers
  • Reinstalling Android SDK and Android Studio
  • SSH from a remote machine to get more logs

Can you please point me in the right direction or give me more hints on debugging this?

here is a sample of the kernel logs before the crash:

sudo journalctl -b -1 -p 3

Dez 28 23:31:32 susi kernel: intel_rapl_common: Found RAPL domain core
Dez 28 23:31:32 susi kernel: mt7921e 0000:0a:00.0: HW/SW Version: 0x8a108a10, Build Time: 20251118163143a
Dez 28 23:31:32 susi kernel: mt7921e 0000:0a:00.0: WM Firmware Version: ____000000, Build Time: 20251118163234
Dez 28 23:31:32 susi kernel: Bluetooth: hci0: Device setup in 181164 usecs
Dez 28 23:31:32 susi kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
Dez 28 23:31:32 susi kernel: usbcore: registered new interface driver snd-usb-audio
Dez 28 23:31:32 susi kernel: uvcvideo 3-2.4:1.0: Found UVC 1.00 device HD Pro Webcam C920 (046d:082d)
Dez 28 23:31:32 susi kernel: usbcore: registered new interface driver uvcvideo
Dez 28 23:31:33 susi kernel: Bluetooth: hci0: AOSP extensions version v1.00
Dez 28 23:31:33 susi kernel: Bluetooth: hci0: AOSP quality report is supported
Dez 28 23:31:33 susi systemd-journald[913]: Received client request to flush runtime journal.
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="cam" pid=1344 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=1336 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="epiphany" pid=1352 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ch-checkns" pid=1345 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="evolution" pid=1353 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="brave" pid=1341 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="devhelp" pid=1350 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="busybox" pid=1343 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="chromium" pid=1348 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: audit: type=1400 audit(1766961093.356:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="balena-etcher" pid=1339 comm="apparmor_parser"
Dez 28 23:31:33 susi kernel: mt7921e 0000:0a:00.0 wlp10s0: renamed from wlan0
Dez 28 23:31:35 susi kernel: Key type trusted registered
Dez 28 23:31:35 susi kernel: SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
Dez 28 23:31:35 susi kernel: XFS (dm-3): Mounting V5 Filesystem 7e9a4abd-f8fd-467c-b7da-9cd23dc4f46d
Dez 28 23:31:35 susi kernel: XFS (dm-3): Ending clean mount
Dez 28 23:31:36 susi kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Dez 28 23:31:36 susi kernel: Bluetooth: BNEP filters: protocol multicast
Dez 28 23:31:36 susi kernel: Bluetooth: BNEP socket layer initialized
Dez 28 23:31:36 susi kernel: Bluetooth: MGMT ver 1.23
Dez 28 23:31:36 susi kernel: NET: Registered PF_ALG protocol family
Dez 28 23:31:36 susi kernel: nvme nvme0: using unchecked data buffer
Dez 28 23:31:36 susi kernel: vboxdrv: Found 24 processor cores/threads
Dez 28 23:31:36 susi kernel: vboxdrv: TSC mode is Invariant, tentative frequency 4391706684 Hz
Dez 28 23:31:36 susi kernel: vboxdrv: Successfully loaded version 7.2.4 r170995 (interface 0x00340001)
Dez 28 23:31:36 susi kernel: NET: Registered PF_QIPCRTR protocol family
Dez 28 23:31:36 susi kernel: VBoxNetFlt: Successfully started.
Dez 28 23:31:36 susi kernel: VBoxNetAdp: Successfully started.
Dez 28 23:31:36 susi kernel: Realtek Internal NBASE-T PHY r8169-0-900:00: attached PHY driver (mii_bus:phy_addr=r8169-0-900:00, irq=MAC)
Dez 28 23:31:36 susi kernel: r8169 0000:09:00.0 eno1: Link is Down
Dez 28 23:31:39 susi kernel: r8169 0000:09:00.0 eno1: Link is Up - 1Gbps/Full - flow control rx/tx
Dez 28 23:31:39 susi kernel: NET: Registered PF_PACKET protocol family
Dez 28 23:31:39 susi kernel: netfs: FS-Cache loaded
Dez 28 23:31:39 susi kernel: Key type dns_resolver registered
Dez 28 23:31:39 susi kernel: Key type cifs.spnego registered
Dez 28 23:31:39 susi kernel: Key type cifs.idmap registered
Dez 28 23:31:39 susi kernel: CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) spe>
Dez 28 23:31:39 susi kernel: CIFS: enabling forceuid mount option implicitly because uid= option is specified
Dez 28 23:31:39 susi kernel: CIFS: enabling forcegid mount option implicitly because gid= option is specified
Dez 28 23:31:39 susi kernel: CIFS: Attempting to mount //raspi-nas/sanny
Dez 28 23:31:45 susi kernel: CIFS: VFS: Error connecting to socket. Aborting operation.
Dez 28 23:31:45 susi kernel: CIFS: VFS: cifs_mount failed w/return code = -113
Dez 28 23:31:46 susi kernel: usb 3-2.4: reset high-speed USB device number 5 using xhci_hcd
Dez 28 23:31:47 susi kernel: Bluetooth: RFCOMM TTY layer initialized
Dez 28 23:31:47 susi kernel: Bluetooth: RFCOMM socket layer initialized
Dez 28 23:31:47 susi kernel: Bluetooth: RFCOMM ver 1.11
Dez 28 23:31:47 susi kernel: input: solaar-keyboard as /devices/virtual/input/input24
Dez 28 23:31:47 susi kernel: warning: `kdeconnectd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
Dez 28 23:36:53 susi kernel: NOTICE: Automounting of tracing to debugfs is deprecated and will be removed in 2030
Dez 28 23:40:19 susi kernel: /proc/cgroups lists only v1 controllers, use cgroup.controllers of root cgroup for v2 info
Dez 28 23:41:36 susi kernel: BTRFS info (device dm-0): qgroup scan completed (inconsistency flag cleared)

@matt-hires Hi, is this the tarball or flatpak version?

@malcolmlewis
The tarball version.

Additional Info:
It is working perfectly fine on my thinkpad laptop with the same OpenSuse Tumbleweed and Kernel Version.

I also tried to use the LTS Kernel.

Just tried the flatpak version - also freezes the system.

I remember a similar experience. Iirc it wasn’t really freezing the whole system but killing all access to USB (which is almost a freeze since none of my input devices would work anymore).

Hmmm… that could also be issue in my case.

How did you solve it?

I think I solved it by withdrawing USB access via Flatseal. I might be mistaking, though, it’s been a while.

Another test:

it also happens with an opensuse-tumbleweed-live-system as well as an manjaro-live-system.

so i guess it’s a bios/hardware issue?

Hi!

I have the same issue after update Android Studio:

Android Studio Otter 2 Feature Drop | 2025.2.2 Patch 1
Build #AI-252.27397.103.2522.14617522, built on December 19, 2025
Runtime version: 21.0.8+-14196175-b1038.72 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.12.63-1-manjaro
Manjaro Linux; glibc: 2.42
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  Lombook Plugin (252.27397.28)
  com.squareup.sqldelight (2.2.1)
Current Desktop: KDE
Operating System: Manjaro Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.12.63-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700 8-Core Processor
Memory: 32 GiB of RAM (30.5 GiB usable)
Graphics Processor 1: AMD Radeon RX 9060 XT
Graphics Processor 2: AMD Ryzen 7 7700 8-Core Processor
Manufacturer: ASUS

Downgrade Android Studio to previously version didn’t help me. I think it’s a system freeze and not a USB problem because the text cursor in the window stops blinking.
Log before freeze:

дек 30 11:03:53 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:03:53 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:04:14 H8 kwin_wayland[1443]: XCB error: 3 (BadWindow), sequence: 10331, resource id: 20978036, major code: 129 (SHAPE), minor code: 5 (Extents)
дек 30 11:04:14 H8 kwin_wayland[1443]: XCB error: 3 (BadWindow), sequence: 10332, resource id: 20978036, major code: 129 (SHAPE), minor code: 5 (Extents)
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:04:28 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:09 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:13 H8 kwin_wayland[1443]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:22 H8 plasmashell[1710]: The requested buffer size is too big, ignoring
дек 30 11:05:31 H8 systemd[1382]: Started Dolphin - Диспетчер файлов.
дек 30 11:05:38 H8 kwin_wayland[1443]: XCB error: 3 (BadWindow), sequence: 11451, resource id: 20982633, major code: 129 (SHAPE), minor code: 5 (Extents)
дек 30 11:05:38 H8 kwin_wayland[1443]: XCB error: 3 (BadWindow), sequence: 11452, resource id: 20982633, major code: 129 (SHAPE), minor code: 5 (Extents)

Problem is the Android SDK.

Try to remove the installed SDK folder on $HOME/Android/Sdk and android studio will work without freezing.
(you have to cancel the “install android sdk” wizard on startup)

When you start adb start-server from shell - which also android studio does in the background - it freezes the whole system on my side.

I am now trying to install a previous version from android sdk.

Edit:

When you start adb start-server from shell - which also android studio does in the background - it freezes the whole system on my side.

At least when “all needed parts” of the android sdk are installed.

I am now trying to install a previous version from android sdk.

I am now trying to install android sdk parts manually one after the other, to check which one is responsible for the issue.

I found the problem, it is indeed adb from android platform-tools:

The problem was introduced with the last update from 36.0.0 → 36.0.2
(There are no release notes for this update, so I can not even tell what might have been changed)

On my system the update mentioned is now listed “available” as i rolled back to 36.0.0:

Reproduction

  1. run adb start-server
  2. wait 1-5min
  3. system will freeze completely as described in this post

I also tried to check the logs of adb:
env ADB_TRACE=all adb logcat

without success … no logmessages when the system freezes.

Fix

Assuming your Android-Sdk is in the default location: $HOME/Android/Sdk

  1. Download 36.0.0 Platform-Tools from https://dl.google.com/android/repository/platform-tools-latest-linux.zip (be careful, “latest” currently points to 36.0.0, which might not be the case in the future)
  2. Remove platform-tools folder from $HOME/Android/Sdk/platform-tools
  3. unzip downloaded platform:
    unzip platform-tools-latest-linux.zip -d ~/Android/Sdk

This is my currently working installation of Android-Sdk:

❯ sdkmanager --list_installed
[=======================================] 100% Fetch remote repository...
Installed packages:
  Path                                                  | Version       | Description                                | Location
  -------                                               | -------       | -------                                    | -------
  build-tools;35.0.1                                    | 35.0.1        | Android SDK Build-Tools 35.0.1             | build-tools/35.0.1
  build-tools;36.1.0                                    | 36.1.0        | Android SDK Build-Tools 36.1               | build-tools/36.1.0
  cmake;4.1.2                                           | 4.1.2         | CMake 4.1.2                                | cmake/4.1.2
  cmdline-tools;latest                                  | 19.0          | Android SDK Command-line Tools (latest)    | cmdline-tools/latest
  emulator                                              | 36.3.10       | Android Emulator                           | emulator
  ndk;28.2.13676358                                     | 28.2.13676358 | NDK (Side by side) 28.2.13676358           | ndk/28.2.13676358
  ndk;29.0.14206865                                     | 29.0.14206865 | NDK (Side by side) 29.0.14206865           | ndk/29.0.14206865
  platform-tools                                        | 36.0.0        | Android SDK Platform-Tools 36              | platform-tools
  platforms;android-35                                  | 2             | Android SDK Platform 35                    | platforms/android-35
  platforms;android-35-ext15                            | 1             | Android SDK Platform 35-ext15              | platforms/android-35-ext15
  platforms;android-36.1                                | 1             | Android SDK Platform 36.1                  | platforms/android-36.1
  sources;android-35                                    | 1             | Sources for Android 35                     | sources/android-35
  sources;android-36.1                                  | 1             | Sources for Android 36.1                   | sources/android-36.1
  system-images;android-35;google_apis;x86_64           | 9             | Google APIs Intel x86_64 Atom System Image | system-images/android-35/google_apis/x86_64
  system-images;android-35;google_apis_playstore;x86_64 | 9             | Google Play Intel x86_64 Atom System Image | system-images/android-35/google_apis_playstore/x86_64

@h8leet please let me know if this also fixes the problem on your side

2 Likes

@matt-hires thank you!

I also downgraded the platform-tools to the 36.0.0 version before your message and the freezing issue seems to have been resolved. Working with the running adb server for 30 minutes now.

1 Like

@h8leet

Can you please also press the +1 Button in:
https://issuetracker.google.com/issues/472398009

to indicate that you’re affected.

thx

1 Like

@matt-hires sorry for long reaction. I vote for issue just now.