HotSUploader icon indicating copy to clipboard operation
HotSUploader copied to clipboard

[Linux] Crashing when pressing a button

Open riher opened this issue 6 years ago • 7 comments

When pressing one of the buttons on the right, the program freezes and can't be terminated without SIGKILL. There's no terminal output/log files I can find.

The error occurs on 2.1.5 and with a current dev-branch build.

I'm running an up-to-date Arch Linux 64bit.

$ java -version
openjdk version "1.8.0_162"
OpenJDK Runtime Environment (build 1.8.0_162-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)

riher avatar Mar 01 '18 18:03 riher

Which buttons specifically?

eivindveg avatar Mar 01 '18 20:03 eivindveg

Any of these three blue buttons on the right. I tested it again, though, and for the lower two it only happens once I put something into the inputs. So probably not the button press itself, but the form handling or server queries are the problem.

buttons

riher avatar Mar 02 '18 06:03 riher

Reviewing this tomorrow.

EDIT: Current assumption is that xdg-open might have issues with Wayland. Can you confirm your system is running Wayland, not X?

eivindveg avatar Apr 18 '18 12:04 eivindveg

Nope, running X11.

riher avatar Apr 22 '18 09:04 riher

Reproduced on Ubuntu 17.10 running Wayland. No log output of issue. Application hangs indefinitely and does not respond to normal SIGINT or SIGTERM. Will investigate why the xdg-open threads do no have timeouts or exception handling.

eivindveg avatar Apr 28 '18 12:04 eivindveg

@riher: Can you confirm that you are running a newer version of gnome shell? The issue seems to reside in the built-in desktop handling, not xdg-open.

For reference: LinuxService.java line 106 evaluates to true, whilst line 107 never returns, and has no effect other than completely hanging the application as the action is run on the application thread.

eivindveg avatar Apr 28 '18 12:04 eivindveg

I'm not running the complete gnome-shell, though parts of it are installed. Running a hodgepodge of a desktop based on lightdm + awesome wm. Tell me if I can further help you track down the error.

riher avatar Apr 30 '18 15:04 riher