Project

General

Profile

Actions

Bug #125

closed

Wrong host crashes MATLAB

Added by Anonymous almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-

Description

Using wrong host name in genomix port/request (Simulink) results in MATLAB/Simulink crashing.
For wrong I mean using a host where the component is not running.

Actions #1

Updated by Anthony Mallet almost 7 years ago

I cannot reproduce.

  • If I put a host name where genomixd is not running, I get a proper
    error box with "connection refused".
  • If I run genomix and put a wrong component name (not running), I
    get an error box with "foo does not see to be running"

What do you do exactly to crash it?

Actions #2

Updated by Anthony Mallet almost 7 years ago

  • Status changed from New to Feedback
Actions #3

Updated by Anonymous almost 7 years ago

This afternoon I’ll work on that and I’ll try to reproduce it (if I’m able to get a Matlab licence).

Michele

PS: is it fine if I run a bash script to try to open Matlab forever every 5-10 seconds?

From: Anthony Mallet
Sent: Tuesday, July 18, 2017 11:44
To: ; ;
Subject: [matlab-genomix - Bug #125] Wrong host crashes MATLAB

Issue #125 has been updated by Anthony Mallet.

I cannot reproduce.

  • If I put a host name where genomixd is not running, I get a proper
    error box with "connection refused".
  • If I run genomix and put a wrong component name (not running), I
    get an error box with "foo does not see to be running"

What do you do exactly to crash it?

----------------------------------------
Bug #125: Wrong host crashes MATLAB
https://git.openrobots.org/issues/125#change-173

  • Author: Michele Furci
  • Status: New
  • Priority: Normal
  • Assignee:
  • Category:
  • Target version:
    ----------------------------------------
    Using wrong host name in genomix port/request (Simulink) results in MATLAB/Simulink crashing.
    For wrong I mean using a host where the component is not running.
Actions #4

Updated by Anonymous almost 7 years ago

I've seen two cases:
  • Using matlab2017 (probably I shouldn't do that) sometimes (not always reproducible) it crashes when I launch the simulation or when I stop the simulation if the host is wrong.
  • Using matlab2015 it crashes when the port is wrong. In my case it happened because I had a simulink scheme using the old or_rotorcraft interface, then I updated mikrokopter and I had the wrong port name (because it changed in the new interface).
Actions #5

Updated by Anthony Mallet almost 7 years ago

On Tuesday 18 Jul 2017, at 16:47, Michele Furci wrote:

  • Using matlab2017 (probably I shouldn't do that) sometimes (not
    always reproducible) it crashes when I launch the simulation or when
    I stop the simulation if the host is wrong.

c697378 may help, as the issue that it fixes was affecting
matlab-2017a specifically.

  • Using matlab2015 it crashes when the port is wrong. In my case it
    happened because I had a simulink scheme using the old or_rotorcraft
    interface, then I updated mikrokopter and I had the wrong port name
    (because it changed in the new interface).

This was fixed in 02cbb39 (see issue #122).

I will release a new version of matlab-genomix. Could you test again
with the new version?

Actions #6

Updated by Anonymous almost 7 years ago

On the ODROID it says: "matlab-genomix-1.7.1 is not available for Ubuntu-16.04-arm" when I try to update.

Michele

On Tuesday, July 18, 2017 17:02 CEST, Anthony Mallet <> wrote:
 Issue #125 has been updated by Anthony Mallet.

On Tuesday 18 Jul 2017, at 16:47, Michele Furci wrote:

  • Using matlab2017 (probably I shouldn't do that) sometimes (not
    always reproducible) it crashes when I launch the simulation or when
    I stop the simulation if the host is wrong.

c697378 may help, as the issue that it fixes was affecting
matlab-2017a specifically.

  • Using matlab2015 it crashes when the port is wrong. In my case it
    happened because I had a simulink scheme using the old or_rotorcraft
    interface, then I updated mikrokopter and I had the wrong port name
    (because it changed in the new interface).

This was fixed in 02cbb39 (see issue #122).

I will release a new version of matlab-genomix. Could you test again
with the new version?

----------------------------------------
Bug #125: Wrong host crashes MATLAB
https://git.openrobots.org/issues/125#change-177

  • Author: Michele Furci
  • Status: Feedback
  • Priority: Normal
  • Assignee:
  • Category:
  • Target version:
    ----------------------------------------
    Using wrong host name in genomix port/request (Simulink) results in MATLAB/Simulink crashing.
    For wrong I mean using a host where the component is not running.

--
Sent by Openrobots - https://git.openrobots.org
To change your notification preferences: https://git.openrobots.org/my/account
 

 

Actions #7

Updated by Anthony Mallet almost 7 years ago

On Tuesday 18 Jul 2017, at 18:58, Michele Furci wrote:

On the ODROID it says: "matlab-genomix-1.7.1 is not available for
Ubuntu-16.04-arm" when I try to update.

Yes, matlab is available only for the amd64 architecture. It does not make
sense to use matlab-genomix on an odroid.

Actions #8

Updated by Anthony Mallet over 6 years ago

Should I close this issue, or do you still have problems?

Actions #9

Updated by Anthony Mallet over 6 years ago

  • Status changed from Feedback to Closed

No feedback

Actions

Also available in: Atom PDF