Project

General

Profile

Bug #112

arduio component, crashing

Added by Victor Arellano about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal

Description

Every time that a file in Simulink is running in
the last seconds Matlab crashes, using the arduio component under Matlab 2017.


Files

matlab_crash_dump.29737-1 (8.41 KB) matlab_crash_dump.29737-1 Victor Arellano, 2017-05-11 15:27
terminal_msgs (22 KB) terminal_msgs Victor Arellano, 2017-05-11 15:27

Associated revisions

Revision c6973786 (diff)
Added by Anthony Mallet about 2 years ago

Fix memory corruption

It seems that memory allocated with mxMalloc() (or mxArrayToString() FWIW) is
actually garbage collected since matlabR2017a.

This is not immediate if one refers to the documentation : "mxArrayToString
does not free the dynamic memory that the char pointer points to", but from
the experience, adding a mexMakeMemoryPersistent() on the returned pointer
suppresses memory corruption issues ...

History

#1

Updated by Anthony Mallet about 2 years ago

Are you running matlab-R2017a under ubuntu-14.04 or 16.04 ?

#2

Updated by Victor Arellano about 2 years ago

Hi Anthony,

I am running it under ubuntu 16.04.

Thanks,

Victor Arellano

On 05/23/2017 06:06 PM, Anthony Mallet wrote:

Issue #112 has been updated by Anthony Mallet.

Are you running matlab-R2017a under ubuntu-14.04 or 16.04 ?

----------------------------------------
Bug #112: arduio component, crashing
https://git.openrobots.org/issues/112#change-141

  • Author: Victor Arellano
  • Status: New
  • Priority: Normal
  • Assignee: Anthony Mallet
  • Category:
  • Target version:
    ----------------------------------------
    Every time that a file in Simulink is running in
    the last seconds Matlab crashes, using the arduio component under Matlab 2017.

---Files--------------------------------
matlab_crash_dump.29737-1 (8.41 KB)
terminal_msgs (22 KB)

#3

Updated by Anthony Mallet about 2 years ago

  • Status changed from New to Feedback

Should be fixed by matlab-genomix:c697378

#4

Updated by Anthony Mallet almost 2 years ago

  • Status changed from Feedback to Closed

No feedback

Also available in: Atom PDF