Image2Map

Image2Map

66k Downloads

Crash when closing display server and generating an image

ISSOtm opened this issue ยท 2 comments

commented

I can run the following steps to reliably crash the server:

  1. Start my X server (graphical server)
  2. Start the Minecraft server (in my case, using screen)
  3. Shut down the X server
  4. Try to generate an image: crash-2022-05-18_16.39.43-server.txt

Since starting the server before launching X11 works fine (both with it on and off), it appears that image2map detects whether a GUI is present at startup and expects it to persist if found.

commented

It's java's behaviour, can't be fixed without changing image library (through not sure if there is an alternative)

commented

A cursory look at the API indicates that a workaround just might be possible. Can you point me at where the Image is being created?