Fails to start up on startup on Ubuntu 18.04 "Unrecognised option: -Xincgc"

Bug #1772244 reported by James Turner on 2018-05-20
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
freecol (Ubuntu)
High
Unassigned
Bionic
High
Unassigned

Bug Description

Ubuntu release: Ubuntu 18.04 LTS (Mate)
Package version: freecol 0.11.6+dfsg-2

Expected behaviour:

 - Run the command "freecol"
 - Game launches

Actual behaviour:

Game crashes, displaying the following error message:

Unrecognized option: -Xincgc
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

This is triggered by the final line of /usr/games/freecol, which launches Java, specifying the -Xincgc option (incremental garbage collector). Bionic's default OpenJDK 11 runtime no longer supports this option so the game fails to load.

Removing the "-Xincgc" option from the command line is sufficient to get the game working.

Jeremy Bicha (jbicha) on 2018-09-01
Changed in freecol (Ubuntu):
status: New → Fix Committed
tags: added: bionic
Changed in freecol (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → High
Changed in freecol (Ubuntu):
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freecol - 0.11.6+dfsg2-2

---------------
freecol (0.11.6+dfsg2-2) unstable; urgency=medium

  * Declare compliance with Debian Policy 4.2.1.
  * Update freecol wrapper and remove obsolete -Xincgc option. The game will
    start with OpenJDK 10 and newer again.
    Thanks to Johannes Kloos and James Turner for the report. (Closes: #907661)
    (LP: #1772244)

 -- Markus Koschany <email address hidden> Fri, 31 Aug 2018 19:22:57 +0200

Changed in freecol (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers