Why does MATLAB crash when I try to use the documentation center or other HTML-based functionality in R2019b or earlier?

6 views (last 30 days)
MATLAB crashes whenever I try to use the documentation, view any web page or get updates for MATLAB.  The resulting crash log is below.  Why is MATLAB crashing?
------------------------------------------------------------------------
       Segmentation violation detected at Thu Feb 19 11:13:59 2015
------------------------------------------------------------------------
 
Configuration:
  Crash Decoding     : Disabled
  Current Visual     : None
  Default Encoding   : UTF-8
  GNU C Library      : 2.12 stable
  MATLAB Architecture: glnxa64
  MATLAB Root        : /usr/local/MATLAB/R2014b
  MATLAB Version     : 8.4.0.150421 (R2014b)
  Operating System   : Linux 2.6.32-431.30.1.el6.x86_64 #1 SMP Wed Jul 30 14:44:26 EDT 2014 x86_64
  Processor ID       : x86 Family 6 Model 44 Stepping 2, GenuineIntel
  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      : No active display
 
Fault Count: 1
 
 
Abnormal termination:
Segmentation violation
 
Register State (from fault):
  RAX = 0000000000000000  RBX = 00007f32cce915c8
  RCX = 0000000000000028  RDX = 00007f3492f9ea70
  RSP = 00007f3492f9e750  RBP = 0000000000000032
  RSI = 0000000000000001  RDI = 00007f32cc4c0a48
   R8 = 00007f32cc000088   R9 = 0000000000000001
  R10 = 000000000000000c  R11 = 0000000000000001
  R12 = 00007f3492f9ea70  R13 = 00007f32cc4c0498
  R14 = 00007f32ccf0b848  R15 = 00007f32cd109cb8
  RIP = 00007f352c6a93f9  EFL = 0000000000010202
   CS = 0033   FS = 0000   GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f352c6a93f9 /usr/local/MATLAB/R2014b/bin/glnxa64/libsqlite3.so.3+00087033
[ 1] 0x00007f352c6e5f09 /usr/local/MATLAB/R2014b/bin/glnxa64/libsqlite3.so.3+00335625
[ 2] 0x00007f352c6e9f28 /usr/local/MATLAB/R2014b/bin/glnxa64/libsqlite3.so.3+00352040 sqlite3_step+00000856
[ 3] 0x00007f33c10e43b3 /usr/local/MATLAB/R2014b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so+11916211
[ 4] 0x00007f33c10fc3cc /usr/local/MATLAB/R2014b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so+12014540
[ 5] 0x00007f33c10fc4af /usr/local/MATLAB/R2014b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so+12014767
[ 6] 0x00007f33c1100a52 /usr/local/MATLAB/R2014b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so+12032594
...

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Aug 2021
Edited: MathWorks Support Team on 30 Aug 2021
This is a known limitation in the older version of JxBrowser, the HTML renderer MATLAB uses for certain versions of the Linux, Mac, and Windows platforms. 
In order to avoid further crashes, execute the following command to tell MATLAB to use the ICE browser instead:
>> webutils.htmlrenderer('basic')
Note that using the ICE browser will result in a more stable, although cosmetically degraded experience when using the documentation center. If this degraded experience is not satisfactory, please utilize the online documentation center instead:
For more information on this JxBrowser limitation, see below.
=JxBrowser in MATLAB=
MATLAB uses the JxBrowser as an HTML-rendering application.  Although MATLAB ships with two versions of the JxBrowser, JxBrowser3 and JxBrowser 4, some older platforms are unable to utilize the newer version of the JxBrowser libraries.    Those platforms that are limited to using JxBrowser 3 can experience crashes such as the one above when utilizing one of the following:
  • MATLAB Help System (including “doc” and “help” function as well as interactive methods such as using F1-key)
  • “web” function
  • MATLAB Comparison Tool (including “visdiff” function)
  • Searching for updates (i.e. Home > Add-Ons > Check for Product Updates)
A workaround, as described above, is to tell MATLAB to avoid using the JxBrowser altogether and use the ICE browser HTML renderer instead.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!