... xcb_xlib_unlock: assertion ... failed — matlab jvm error 

Few days back I have installed Red Hat Fedora 8. I have put Matlab on there as well. When I tried to start Matlab using this command:

matlab -nodesktop -nosplash  # ©2007 dsplabs.com.au

the following error occurred.

MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

This error is due to a Java Runtime Environment (JVM) bug. This bug has already been addressed by Sun developers, however Fedora 8 ships with an older JVM that still suffers from it. The best way to fix the problem is to update your JVM to the most current version using your favourite package manager. If for whatever reason that is not an option, you can still run Matlab by disabling its JVM support using the -nojvm switch like this:

matlab -nodesktop -nosplash -nojvm  # ©2007 dsplabs.com.au

or simply:

matlab -nojvm  # ©2007 dsplabs.com.au

Using either of the above commands from shell, Matlab starts without a glitch.


                                    < M A T L A B >
                        Copyright 1984-2007 The MathWorks, Inc.
                              Version 7.4.0.336 (R2007a)
                                   January 29, 2007

  To get started, type one of these: helpwin, helpdesk, or demo.
  For product information, visit www.mathworks.com.

>>

Did you find the above information useful and interesting? If so, please support this site by using the blog directory links at the bottom of this page. Thanks for your support!

If you have any Linux related problems or questions then please feel free to post them on our Linux Forums: http://linux.dsplabs.com.au/forums.




VPS Hosting Referral Code DZZCC3

Add me to Technorati Favorites Vote for me on Blog Skinny Vote for me on Blog Catalog

Leave a Reply