Esta manhã o IntelliJ foi atualizado da versão 2023.3 para 2024.1 e desde então não funciona mais. Estou usando o Ubuntu 22.04.
Quando tento executá-lo, ele abre por alguns segundos e, em seguida, TODOS os aplicativos em execução, exceto o terminal, são fechados.
Não consigo ver nada particularmente interessante em idea.log:
[removed this very long log from the question because it did not contain anything related to the issue]
Tentei:
- Reinicializando o computador
- Desinstalando e reinstalando o IntelliJ
- Baixando e executando o IntelliJ 2023.3 novamente
- Desativando o OOM killer: Como desabilito o systemd OOM process killer no Ubuntu 22.04?
- Renomeando os diretórios IntelliJ Configuration/Plugins/System conforme listado aqui: https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings -caches-plugins-e-logs?page=3
A única coisa que funcionou foi executar o IntelliJ como root em vez de como eu mesmo, mas não quero fazer isso a menos que seja o último recurso.
Aí eu olhei /var/log/syslog
e lá encontrei isso:
systemd[3656]: Started snap.intellij-idea-ultimate.intellij-idea-ultimate-f57e7f9d-943c-4fd7-a013-2536fe031f75.scope.
gnome-shell[45831]: malloc(): unaligned tcache chunk detected
gnome-shell[45831]: (EE)
gnome-shell[45831]: (EE) Backtrace:
gnome-shell[45831]: (EE) 0: /usr/bin/Xwayland (0x5a5623050000+0x165369) [0x5a56231b5369]
gnome-shell[45831]: (EE) 1: /usr/bin/Xwayland (0x5a5623050000+0x165472) [0x5a56231b5472]
gnome-shell[45831]: (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7aa585e00000+0x42520) [0x7aa585e42520]
gnome-shell[45831]: (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+0x12c) [0x7aa585e969fc]
gnome-shell[45831]: (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (raise+0x16) [0x7aa585e42476]
gnome-shell[45831]: (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd3) [0x7aa585e287f3]
gnome-shell[45831]: (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7aa585e00000+0x89676) [0x7aa585e89676]
gnome-shell[45831]: (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (0x7aa585e00000+0xa0cfc) [0x7aa585ea0cfc]
gnome-shell[45831]: (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (0x7aa585e00000+0xa53dc) [0x7aa585ea53dc]
gnome-shell[45831]: (EE) 9: /usr/bin/Xwayland (0x5a5623050000+0xf9d92) [0x5a5623149d92]
gnome-shell[45831]: (EE) 10: /usr/bin/Xwayland (0x5a5623050000+0xa72ce) [0x5a56230f72ce]
gnome-shell[45831]: (EE) 11: /usr/bin/Xwayland (0x5a5623050000+0x34c63) [0x5a5623084c63]
gnome-shell[45831]: (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (0x7aa585e00000+0x29d90) [0x7aa585e29d90]
gnome-shell[45831]: (EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [0x7aa585e29e40]
gnome-shell[45831]: (EE) 14: /usr/bin/Xwayland (0x5a5623050000+0x36495) [0x5a5623086495]
gnome-shell[45831]: (EE)
gnome-shell[45831]: (EE)
gnome-shell[45831]: Fatal server error:
gnome-shell[45831]: (EE) Caught signal 6 (Aborted). Server aborting
gnome-shell[45831]: (EE)
gnome-shell[3923]: Connection to xwayland lost
pulseaudio[3715]: X11 I/O error handler called
google-chrome.desktop[45806]: [45913:45913:0405/133205.156084:ERROR:connection.cc(61)] X connection error received.
pulseaudio[3715]: X11 I/O error exit handler called, preparing to tear down X11 modules
gnome-shell[3923]: X Wayland crashed; attempting to recover
systemd[3656]: Stopped target GNOME session X11 services.
systemd[3656]: Stopping GNOME XSettings service...
systemd[3656]: org.gnome.SettingsDaemon.XSettings.service: Main process exited, code=exited, status=1/FAILURE
gnome-shell[3923]: Using public X11 display :0, (using :1 for managed services)
systemd[3656]: org.gnome.SettingsDaemon.XSettings.service: Failed with result 'exit-code'.
systemd[3656]: Stopped GNOME XSettings service.
systemd[3656]: Stopped target GNOME session X11 services.
systemd[3656]: app-gnome-google\x2dchrome-45799.scope: Consumed 5.204s CPU time.
systemd[3656]: snap.intellij-idea-ultimate.intellij-idea-ultimate-f57e7f9d-943c-4fd7-a013-2536fe031f75.scope: Consumed 26.830s CPU time.
Como o Wayland foi mencionado no rastreamento de pilha, tentei desativá-lo conforme descrito aqui: https://jumpcloud.com/support/troubleshooting-remote-assist-disable-wayland-or-gpu-rendering-for-linux
Isso só piorou o problema porque, além de todos os aplicativos travarem, agora eu também tive que entrar novamente no Ubuntu após a falha.
O novo rastreamento de pilha era bastante semelhante:
intellij-idea-ultimate_intellij-idea-ultimate.desktop[70499]: 2024-04-05 13:59:13,248 [ 1792] WARN - #c.i.s.ComponentManagerImpl - com.intellij.platform.ide.menu.GlobalMenuLinux <clinit> requests com.intellij.openapi.application.Experiments instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.
intellij-idea-ultimate_intellij-idea-ultimate.desktop[70499]: 2024-04-05 13:59:13,521 [ 2065] WARN - #c.i.e.t.TargetBasedSdks - SDK target configuration data is absent
intellij-idea-ultimate_intellij-idea-ultimate.desktop[70499]: 2024-04-05 13:59:13,526 [ 2070] WARN - #c.i.e.t.TargetBasedSdks - SDK target configuration data is absent
intellij-idea-ultimate_intellij-idea-ultimate.desktop[70499]: 2024-04-05 13:59:13,527 [ 2071] WARN - #c.i.e.t.TargetBasedSdks - SDK target configuration data is absent
intellij-idea-ultimate_intellij-idea-ultimate.desktop[70499]: 2024-04-05 13:59:14,056 [ 2600] WARN - #c.i.u.x.Binding - No accessors for java.awt.Color. This means that state class cannot be serialized properly. Please see https://jb.gg/ij-psoc
intellij-idea-ultimate_intellij-idea-ultimate.desktop[70499]: 2024-04-05 13:59:14,895 [ 3439] WARN - #c.i.s.ComponentManagerImpl - com.github.copilot.platform.state.ToolWindowRegistrationSettings <clinit> requests com.github.copilot.platform.state.ToolWindowRegistrationSettings instance. Class initialization must not depend on services. Consider using instance of the service on-demand in>
systemd[3656]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Scheduled restart job, restart counter is at 138.
systemd[3656]: Stopped Service for snap application snapd-desktop-integration.snapd-desktop-integration.
systemd[3656]: Started Service for snap application snapd-desktop-integration.snapd-desktop-integration.
snapd-desktop-i[70805]: Failed to do gtk init. Waiting for a new session with desktop capabilities.
/usr/libexec/gdm-x-session[55967]: malloc(): unaligned tcache chunk detected
/usr/libexec/gdm-x-session[55967]: (EE)
/usr/libexec/gdm-x-session[55967]: (EE) Backtrace:
/usr/libexec/gdm-x-session[55967]: (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x5b8231699ab9]
/usr/libexec/gdm-x-session[55967]: (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x7d49e1a42520]
/usr/libexec/gdm-x-session[55967]: (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+0x12c) [0x7d49e1a969fc]
/usr/libexec/gdm-x-session[55967]: (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (raise+0x16) [0x7d49e1a42476]
/usr/libexec/gdm-x-session[55967]: (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd3) [0x7d49e1a287f3]
/usr/libexec/gdm-x-session[55967]: (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (__fsetlocking+0x426) [0x7d49e1a89676]
/usr/libexec/gdm-x-session[55967]: (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (timer_settime+0x2cc) [0x7d49e1aa0cfc]
/usr/libexec/gdm-x-session[55967]: (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (malloc+0x33c) [0x7d49e1aa53dc]
/usr/libexec/gdm-x-session[55967]: (EE) 8: /usr/lib/xorg/Xorg (SetGlyphPicture+0x15d) [0x5b82315f311d]
/usr/libexec/gdm-x-session[55967]: (EE) 9: /usr/lib/xorg/Xorg (AddTraps+0x347a) [0x5b82315fb8da]
/usr/libexec/gdm-x-session[55967]: (EE) 10: /usr/lib/xorg/Xorg (SendErrorToClient+0x365) [0x5b8231523635]
/usr/libexec/gdm-x-session[55967]: (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x3c4) [0x5b82315276b4]
/usr/libexec/gdm-x-session[55967]: (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x90) [0x7d49e1a29d90]
/usr/libexec/gdm-x-session[55967]: (EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [0x7d49e1a29e40]
/usr/libexec/gdm-x-session[55967]: (EE) 14: /usr/lib/xorg/Xorg (_start+0x25) [0x5b8231510605]
/usr/libexec/gdm-x-session[55967]: (EE)
/usr/libexec/gdm-x-session[55967]: (EE)
/usr/libexec/gdm-x-session[55967]: Fatal server error:
/usr/libexec/gdm-x-session[55967]: (EE) Caught signal 6 (Aborted). Server aborting
/usr/libexec/gdm-x-session[55967]: (EE)
/usr/libexec/gdm-x-session[55967]: (EE)
/usr/libexec/gdm-x-session[55967]: Please consult the The X.Org Foundation support
/usr/libexec/gdm-x-session[55967]: #011 at http://wiki.x.org
/usr/libexec/gdm-x-session[55967]: for help.
/usr/libexec/gdm-x-session[55967]: (EE) Please also check the log file at "/home/jgosar/.local/share/xorg/Xorg.1.log" for additional information.
/usr/libexec/gdm-x-session[55967]: (EE)
/usr/libexec/gdm-x-session[55967]: (II) AIGLX: Suspending AIGLX clients for VT switch
snapd-desktop-i[70805]: Checking session /org/freedesktop/login1/session/_325...
snapd-desktop-i[70805]: Is a desktop session! Forcing a reload.
snapd-desktop-i[70805]: Loop exited. Forcing reload.
/usr/libexec/gdm-x-session[55967]: (EE) Server terminated with error (1). Closing log file.
/home/jgosar/.local/share/xorg/Xorg.1.log
não continha nenhuma informação útil
Alguém tem alguma dica sobre o que mais eu poderia tentar?