Skip to content

Error on MATLAB 2019b #1

@lkm1321

Description

@lkm1321

Hi,

Calling iMatlab('init') causes MATLAB to crash on R2019b.

Looking at the stack trace, the error stems from mexPrintf (!) As a temporary fix, I tried commenting out all mexPrintf (and equivalently, MOOSTrace), and no more errors occur.

Stack trace attached. Would be great to have iMatlab working without mexPrintf.


          Assertion detected at Mon Oct 28 17:17:51 2019 +1100

Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Desktop Environment : GNOME
GNU C Library : 2.27 stable
Graphics Driver : Unknown hardware
Graphics card 1 : 0x8086 ( 0x8086 ) 0x5917 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 2250533
MATLAB Root : /home/brian/local/MATLAB/R2019b
MATLAB Version : 9.7.0.1190202 (R2019b)
OpenGL : hardware
Operating System : Ubuntu 18.04.1 LTS
Process ID : 26827
Processor ID : x86 Family 6 Model 142 Stepping 10, GenuineIntel
Session Key : ad0ca248-a197-4939-838c-3a7461afedb4
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (11906000), display :0

Fault Count: 1

Assertion in find at management.cpp line 712:
find: no active context for type '(anonymous namespace)::AlreadyReportedFailure'

Register State (captured):
RAX = 796e6f6e61282720 RBX = 00007ffa32999d08
RCX = 000000000000000a RDX = 00007ffa3298ae00
RSP = 00007ff8a4d867a0 RBP = 00007ff8a4d86b60
RSI = 00007ffa329522e6 RDI = 00007ff8a4d867b0

R8 = 00007ff8a4d86a75 R9 = 00007ff8a4d86a75
R10 = 202d2d2d00000000 R11 = 00007ffa1e2a45b2
R12 = 00007ffa329a9d98 R13 = 00007ff8a4d87400
R14 = 00007ffa35b98e8c R15 = 00007ffa35b99deb

RIP = 00007ffa328a20be EFL = 0000000000000000

CS = 0000 FS = 0000 GS = 0000

Stack Trace (captured):
[ 0] 0x00007ffa32899623 /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmwfl.so+00828963
[ 1] 0x00007ffa3289981c /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmwfl.so+00829468 _ZN10foundation4core4diag15stacktrace_base7captureEm+00000028
[ 2] 0x00007ffa3289e44f /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmwfl.so+00848975
[ 3] 0x00007ffa3289e5b0 /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmwfl.so+00849328
[ 4] 0x00007ffa35b8875e /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmwfoundation_usm.so+00075614
[ 5] 0x00007ffa35b95898 /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmwfoundation_usm.so+00129176 _ZN10foundation3usm6DetailINS0_5scope3MvmEE4findEmRKSt9type_info+00000136
[ 6] 0x00007ffa1e280bcb /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmwbridge.so+00285643
[ 7] 0x00007ffa32a1ee72 /home/brian/local/MATLAB/R2019b/bin/glnxa64/libut.so+00474738 utVprintf+00000194
[ 8] 0x00007ffa1e1e04fb /home/brian/local/MATLAB/R2019b/bin/glnxa64/libmex.so+00423163 mexPrintf+00000139
[ 9] 0x00007ff8a23ce64b /home/brian/src/moos-ivp-17.7.2/MOOS_Aug2815/MOOSMatlab/iMatlab/iMatlab.mexa64+00042571
[ 10] 0x00007ff8a23f9e1e /home/brian/src/moos-ivp-17.7.2/MOOS_Aug2815/MOOSMatlab/iMatlab/iMatlab.mexa64+00220702
[ 11] 0x00007ff8a2401749 /home/brian/src/moos-ivp-17.7.2/MOOS_Aug2815/MOOSMatlab/iMatlab/iMatlab.mexa64+00251721
[ 12] 0x00007ff8a23fb767 /home/brian/src/moos-ivp-17.7.2/MOOS_Aug2815/MOOSMatlab/iMatlab/iMatlab.mexa64+00227175
[ 13] 0x00007ffa34d226db /lib/x86_64-linux-gnu/libpthread.so.0+00030427
[ 14] 0x00007ffa344b388f /lib/x86_64-linux-gnu/libc.so.6+01185935 clone+00000063
[ 15] 0x0000000000000000 +00000000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions