As a matter of fact, I just checked the bug happens with scilab,
available in universe. Scilab returns some interesting debug info in the
standard output, which O copy in the attached text file.

NEW INFO.

I didn't see before that matlab was generating a crash log for this. This log 
confirms that the error comes from java:
"Assertion in void {anonymous}::mwJavaAbort() at javainit.cpp line 1411:
Fatal Java Exception.  See Java Crash Report for details."

The java crash report gives the following:

 Operating System: Linux 4.10.0-37-generic #41-Ubuntu SMP Fri Oct 6 20:20:37 
UTC 2017 x86_64
  Processor ID:     x86 Family 6 Model 60 Stepping 3, GenuineIntel
  Host Name:        XXXXXXXX
FATAL ERROR in native method: Nativewindow X11 IOError: Display 0x7fb2cb9e5210 
(localhost:10.0): Resource temporarily unavailable
        at sun.awt.X11.XlibWrapper.XEventsQueued(Native Method)
        at sun.awt.X11.XToolkit.run(Unknown Source)
        at sun.awt.X11.XToolkit.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Which says that X11 is at fault.




** Attachment added: "scilab debugging information"
   
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1726595/+attachment/4994791/+files/scilabdebug.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1726595

Title:
  Running Matlab (R) from ssh session with X forwarding doesn't work
  anymore in 17.10

Status in openssh package in Ubuntu:
  Incomplete

Bug description:
  OBSERVED BEHAVIOR:
  Matlab stays in busy state when using some functions like "plot" or even 
"exit", while executing through a ssh tunnel with X11 forwarding. 

  REPRODUCE THE BUG:

  You need matlab (my version is R2017a) to reproduce the bug. I suspect
  any version >= 2014b would reproduce the bug (HG2 framework), and
  maybe any version.

  1. Connect to self (or from other machine) with X forwarding:
  $ ssh -X user@localhost

  2. Launch matlab
  $ matlab &

  3. Plot something
  >> plot(1,1)

  ADDITIONAL INFORMATION
  - Normal behavior would be appearance of a new window and a single point at 
position (1,1). 
  - No ressources seem to be used. 
  - Opening a figure alone is possible. (>> figure). Opening other windows from 
the graphical user interface is possible 
  - Opening Matlab without the java machine seems to work, but matlab relies 
heavily on java. At least "exit" which doesn't work with java, works without 
java.
  - Providing Matlab with open-jdk version 1.8.0_144 didn't change anything.
  - This used to work perfectly for as long as I have been using Ubuntu (since 
2012).

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: openssh-client 1:7.5p1-10
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity:Unity7:ubuntu
  Date: Mon Oct 23 17:44:23 2017
  ExecutablePath: /usr/bin/ssh
  InstallationDate: Installed on 2017-08-25 (59 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  RelatedPackageVersions:
   ssh-askpass       N/A
   libpam-ssh        N/A
   keychain          N/A
   ssh-askpass-gnome N/A
  SSHClientVersion: OpenSSH_7.5p1 Ubuntu-10, OpenSSL 1.0.2g  1 Mar 2016
  SourcePackage: openssh
  UpgradeStatus: Upgraded to artful on 2017-10-23 (0 days ago)
  modified.conffile..etc.ssh.ssh_config: [modified]
  mtime.conffile..etc.ssh.ssh_config: 2017-10-23T16:25:50.569560

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1726595/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to