Java based application crash in Gnome

I've been using Manjaro for some time now, I love it. I used the Android IDE(which is Intellij basically) from AUR and IntelliJ IDEA from flathub. All worked perfectly until yesterday.

For some reason when I open IntelliJ IDEA or Android IDE my screen either like somehow restarts or logs me completely out.

It is very strange and I don't really know what could cause this problem.

I have manjaro gnome edition, I use open JDK 12 but I tried with Open JDK 8 aswell.
I did update the system and I think that broke it somehow but it is really strange that even the flatpak version breaks.

If you guys have any suggestions on how to fix this, it would be very much appreciated.

Apparently all apps that need java have the same problem.

Reinstall the aur packages.

Run from a terminal - any errors?

Check your logs for errors.

I reinstaled from aur, I reinstaled from flathub. I switch java versions. Same effect. Any program that needs the Java virtual machine will cause the gnome to crash.

iul 19 14:47:36 dellBox dbus-daemon[593]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
iul 19 14:47:36 dellBox seahorse[3087]: DNS-SD initialization failed: Daemon not running
iul 19 14:47:36 dellBox dbus-daemon[1058]: [session uid=1000 pid=1058] Activating service name='org.gnome.seahorse.Application' requested by ':1.87' (uid=1000 pid=2395 comm="/usr/bin/gnome-shell ")
iul 19 14:47:36 dellBox dbus-daemon[1058]: [session uid=1000 pid=1058] Successfully activated service 'org.gnome.Notes.SearchProvider'
iul 19 14:47:36 dellBox bijiben-shell-s[3086]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
iul 19 14:47:36 dellBox bijiben-shell-s[3086]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
iul 19 14:47:36 dellBox dbus-daemon[1058]: [session uid=1000 pid=1058] Successfully activated service 'org.gnome.seahorse.Application'
iul 19 14:47:36 dellBox dbus-daemon[593]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.435' (uid=1000 pid=3186 comm="/usr/bin/seahorse --gapplication-service ")
iul 19 14:47:36 dellBox dbus-daemon[593]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
iul 19 14:47:36 dellBox seahorse[3186]: DNS-SD initialization failed: Daemon not running
iul 19 14:47:36 dellBox gnome-shell[2395]: Received error from DBus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
iul 19 14:47:36 dellBox gnome-shell[2395]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 1 but got 0
iul 19 14:47:36 dellBox dbus-daemon[1058]: [session uid=1000 pid=1058] Successfully activated service 'org.manjaro.pamac.manager'
iul 19 14:47:38 dellBox keystore-explorer.desktop[2395]: WARNING: An illegal reflective access operation has occurred
iul 19 14:47:38 dellBox keystore-explorer.desktop[2395]: WARNING: Illegal reflective access by org.kse.KSE (file:/usr/lib/keystore-explorer/kse.jar) to field sun.awt.X11.XToolkit.awtAppClassName
iul 19 14:47:38 dellBox keystore-explorer.desktop[2395]: WARNING: Please consider reporting this to the maintainers of org.kse.KSE
iul 19 14:47:38 dellBox keystore-explorer.desktop[2395]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
iul 19 14:47:38 dellBox keystore-explorer.desktop[2395]: WARNING: All illegal access operations will be denied in a future release
iul 19 14:47:48 dellBox org.gnome.Notes.SearchProvider[1058]: Unable to load location /home/mike/.local/share/bijiben: Error opening directory '/home/mike/.local/share/bijiben': No such file or directory
iul 19 14:48:04 dellBox audit[2395]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=2395 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=11 res=1
iul 19 14:48:04 dellBox kernel: gnome-shell[2395]: segfault at 18 ip 00007f8abe3fc4f1 sp 00007ffc7098bcd0 error 4 in libmutter-4.so.0.0.0[7f8abe3b1000+cd000]
iul 19 14:48:04 dellBox kernel: Code: 18 ff 15 ba 3d 0e 00 e9 5a ff ff ff 0f 1f 44 00 00 48 8b 7b 18 44 89 e6 ff 15 83 3a 0e 00 48 8b 75 38 48 c7 04 24 00 00 00 00 <48> 8b 46 18 48 8b b8 28 02 00 00 e8 3f ec 01 00 48 89 c3 48 85 c0
iul 19 14:48:04 dellBox kernel: audit: type=1701 audit(1563536884.651:113): auid=1000 uid=1000 gid=1000 ses=2 pid=2395 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=11 res=1
iul 19 14:48:04 dellBox polkitd[601]: Unregistered Authentication Agent for unix-session:2 (system bus name :1.365, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
iul 19 14:48:04 dellBox gnome-session[1060]: gnome-session-binary[1060]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
iul 19 14:48:04 dellBox gnome-session-binary[1060]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
iul 19 14:48:04 dellBox gsd-media-keys[1221]: g_variant_get_va: assertion 'value != NULL' failed
iul 19 14:48:04 dellBox gsd-media-keys[1221]: g_variant_unref: assertion 'value != NULL' failed
iul 19 14:48:05 dellBox gnome-shell[3276]: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
iul 19 14:48:05 dellBox /usr/lib/gdm-x-session[1049]: The XKEYBOARD keymap compiler (xkbcomp) reports:
iul 19 14:48:05 dellBox /usr/lib/gdm-x-session[1049]: > Warning:          Unsupported high keycode 372 for name <I372> ignored
iul 19 14:48:05 dellBox /usr/lib/gdm-x-session[1049]: >                   X11 cannot support keycodes above 255.
iul 19 14:48:05 dellBox /usr/lib/gdm-x-session[1049]: >                   This warning only shows for the first high keycode.
iul 19 14:48:05 dellBox /usr/lib/gdm-x-session[1049]: > Internal error:   Could not resolve keysym XF86MonBrightnessCycle
iul 19 14:48:05 dellBox /usr/lib/gdm-x-session[1049]: > Internal error:   Could not resolve keysym XF86RotationLockToggle
iul 19 14:48:05 dellBox /usr/lib/gdm-x-session[1049]: Errors from xkbcomp are not fatal to the X server
iul 19 14:48:05 dellBox dbus-daemon[593]: [system] Activating via systemd: service name='org.freedesktop.GeoClue2' unit='geoclue.service' requested by ':1.437' (uid=1000 pid=3276 comm="/usr/bin/gnome-shell ")
iul 19 14:48:05 dellBox systemd[1]: Starting Location Lookup Service...
iul 19 14:48:05 dellBox polkitd[601]: Registered Authentication Agent for unix-session:2 (system bus name :1.437 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
iul 19 14:48:05 dellBox dbus-daemon[593]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.443' (uid=974 pid=3300 comm="/usr/lib/geoclue ")
iul 19 14:48:05 dellBox dbus-daemon[593]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
iul 19 14:48:05 dellBox geoclue[3300]: Failed to connect to avahi service: Daemon not running
iul 19 14:48:05 dellBox dbus-daemon[593]: [system] Successfully activated service 'org.freedesktop.GeoClue2'
iul 19 14:48:05 dellBox systemd[1]: Started Location Lookup Service.
iul 19 14:48:05 dellBox audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
iul 19 14:48:05 dellBox kernel: audit: type=1130 audit(1563536885.471:114): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
iul 19 14:48:05 dellBox gnome-shell[3276]: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
iul 19 14:48:05 dellBox gnome-shell[3276]: JS ERROR: Could not load extension appfolders-manager@maestroschan.fr: Error: Missing metadata.json
                                           createExtensionObject@resource:///org/gnome/shell/misc/extensionUtils.js:169:15
                                           _loadExtension@resource:///org/gnome/shell/misc/extensionUtils.js:239:25
                                           scanExtensions/<@resource:///org/gnome/shell/misc/extensionUtils.js:250:13
                                           collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:25:17
                                           scanExtensions@resource:///org/gnome/shell/misc/extensionUtils.js:249:9
                                           _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:326:5
                                           enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:334:9
                                           _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:365:9
                                           init@resource:///org/gnome/shell/ui/extensionSystem.js:373:5
                                           _initializeUI@resource:///org/gnome/shell/ui/main.js:215:5
                                           start@resource:///org/gnome/shell/ui/main.js:124:5
                                           @<main>:1:31
iul 19 14:48:05 dellBox gnome-shell[3276]: loading user theme: /usr/share/themes/Arc-Dark/gnome-shell/gnome-shell.css
iul 19 14:48:05 dellBox gnome-shell[3276]: length values must specify a unit
iul 19 14:48:05 dellBox gnome-shell[3276]: length values must specify a unit
iul 19 14:48:06 dellBox NetworkManager[594]: <info>  [1563536886.0517] agent-manager: req[0x5583a8c0a700, :1.437/org.gnome.Shell.NetworkAgent/1000]: agent registered
iul 19 14:48:06 dellBox gnome-shell[3276]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
iul 19 14:48:06 dellBox org.gnome.Shell.desktop[3276]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
iul 19 14:48:07 dellBox gnome-shell[3276]: GNOME Shell started at Fri Jul 19 2019 14:48:05 GMT+0300 (EEST)
iul 19 14:49:05 dellBox geoclue[3300]: Service not used for 60 seconds. Shutting down..
iul 19 14:49:05 dellBox systemd[1]: geoclue.service: Main process exited, code=killed, status=15/TERM
iul 19 14:49:05 dellBox systemd[1]: geoclue.service: Succeeded.
iul 19 14:49:05 dellBox audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
iul 19 14:49:05 dellBox kernel: audit: type=1131 audit(1563536945.401:115): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

THis is journalctl logs from the moment I opened an app and my gnome session restarted(in lack of a better term).

Let me reboot into Gnome. Are you using wayland or xorg?

I use xorg.

OK just finishing an update, then will reboot to Gnome xorg.

No problems loading the repo version of intellij:

DO you use openJdk ?

 1 core/ca-certificates-utils 20181109-1 [installed]
  8 extra/gjs 2:1.56.2-1 [installed]
 15 extra/java-environment-common 3-1 [installed]
 28 extra/java-runtime-common 3-1 [installed]
 33 extra/jdk8-openjdk 8.u222-2 [installed]
 42 extra/jre8-openjdk 8.u222-2 [installed]
 43 extra/jre8-openjdk-headless 8.u222-2 [installed]
 45 extra/js60 60.8.0-1 [installed]

Appears to be the relevant bits installed, I am an emacs user, so am a bit lost with intellij.

I use multiple monitors. AND apparently I can reproduce the issue only when the external monitors are connected. I am starting to think it is more of a driver issue.

I have an integrated video card and a dedicated nvidia card so I have optimus tehnology on my laptop.

In Manjaro Settings I can see that I have instaled "video-linux". I assume that is the open source drivers.

There are tons of tutorials on how to set up optimus on linux all of them are very outdated.

Is there a tutorial I could use to maybe better set up this Optimus tehnologi? Keep in mind that I don't really need the nvidia card. This is mostly a work laptop. If I can have it gread, but it is not mandatory for me

Works in wayland as well.

I was also coming to the conclusion that this problem is a symptom of something else.

I know diddly squat about nVidia, sorry

I found this repo: https://github.com/dglt1/optimus-switch-gdm
Seems to be maintained and the scrip worked fine. Everything seems to be back to normal now.

1 Like

I've got the same Error using Android Studio with a dual monitor setup and Nvidia GeForce GTX 560 Ti.

lspci -v tells me, that I'm using the nvidia driver

Downgrading mutter to version 3.32.2+11+ga3a97621b-1 fixed it.

https://bbs.archlinux.org/viewtopic.php?id=247755

2 Likes

This is what worked for me in the end. Thnx for the info

Hey! I joined the forums just to say I am hitting this too with PyCharm (Java based IntelliJ IDE).

  • Kernel: 4.19.59-1-MANJARO
  • Displays: Dual 4k monitors
  • Graphics Card: Intel iGPU
  • CPU: Intel i3-8100
  • mutter: 3.32.2+40+gccab0f470-1
  • Windowing System: x11
[  913.416981] gnome-shell[2789]: segfault at 18 ip 00007ffb13b794f1 sp 00007fff56974e90 error 4 in libmutter-4.so.0.0.0[7ffb13b2e000+cd000]

WARNING.
If you have downgraded mutter package and update gnome-shell to 3.32.2+11+g1c6abf378 you'll encounter this bug:

Failed to get current display configuration state: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist

Failed to get current display configuration state: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
Unrecoverable failure in required component org.gnome.Shell.desktop

Which makes your system pretty broken.
Keep it version 3.32.2+6+g8b9874089
Or update both.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by