Scilab does not start on bionic and focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scilab |
In Progress
|
High
|
|||
scilab (Debian) |
Fix Released
|
Unknown
|
|||
scilab (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Simon Chopin | ||
Focal |
Fix Released
|
High
|
Simon Chopin | ||
Groovy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Scilab does not start. This is a regression from an OpenJDK 11 update.
SRU TEAM: please note that scilab runs OpenJDK 8 and since Bionic we have been forcing it to use OpenJDK 11 (see bug 1814133). Since the last Bionic and Focal update there have been fixes from both upstream and Debian to improve compatibility. Apart from those fixes I would like to bring additional fixes to our LTS releases and align them better with the one on Groovy (which works fine):
* improved dependencies
* appdata/desktop fixes to improve user experience
* update from 6.0.1 to 6.0.2 in Bionic
[Test Case]
On Bionic or Focal:
Steps to reproduce:
1. Install Scilab with `sudo apt-get install scilab`
2. Try to launch Scilab from terminal by using command `scilab`
Expected results:
* Scilab started normally
Actual results:
* Scilab does not start, shows the following output in the terminal:
$ scilab
Picked up _JAVA_OPTIONS: -Djava.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.scilab.
WARNING: Please consider reporting this to the maintainers of org.scilab.
WARNING: Use --illegal-
WARNING: All illegal access operations will be denied in a future release
Could not access to the Main Scilab Class:
Exception in thread "main" java.lang.
at org.scilab.
at org.scilab.
at org.scilab.
Caused by: java.lang.
at java.base/
at java.base/
at java.base/
at org.scilab.
... 3 more
Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).
[Regression Potential]
Updating scilab fixes a regression introduced by a previous OpenJDK 11 update that prevented it from running.
* The patch that fix the library path regression OpenJDK 11 might regress on a later if OpenJDK 11 changes how the library path is loaded.
The bug is only on the GUI version, so the patch might actually introduce regressions in the CLI, but that is unlikely as, AIUI the Java bits of the codebase are completely disabled in CLI mode.
The Bionic patch might be combined with another bugfix, cf comment #35
[From original report]
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: scilab 6.1.0+dfsg1-
ProcVersionSign
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu22
Architecture: amd64
CurrentDesktop: MATE
Date: Sat Apr 4 19:12:56 2020
InstallationDate: Installed on 2020-04-04 (0 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
PackageArchitec
SourcePackage: scilab
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: rls-ff-incoming |
tags: | added: id-5f19ac564ce2f58d14489366 |
tags: | removed: rls-ff-incoming |
summary: |
- Scilab does not start on focal + Scilab does not start on bionic and focal |
tags: | added: bionic rls-bb-incoming rls-ff-incoming |
Changed in scilab (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in scilab (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in scilab (Ubuntu Bionic): | |
status: | New → Confirmed |
description: | updated |
tags: | removed: rls-ff-incoming |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: fr-115 |
description: | updated |
tags: |
added: verification-done-bionic verification-done-focal removed: verification-needed verification-needed-bionic verification-needed-focal |
Changed in scilab: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in scilab (Ubuntu): | |
importance: | Undecided → High |
Changed in scilab (Ubuntu Groovy): | |
importance: | Undecided → High |
Changed in scilab: | |
importance: | Unknown → High |
status: | Unknown → In Progress |
Changed in scilab (Debian): | |
status: | Unknown → Fix Released |
I get the same error message when attempting to start scilab on Focal.
Looks like it might be the same error occuring during build-time in https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 955694