ADRV9009 Profile Configuration Wizard 2.4 - Illegal instruction detected

Hello,

I am trying to create a filter with the following parameters:

However, when I click "Generate Profiles" the application closes without an error message. Looking in the Windows %TEMP% folder I found the following crash dump:


------------------------------------------------------------------------
        Illegal instruction detected at Thu Jul 29 14:20:56 2021
------------------------------------------------------------------------

Configuration:
  Crash Decoding     : Disabled
  Default Encoding   : US-ASCII
  Graphics card 1    : Red Hat, Inc. ( 0x1b36 ) Red Hat QXL controller Version 10.0.0.20000
  Graphics card 2    : Microsoft ( 0x0 ) Microsoft Remote Display Adapter Version 10.0.19041.662
  MATLAB Architecture: win64
  MATLAB Root        : C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84
  MATLAB Version     : 8.4.0.150421 (R2014b)
  Operating System   : Microsoft Windows 10 Pro
  Processor ID       : x86 Family 143 Model 49 Stepping 0, AuthenticAMD
  Software OpenGL    : 0
  Virtual Machine    : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
  Window System      : Version 10.0 (Build 19043)

Fault Count: 1


Abnormal termination:
Illegal instruction

Register State (from fault):
  RAX = 000000007f0c9000  RBX = 000000007f0e2000
  RCX = 00000000e4b3f470  RDX = 00000000e4b3f8b0
  RSP = 00000000e4b3f280  RBP = 0000000024509750
  RSI = 0000000024509738  RDI = 00000000d7b4e0c0
 
   R8 = 0000000000002000   R9 = 000000007f0e2000
  R10 = 0000000000000c00  R11 = 0000000000000400
  R12 = 0000000000000100  R13 = 000000000000000c
  R14 = 0000000000000010  R15 = 0000000000000100
 
  RIP = 00000000d699a342  EFL = 00010216
 
   CS = 0033   FS = 0053   GS = 002b

Stack Trace (from fault):
[  0] 0x00000000d699a342 C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\mkl.dll+26387266 xerbla+23942290
[  1] 0x00000000d5f139ea C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\mkl.dll+15350250 xerbla+12905274
[  2] 0x00000000d5f01ec1 C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\mkl.dll+15277761 xerbla+12832785
[  3] 0x00000000d5f8afc4 C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\mkl.dll+15839172 xerbla+13394196
[  4] 0x00000000d51af16c C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\mkl.dll+01306988 mkl_cbwr_set+00936236
[  5] 0x000000001ea7fb2c C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\libiomp5md.dll+00654124 _kmp_invoke_microtask+00000140
[  6] 0x000000001ea50c3a C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\libiomp5md.dll+00461882 _kmp_release+00015930
[  7] 0x000000001ea4e0ca C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\libiomp5md.dll+00450762 _kmp_release+00004810
[  8] 0x000000001ea80b47 C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\bin\win64\libiomp5md.dll+00658247 _kmp_launch_worker+00000423
[  9] 0x00007ff94ffe7034                   C:\Windows\System32\KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 10] 0x00007ff950482651                      C:\Windows\SYSTEM32\ntdll.dll+00337489 RtlUserThreadStart+00000033


If this problem is reproducible, please submit a Service Request via:
    www.mathworks.com/.../

A technical support engineer might contact you with further information.

Thank you for your help.

This same crash occurs on two different Windows 10 VMs, as well as under Wine on Linux. I've tried reinstalling the application and the Matlab runtime, but it always crashes with these settings.

The default 245.76 filter settings that are present when the application opens work without an issue, and I can generate the filter files with those.

Do you have any ideas on how I can solve this?

Cheers

Isaac

  • 0
    •  Analog Employees 
    on Jul 29, 2021 4:31 PM

    Tx_BW100_IR122p88_Rx_BW100_OR122p88_ORx_BW100_OR122p88.txt
    <profile Talise version=1 name=Tx_BW100_IR122p88_Rx_BW100_OR122p88_ORx_BW100_OR122p88>
     <clocks>
      <deviceClock_kHz=122880>
      <clkPllVcoFreq_kHz=9830400>
      <clkPllHsDiv=2.5>
     </clocks>
    
     <rx name=Rx 100.00MHz, OutputRate 122.88MHz, TotalDecimation 16>
      <rxChannels=TAL_RX1RX2>
      <rxFirDecimation=2>
      <rxDec5Decimation=4>
      <rhb1Decimation=2>
      <rxOutputRate_kHz=122880>
      <rfBandwidth_Hz=100000000>
      <rxBbf3dBCorner_kHz=100000>
      <rxDdcMode=0>
    
      <rxNcoShifterCfg>
       <bandAInputBandWidth_kHz=0>
       <bandAInputCenterFreq_kHz=0>
       <bandANco1Freq_kHz=0>
       <bandANco2Freq_kHz=0>
       <bandBInputBandWidth_kHz=0>
       <bandBInputCenterFreq_kHz=0>
       <bandBNco1Freq_kHz=0>
       <bandBNco2Freq_kHz=0>
      </rxNcoShifterCfg>
    
      <filter FIR gain_dB=-6 numFirCoefs=72>
      0
      -1
      2
      3
      -4
      -7
      10
      16
      -21
      -31
      40
      56
      -71
      -96
      119
      157
      -187
      -241
      288
      363
      -431
      -538
      622
      772
      -891
      -1105
      1264
      1582
      -1819
      -2335
      2710
      3697
      -4461
      -7201
      9397
      31111
      31111
      9397
      -7201
      -4461
      3697
      2710
      -2335
      -1819
      1582
      1264
      -1105
      -891
      772
      622
      -538
      -431
      363
      288
      -241
      -187
      157
      119
      -96
      -71
      56
      40
      -31
      -21
      16
      10
      -7
      -4
      3
      2
      -1
      0
      </filter>
    
      <rxAdcProfile num=42>
      265
      146
      181
      90
      1280
      366
      1257
      27
      1258
      17
      718
      39
      48
      46
      27
      161
      0
      0
      0
      0
      40
      0
      7
      6
      42
      0
      7
      6
      42
      0
      25
      27
      0
      0
      25
      27
      0
      0
      165
      44
      31
      905
      </rxAdcProfile>
     </rx>
    
     <obsRx name=Rx 100.00MHz, OutputRate 122.88MHz, TotalDecimation 16>
      <obsRxChannelsEnable=TAL_ORX1ORX2>
      <enAdcStitching=0>
      <rxFirDecimation=2>
      <rxDec5Decimation=4>
      <rhb1Decimation=2>
      <orxOutputRate_kHz=122880>
      <rfBandwidth_Hz=100000000>
      <rxBbf3dBCorner_kHz=225000>
      <orxDdcMode=0>
    
      <filter FIR gain_dB=-6 numFirCoefs=72>
      0
      -1
      2
      2
      -4
      -6
      10
      13
      -20
      -26
      38
      47
      -66
      -81
      110
      133
      -172
      -205
      265
      309
      -395
      -460
      566
      661
      -809
      -947
      1138
      1331
      -1683
      -2008
      2490
      3163
      -4146
      -6051
      9721
      29849
      29849
      9721
      -6051
      -4146
      3163
      2490
      -2008
      -1683
      1331
      1138
      -947
      -809
      661
      566
      -460
      -395
      309
      265
      -205
      -172
      133
      110
      -81
      -66
      47
      38
      -26
      -20
      13
      10
      -6
      -4
      2
      2
      -1
      0
      </filter>
    
      <orxLowPassAdcProfile num=42>
      265
      146
      181
      90
      1280
      366
      1257
      27
      1258
      17
      718
      39
      48
      46
      27
      161
      0
      0
      0
      0
      40
      0
      7
      6
      42
      0
      7
      6
      42
      0
      25
      27
      0
      0
      25
      27
      0
      0
      165
      44
      31
      905
      </orxLowPassAdcProfile>
    
      <orxBandPassAdcProfile num=42>
      265
      146
      181
      90
      1280
      366
      1257
      27
      1258
      17
      718
      39
      48
      46
      27
      161
      0
      0
      0
      0
      40
      0
      7
      6
      42
      0
      7
      6
      42
      0
      25
      27
      0
      0
      25
      27
      0
      0
      165
      44
      31
      905
      </orxBandPassAdcProfile>
    
     </obsRx>
    
     <lpbk>
      <rxFirDecimation=2>
      <rhb1Decimation=2>
      <outputRate_kHz=122880>
      <rfBandwidth_Hz=50000000>
      <rxBbf3dBCorner_kHz=225000>
    
      <filter FIR gain_dB=-6 num=72>
      0
      -1
      2
      2
      -4
      -6
      10
      13
      -20
      -26
      38
      47
      -66
      -81
      110
      133
      -172
      -205
      265
      309
      -395
      -460
      566
      661
      -809
      -947
      1138
      1331
      -1683
      -2008
      2490
      3163
      -4146
      -6051
      9721
      29849
      29849
      9721
      -6051
      -4146
      3163
      2490
      -2008
      -1683
      1331
      1138
      -947
      -809
      661
      566
      -460
      -395
      309
      265
      -205
      -172
      133
      110
      -81
      -66
      47
      38
      -26
      -20
      13
      10
      -6
      -4
      2
      2
      -1
      0
      </filter>
    
      <lpbkAdcProfile num=42>
      265
      146
      181
      90
      1280
      366
      1257
      27
      1258
      17
      718
      39
      48
      46
      27
      161
      0
      0
      0
      0
      40
      0
      7
      6
      42
      0
      7
      6
      42
      0
      25
      27
      0
      0
      25
      27
      0
      0
      165
      44
      31
      905
      </lpbkAdcProfile>
     </lpbk>
    
     <tx name=Tx 100.00MHz, InputRate 122.88MHz, TotalInterpolation 16>
      <txChannels=TAL_TX1TX2>
      <dacDiv=1>
      <txFirInterpolation=2>
      <thb1Interpolation=2>
      <thb2Interpolation=2>
      <thb3Interpolation=2>
      <txInt5Interpolation=1>
      <txInputRate_kHz=122880>
      <primarySigBandwidth_Hz=50000000>
      <rfBandwidth_Hz=100000000>
      <txDac3dBCorner_kHz=187000>
      <txBbf3dBCorner_kHz=56000>
    
      <filter FIR gain_dB=6 numFirCoefs=80>
      0
      0
      0
      1
      0
      -3
      1
      7
      -3
      -13
      7
      25
      -14
      -42
      27
      69
      -46
      -107
      74
      160
      -115
      -229
      184
      336
      -264
      -468
      382
      653
      -538
      -904
      754
      1269
      -1056
      -1842
      1486
      2879
      -2031
      -4846
      3817
      16221
      16221
      3817
      -4846
      -2031
      2879
      1486
      -1842
      -1056
      1269
      754
      -904
      -538
      653
      382
      -468
      -264
      336
      184
      -229
      -115
      160
      74
      -107
      -46
      69
      27
      -42
      -14
      25
      7
      -13
      -3
      7
      1
      -3
      0
      1
      0
      0
      0
      </filter>
     </tx>
    </profile>
    

    No. It should be able to generate profiles with this configuration. Attached is the profile that i generated with your configuration and with a dev_Clk of 122.88MHz. Try reinstalling the software and matlab runtime 2019b is installed in your PC. 

  • Hi Srimoyi,

    Thanks for your response and the profile.

    I contacted MATLAB support and it seems to be an issue in the MATLAB runtime.

    For anyone else with this issue, setting the environment variable MKL_DEBUG_CPU_TYPE=4 before running the program solves this problem and allows me to generate a profile with the above settings.

    Cheers,

    Isaac