Ubuntu 23.04 - Groovy Pad - Crash

Support for Ubuntu and other Desktop Linux distributions
Post Reply
vergs
Posts: 13
Joined: 27 Mar 2018, 01:23

Ubuntu 23.04 - Groovy Pad - Crash

Post by vergs »

I just upgraded Ubuntu to version 23.04, fresh install. When I run FileBot 5.0.2 and press F5 to launch Groovy Pad, so I may restore my preferences from backup, Ubuntu crashes back to the login screen.
vergs
Posts: 13
Joined: 27 Mar 2018, 01:23

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by vergs »

I ended up using terminal using the command here - viewtopic.php?t=4205

But still seems to be a bug with F5
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by rednoah »

:?: What does the sysinfo script say when you run it from console? (see link in my signature for details)


:arrow: Try running the GUI from console so you can see if there's any console output when it crashes.
:idea: Please read the FAQ and How to Request Help.
vergs
Posts: 13
Joined: 27 Mar 2018, 01:23

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by vergs »

[quote=rednoah post_id=59967 time=1682271926 user_id=54]
:?: What does the sysinfo script say when you run it from console? (see link in my signature for details)

FileBot 5.0.2 (r9722)
JNA Native: 6.1.4
MediaInfo: 22.12
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/45.0.0 AtomicParsley/0.9.6
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/snap.filebot/gvfs]
Script Bundle: 2023-04-14 (r896)
Groovy: 4.0.11
JRE: OpenJDK Runtime Environment 17.0.6
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 7 GB Max Memory / 116 MB Used Memory
OS: Linux (amd64)
HW: Linux Bren 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: AMD Ryzen 5 4600G with Radeon Graphics [MemTotal: 29 GB | MemFree: 24 GB | MemAvailable: 26 GB | SwapTotal: 8 GB | SwapFree: 8 GB]
STORAGE: NONE
UID/GID: uid=1000(vergs) gid=1000(vergs) groups=1000(vergs),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),100(users),118(lpadmin)
DATA: /home/vergs/snap/filebot/47/data
Package: SNAP
Confinement: Strict # Restricted File System Access
License: FileBot License Pxxxxxxxx (Valid-Until: 2023-11-16)
Done ヾ(@⌒ー⌒@)ノ
vergs
Posts: 13
Joined: 27 Mar 2018, 01:23

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by vergs »

:arrow: Try running the GUI from console so you can see if there's any console output when it crashes.
[/quote]

I located the following in syslog, not sure if this helps?

Code: Select all

2023-04-24T13:47:13.487438+10:00 Bren systemd[3968]: Started snap.filebot.filebot.25cddc59-7599-45f7-a47d-cd2c23cc1872.scope.
2023-04-24T13:47:13.542458+10:00 Bren kernel: [  348.340947] audit: type=1400 audit(1682308033.538:112): apparmor="DENIED" operation="open" class="file" profile="snap.filebot.filebot" name="/proc/cgroups" pid=10067 comm="java" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2023-04-24T13:47:13.542472+10:00 Bren kernel: [  348.341041] audit: type=1400 audit(1682308033.538:113): apparmor="DENIED" operation="open" class="file" profile="snap.filebot.filebot" name="/proc/10067/coredump_filter" pid=10067 comm="java" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
2023-04-24T13:47:13.542473+10:00 Bren kernel: [  348.341045] audit: type=1400 audit(1682308033.538:114): apparmor="DENIED" operation="open" class="file" profile="snap.filebot.filebot" name="/proc/10067/coredump_filter" pid=10067 comm="java" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
2023-04-24T13:47:13.718442+10:00 Bren kernel: [  348.515184] audit: type=1400 audit(1682308033.714:115): apparmor="DENIED" operation="open" class="file" profile="snap.filebot.filebot" name="/proc/10067/net/if_inet6" pid=10067 comm="java" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2023-04-24T13:47:15.998441+10:00 Bren kernel: [  350.795582] audit: type=1400 audit(1682308035.994:116): apparmor="DENIED" operation="open" class="file" profile="snap.filebot.filebot" name="/proc/10067/mounts" pid=10067 comm="java" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2023-04-24T13:47:16.006453+10:00 Bren kernel: [  350.804528] audit: type=1400 audit(1682308036.002:117): apparmor="DENIED" operation="open" class="file" profile="snap.filebot.filebot" name="/proc/10067/mounts" pid=10067 comm="java" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2023-04-24T13:47:17.344823+10:00 Bren systemd[3968]: snap.filebot.filebot.25cddc59-7599-45f7-a47d-cd2c23cc1872.scope: Consumed 9.462s CPU time.
2023-04-24T13:47:30.213367+10:00 Bren PackageKit: daemon quit
2023-04-24T13:47:30.217542+10:00 Bren systemd[1]: packagekit.service: Deactivated successfully.
2023-04-24T13:47:30.217687+10:00 Bren systemd[1]: packagekit.service: Consumed 8.798s CPU time.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by rednoah »

:?: No console output? Have you tried running filebot from Terminal so you can see the console output as it runs and crashes?


:idea: The Linux syslog indicates a java crash, but SNAP confinement has blocked java from writing a crash log. The console output would tell us more.


:?: Does it work if you install the traditional Debian package instead of the SNAP package?
:idea: Please read the FAQ and How to Request Help.
vergs
Posts: 13
Joined: 27 Mar 2018, 01:23

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by vergs »

rednoah wrote: 24 Apr 2023, 09:47 :?: No console output? Have you tried running filebot from Terminal so you can see the console output as it runs and crashes?

No, because when it crashes, it crashes out to the logon screen.

:idea: The Linux syslog indicates a java crash, but SNAP confinement has blocked java from writing a crash log. The console output would tell us more.


:?: Does it work if you install the traditional Debian package instead of the SNAP package?

I've tried both and the same result, as soon as you press F5, the system crashes straight out to the logon screen.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by rednoah »

You can run filebot and redirect console output directly to a file, so even if your Desktop Manager somehow crashes, hiding the console window before you can read the console output, you might be able to capture the console output like so, if there is any:

Code: Select all

filebot > "/path/to/log.txt" 2>&1

Other than that. No idea. FileBot crashing the Desktop Manager shouldn't be possible. Especially if running as a confined SNAP application. Please report the issue to the developers of your Desktop Manager - Gnome Shell? - since the root cause for the crash is likely there even if you can cause the crash with FileBot somehow.
:idea: Please read the FAQ and How to Request Help.
vergs
Posts: 13
Joined: 27 Mar 2018, 01:23

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by vergs »

rednoah wrote: 27 Apr 2023, 17:13 You can run filebot and redirect console output directly to a file, so even if your Desktop Manager somehow crashes, hiding the console window before you can read the console output, you might be able to capture the console output like so, if there is any:

Code: Select all

filebot > "/path/to/log.txt" 2>&1

Other than that. No idea. FileBot crashing the Desktop Manager shouldn't be possible. Especially if running as a confined SNAP application. Please report the issue to the developers of your Desktop Manager - Gnome Shell? - since the root cause for the crash is likely there even if you can cause the crash with FileBot somehow.

Log:


Apr 30, 2023 7:00:32 PM net.sf.ehcache.store.disk.DiskStorageFactory <init>
WARNING: The index for data file /home/vergs/snap/filebot/47/data/cache/0/script_classes_0.data is out of date, probably due to an unclean shutdown. Deleting index file /home/vergs/snap/filebot/47/data/cache/0/script_classes_0.index


Yes, Gnome.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ubuntu 23.04 - Groovy Pad - Crash

Post by rednoah »

That's just a FileBot error message you get on startup when FileBot didn't orderly close when it was running last time:

Code: Select all

Apr 30, 2023 7:00:32 PM net.sf.ehcache.store.disk.DiskStorageFactory <init>
WARNING: The index for data file /home/vergs/snap/filebot/47/data/cache/0/script_classes_0.data is out of date, probably due to an unclean shutdown. Deleting index file /home/vergs/snap/filebot/47/data/cache/0/script_classes_0.index

If the console output doesn't give us any new clues as to why things crash, then I'm out of ideas... Maybe the Gnome developers can give additional debug advice, since this kind of Gnome crash shouldn't be possible.
:idea: Please read the FAQ and How to Request Help.
Post Reply