Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Matlab crash few seconds after start

  1. #1
    Join Date
    Apr 2008
    Beans
    9

    Matlab crash few seconds after start

    Hello,

    Matlab installed fine and when starting first the splash screen comes up and then the matlab window is visible for a few seconds saying "Initiallizing" on the status line at the bottom, but then it crashes.
    It crashes the same way even with -nodisplay:

    matlab -nodisplay

    Version 7.6.0.324 (R2008a)

    terminate called after throwing an instance of 'MathWorks::System::SimpleException'
    (SIGABRT) (core dumped)

    Version R2007a crashes in a similar way, but the message is a little bit different:
    terminate called after throwing an instance of 'MathWorks::System::_utException'

    The computer is running 32-bit kubuntu 7.10 Gutsy Gibbon on an AMD64 BE2400 (dual core). I have googled a lot, but so far I have only found troubles related to Simulink and Java and Compiz (which I am not running). Any ideas on how to solve this problem?

  2. #2
    Join Date
    Oct 2007
    Location
    WI
    Beans
    189

    Re: Matlab crash few seconds after start

    have you tried reinstalling?
    Inspiron E1705, 2.16 GHz Core Duo, 2 Gb DDR2 SDRAM, 256 Mb nVidia Geforce Go 7900 GS

    Home built desktop, 2x 2.33 GHz Quad Core Xeon, 8 Gb DDR2 FBRAM, HD 4850

  3. #3
    Join Date
    Aug 2007
    Beans
    45

    Re: Matlab crash few seconds after start

    same thing happens to me. It opens up fine if you start it from the terminal
    Code:
    matlabroot/bin/matlab
    but the terminal window remains open at the same time. is there any way to hide this??

    found this on the matlab homepage http://www.mathworks.com/access/help...G=Search&meta=

    seems that we have to start the license manager.
    the how to says that we have to go to the matlabroot/etc directory
    but there isn't an etc directory in the matlab folder
    Last edited by twistadias; April 11th, 2008 at 09:31 AM.

  4. #4
    Join Date
    Oct 2007
    Location
    WI
    Beans
    189

    Re: Matlab crash few seconds after start

    launch by using
    Code:
    matlab/bin/matlab -desktop
    this causes it to launch without the shell of a terminal
    Inspiron E1705, 2.16 GHz Core Duo, 2 Gb DDR2 SDRAM, 256 Mb nVidia Geforce Go 7900 GS

    Home built desktop, 2x 2.33 GHz Quad Core Xeon, 8 Gb DDR2 FBRAM, HD 4850

  5. #5
    Join Date
    May 2008
    Beans
    34

    Re: Matlab crash few seconds after start

    My case now
    I have Matlab7.1 installed on Hardy and Wine.
    I still get that frozen matlab spalsh screen and my cpu goes to 100% but that's all.
    I tried to run Matlab from the shell but i get an error. I think it has to do with JVM.
    Any suggestions?

    Thanx in advance!

  6. #6
    Join Date
    Mar 2007
    Location
    Finland
    Beans
    256
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Matlab crash few seconds after start

    Quote Originally Posted by dimamali View Post
    My case now
    I have Matlab7.1 installed on Hardy and Wine.
    I still get that frozen matlab spalsh screen and my cpu goes to 100% but that's all.
    I tried to run Matlab from the shell but i get an error. I think it has to do with JVM.
    Any suggestions?
    I suggest you get the native linux version of Matlab if possible. I have no experience in running Matlab under wine, but the native version runs nicely.

  7. #7
    Join Date
    Apr 2007
    Location
    Kuala Lumpur and London
    Beans
    103
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Matlab crash few seconds after start

    Are you guys running AMD64s? That could be the problem as described here: http://unitstep.net/blog/2006/08/21/...lon-64-x2-cpu/

    Even though it's on the windows version I feel the problem is similar. I had it on my xp install too.

  8. #8
    Join Date
    Aug 2008
    Beans
    1

    Re: Matlab crash few seconds after start

    I just had this very same problem on a xen virtual machine.

    The reason for this is the missing /dev/pts directory and the missing mount.

    This can be fixed by adding these two lines to /etc/rc.local

    mkdir /dev/pts
    mount -t devpts devpts /dev/pts

    Good Luck,
    M.

  9. #9
    Join Date
    Jul 2008
    Beans
    42

    Re: Matlab crash few seconds after start

    Quote Originally Posted by twistadias View Post
    same thing happens to me. It opens up fine if you start it from the terminal
    Code:
    matlabroot/bin/matlab
    but the terminal window remains open at the same time. is there any way to hide this??

    found this on the matlab homepage http://www.mathworks.com/access/help...G=Search&meta=

    seems that we have to start the license manager.
    the how to says that we have to go to the matlabroot/etc directory
    but there isn't an etc directory in the matlab folder
    it's been about 12 years since i used Matlab, and not on Linux, so take this for what it's worth, but i suspect that 'matlabroot' is a system variable within Matlab itself and holds the path of Matlab's root directory on your system. that might be C:\Program Files\Matlab on a winders box, but in linux maybe something else, like root root.

    and i assume the rest of you are using a student version, because as much as a Matlab license costs for professionals, i'd think they'd deal with you personally to get you going here.

  10. #10
    Join Date
    May 2007
    Location
    San Francisco, California
    Beans
    5,844
    Distro
    Ubuntu

    Re: Matlab crash few seconds after start

    Post the results of > top

    When the program is open.
    Google Ventures / Prowl

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •