Scilab 6.0 launches, shows its window and closes immediately on bionic and cosmic

Bug #1739476 reported by Norbert
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Scilab
Fix Released
High
scilab (Debian)
Fix Released
Unknown
scilab (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Install Ubuntu 18.04 LTS
2. Install `scilab` package with `sudo apt-get install scilab`
3. Try to launch it from menu (Applications->Other->Scilab in MATE)

Expected results:
Scilab is started, user can use it

Actual results:
Scilab is started, show its window with

  Startup execution:
    loading initial environment

then closes immediately

Notes:
1. scilab starts normally from terminal, here is its output:

$ scilab
Warning: Could not find Java package '/usr/share/java/lucene-core-4.10.4.jar'.
Warning: Could not find Java package '/usr/share/java/lucene-analyzers-common-4.10.4.jar'.
Warning: Could not find Java package '/usr/share/java/lucene-queryparser-4.10.4.jar'.
Some problems during the loading of the Java libraries occurred.
This could lead to inconsistent behaviours.
Please check SCI/etc/classpath.xml.
libEGL warning: DRI2: failed to authenticate

2. installing liblucene4.10-java (for /usr/share/java/lucene-core-4.10.4.jar, /usr/share/java/lucene-analyzers-common-4.10.4.jar and /usr/share/java/lucene-queryparser-4.10.4.jar ) does not change the situation.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: scilab 6.0.0-1
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
Uname: Linux 4.13.0-17-generic x86_64
ApportVersion: 2.20.8-0ubuntu5
Architecture: amd64
CurrentDesktop: MATE
Date: Wed Dec 20 22:55:40 2017
PackageArchitecture: all
SourcePackage: scilab
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Sriharip316-f (sriharip316-f) wrote :

BUG DESCRIPTION:
----------------
When opened from GUI(gnome 3), Scilab closes immediately after opening in fedora 24. However, it runs fine when opened from terminal.

ERROR LOG:
----------
None

HOW TO REPRODUCE THE BUG:
-------------------------

OTHER INFORMATION:
------------------

Revision history for this message
In , N-strelkov (n-strelkov) wrote :

Same on Ubuntu 12.04.5 LTS amd64 with Scilab 6.0.0-beta2. But scilab launches normally from gnome-terminal.

Desktop launcher and terminal command is
   env LC_ALL="en_US.UTF-8" /home/nikolay/Software/scilab-6.0.0-beta-2/bin/scilab

Revision history for this message
In , N-strelkov (n-strelkov) wrote :

Same here.
Scilab 6.0.0.1486471292 amd64 under Ubuntu 12.04.5 LTS amd64.

Revision history for this message
In , N-strelkov (n-strelkov) wrote :

It a pity but bug exists in Scilab 6.0.0.1487071837 (final) amd64 under Ubuntu 12.04.5 LTS amd64.

Revision history for this message
In , N-strelkov (n-strelkov) wrote :

Temporary fixed by desktop launcher with "xterm -e"

env LC_ALL="en_US.UTF-8" xterm -e /home/nikolay/Software/scilab-6.0.0/bin/scilab

Revision history for this message
In , Clement-david-h (clement-david-h) wrote :

(In reply to Nikolay Strelkov from comment #4)
> Temporary fixed by desktop launcher with "xterm -e"
>
> env LC_ALL="en_US.UTF-8" xterm -e /home/nikolay/Software/scilab-6.0.0/bin/scilab

Nice catch ! I never use the default launcher shipped with the binary but use a local user-defined one. I will check the freedesktop norm and fix it.

Revision history for this message
In , Petr-becka (petr-becka) wrote :

Exactly the same problem at OpenSUSE Leap 42.2 with KDE with the same
temporary solution: ikon settings -> advance settings -> execute in terminal,
disadvantage: the terminal window is necessary to keep running.

Revision history for this message
In , Richard-llom (richard-llom) wrote :

(In reply to Clement DAVID from comment #5)
> Nice catch ! I never use the default launcher shipped with the binary but use a local user-defined one. I will check the freedesktop norm and fix
> it.

Hey clement, issue is still there.
It would be nice if you could take some time to to fix it...
ty

Revision history for this message
In , Badshah400 (badshah400) wrote :

*** Bug 15203 has been marked as a duplicate of this bug. ***

Revision history for this message
Norbert (nrbrtx) wrote :
description: updated
Changed in scilab:
importance: Unknown → High
status: Unknown → In Progress
Revision history for this message
Norbert (nrbrtx) wrote : Re: Scilab 6.0 launches, shows its window and closes immediately on bionic

All updates installed, scilab is still crashes on Bionic.

Revision history for this message
Norbert (nrbrtx) wrote :

Better solution is set `Terminal=true` in `scilab.desktop`:

sudo sed -i 's/Terminal=false/Terminal=true/g' /usr/share/applications/scilab.desktop

Revision history for this message
Norbert (nrbrtx) wrote :

Updated contact list.

Revision history for this message
In , N-strelkov (n-strelkov) wrote :

It is very bad that you forgot to fix this bug before 6.0.1 release.
So bug exists in 6.0.1.1518683525 on Ubuntu 16.04 LTS x86_64.

Temporary fixed by desktop launcher with "xterm -e": env LC_ALL="en_US.UTF-8" xterm -e /home/nikolay/Software/scilab-6.0.0/bin/scilab

This may break scilab in for example upcoming Ubuntu 18.04 LTS.

Revision history for this message
Norbert (nrbrtx) wrote : Re: Scilab 6.0 launches, shows its window and closes immediately on bionic

18.04 LTS with all updates, bug exists.

Revision history for this message
Norbert (nrbrtx) wrote :

18.04 LTS with all updates, bug exists.

Changed in scilab (Debian):
status: Unknown → New
Revision history for this message
Norbert (nrbrtx) wrote :

18.10 cosmic is affected too.

summary: Scilab 6.0 launches, shows its window and closes immediately on bionic
+ and cosmic
tags: added: cosmic
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in scilab (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Maillardet (jokx) wrote :

Same problem after 18.04 upgrade.

Need to switch "Terminal" parameter to true in desktop file :
$ sudo sed -i 's/Terminal=false/Terminal=true/' /usr/share/applications/scilab.desktop

Also need to correct the "classpath.xml" file :
$ sudo sed -i 's/jlatexmath-fop-1.0.6.jar/jlatexmath-fop-1.0.7.jar/' /usr/share/scilab/etc/classpath.xml

And finally need to install libcanberra-gtk to stop scilab complain about its lake :
$ sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

Revision history for this message
Norbert (nrbrtx) wrote :

Cosmic 18.10 is still affected.

Changed in scilab (Debian):
status: New → Fix Released
Changed in scilab (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
In , Clement-david-h (clement-david-h) wrote :
Changed in scilab:
status: In Progress → Fix Released
Norbert (nrbrtx)
Changed in scilab (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :

Still a problem, using Scilab from bionic-proposed:

$ apt-cache policy scilab
scilab:
  Installed: 6.0.1-7~18.04
  Candidate: 6.0.1-7~18.04
  Version table:
 *** 6.0.1-7~18.04 500
        500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe i386 Packages
        100 /var/lib/dpkg/status
     6.0.1-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages

(see screencast)

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Fixed in 6.0.2 in Disco.

Changed in scilab (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Norbert (nrbrtx) wrote :

The fix for LTS (!!!!!!!!)
is still needed.

Please start the SRU/whatever bug-fixing procedure for 18.04 (bionic beaver).

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

> The fix for LTS (!!!!!!!!)
> is still needed.
>
> Please start the SRU/whatever bug-fixing procedure for 18.04 (bionic beaver).

Notice that backport fixes might come only after they have been confirmed to work with the development version.

New versions for scilab were release in both Bionic and Cosmic released about the same time as the previous comment was made, they included the patch from https://codereview.scilab.org/#/c/20834/ so please confirm if these new versions are also failing:
- bionic-proposed 6.0.1-7ubuntu1~18.04
- cosmic-proposed 6.0.1-7ubuntu1~18.10

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

It seems that this bug has been duplicated in bug #1807602, marking it as such. Please reopen if they are not in fact the same.

Revision history for this message
Norbert (nrbrtx) wrote :

Thank you very much!

The 6.0.1-7ubuntu1~18.04 version fixes bug on Bionic Beaver.

It is great.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.