Thread Subject: matlab crash and session logout in suse 10.2

Subject: matlab crash and session logout in suse 10.2

From: Ana Margarida

Date: 31 Oct, 2007 12:19:11

Message: 1 of 11

I've recently installed suse 10.2 and matlab Version
7.4.0.287 (R2007a) (64bits). It usually works fine, but when
displaying some figures, matlab crashes and makes a logout
of my linux session. It seems to happen quite arbitrarily,
once or twice a day. Have any of you had this problem before?

Subject: matlab crash and session logout in suse 10.2

From: Uwe Prüfert

Date: 12 Dec, 2007 10:18:00

Message: 2 of 11

"Ana Margarida" <ana.marg@mathworks.com> wrote in message
<fg9rrv$c0u$1@fred.mathworks.com>...
> I've recently installed suse 10.2 and matlab Version
> 7.4.0.287 (R2007a) (64bits). It usually works fine, but
when
> displaying some figures, matlab crashes and makes a logout
> of my linux session. It seems to happen quite arbitrarily,
> once or twice a day. Have any of you had this problem
before?
I've a similar problem. After clicking view>property editor
or double clicking on the figure window matlab crashes,
followed by a crash of the x-server, followed by a logout.
It seems to be a deep-laying problem with a call of a java
function that calls the x-server.
At a first-help, I've replaced the function showplottool by
a dummy:
function comp = showplottool (varargin)
comp = 0;
Now, matlab run stable, but the property editor is not
available. A limited acces to the figure propertys (via the
GUI) is given by edit plot (arrow symbol) and right click
on the axis, figure, etc.

Subject: matlab crash and session logout in suse 10.2

From: Daniel

Date: 12 Dec, 2007 21:43:07

Message: 3 of 11

Me too, every time I try to save the output of a figure, matlab crashes, seems something with java, but I have no clue how to solve it yet

Subject: matlab crash and session logout in suse 10.2

From: Daniel

Date: 12 Dec, 2007 21:49:54

Message: 4 of 11

I found an explanation of the problem here:

http://suseforums.net/lofiversion/index.php/t33288.html

but there is no clear solution yet :S

Subject: matlab crash and session logout in suse 10.2

From: Uwe Pr&#xFC;fert

Date: 10 Jan, 2008 10:43:03

Message: 5 of 11

Daniel <dochoa@fiec.espol.edu.ec> wrote in message
<23716317.1197496224946.JavaMail.jakarta@nitrogen.mathforum.org>...
> I found an explanation of the problem here:
>
> http://suseforums.net/lofiversion/index.php/t33288.html
>
> but there is no clear solution yet :S
A hint from the Mathworks support:
At every Matlab start set openGL to "software"

>>opengl software

It seems to be a solution of my problem.

Subject: matlab crash and session logout in suse 10.2

From: Karthik Nagarajan

Date: 23 Feb, 2008 17:43:05

Message: 6 of 11

"Uwe Pr?fert" <pruefert@math.tu-berlin.de> wrote in message
<fm4srn$9s$1@fred.mathworks.com>...
> Daniel <dochoa@fiec.espol.edu.ec> wrote in message
>
<23716317.1197496224946.JavaMail.jakarta@nitrogen.mathforum.org>...
> > I found an explanation of the problem here:
> >
> > http://suseforums.net/lofiversion/index.php/t33288.html
> >
> > but there is no clear solution yet :S
> A hint from the Mathworks support:
> At every Matlab start set openGL to "software"
>
> >>opengl software
>
> It seems to be a solution of my problem.
>

It works for me too. Thanks a lot.

Subject: matlab crash and session logout in suse 10.2

From: Amanda

Date: 15 Apr, 2008 21:28:02

Message: 7 of 11

This fix just makes matlab crash when i create a figure. any
other suggestions?

"Karthik Nagarajan" <ee19921+matlab@gmail.com> wrote in
message <fpplv9$k98$1@fred.mathworks.com>...
> "Uwe Pr?fert" <pruefert@math.tu-berlin.de> wrote in message
> <fm4srn$9s$1@fred.mathworks.com>...
> > Daniel <dochoa@fiec.espol.edu.ec> wrote in message
> >
>
<23716317.1197496224946.JavaMail.jakarta@nitrogen.mathforum.org>...
> > > I found an explanation of the problem here:
> > >
> > > http://suseforums.net/lofiversion/index.php/t33288.html
> > >
> > > but there is no clear solution yet :S
> > A hint from the Mathworks support:
> > At every Matlab start set openGL to "software"
> >
> > >>opengl software
> >
> > It seems to be a solution of my problem.
> >
>
> It works for me too. Thanks a lot.

Subject: matlab crash and session logout in suse 10.2

From: Levi Kilcher

Date: 27 May, 2008 21:38:01

Message: 8 of 11

I had a similar problem in Debian Etch on a Dell D620 with
the Intel integrated chipset. lspci gives:
00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)

At any rate, the problem does appear to be related to glx
software because when I install things like xlibmesa, the
problem *appears* to be fixed.

In debian, doing a:
apt-get install mesa-utils xlibmesa-dri xlibmesa-gl xlibmesa-glu

Appears to have fixed the problem.

--
LK

Subject: matlab crash and session logout in suse 10.2

From: Sergey

Date: 19 Nov, 2009 00:55:17

Message: 9 of 11

"Ana Margarida" <ana.marg@mathworks.com> wrote in message <fg9rrv$c0u$1@fred.mathworks.com>...
> I've recently installed suse 10.2 and matlab Version
> 7.4.0.287 (R2007a) (64bits). It usually works fine, but when
> displaying some figures, matlab crashes and makes a logout
> of my linux session. It seems to happen quite arbitrarily,
> once or twice a day. Have any of you had this problem before?

Looks like the problem is with openGL. Try setting set(gcf,'renderer','zbuffer') or (gcf,'renderer','painters'). Setting "opengl software" at the beginning of each section also helps.

Subject: matlab crash and session logout in suse 10.2

From: Sergey

Date: 9 Jan, 2010 00:30:22

Message: 10 of 11

I got an official reply from mathowrks. This appears to be a problem with the opengl driver on linux. Short of installing the bug-free driver, the only other option is to set opengl to software at the begging of each matlab session. Without hardware acceleration, it may be faster to do figure rendering using zbuffer.

Subject: matlab crash and session logout in suse 10.2

From: Bonnie

Date: 12 Aug, 2010 19:31:20

Message: 11 of 11

"Sergey " <fakeEmail@gmail.net> wrote in message <hi8imu$ab1$1@fred.mathworks.com>...
> I got an official reply from mathowrks. This appears to be a problem with the opengl driver on linux. Short of installing the bug-free driver, the only other option is to set opengl to software at the begging of each matlab session. Without hardware acceleration, it may be faster to do figure rendering using zbuffer.

Thank you, this was very helpful.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
opengl Karthik Nagarajan 23 Feb, 2008 12:45:07
crash Karthik Nagarajan 23 Feb, 2008 12:45:07
figure Karthik Nagarajan 23 Feb, 2008 12:45:07
surf Karthik Nagarajan 23 Feb, 2008 12:45:07
64 bit Karthik Nagarajan 23 Feb, 2008 12:45:07
suse Karthik Nagarajan 23 Feb, 2008 12:45:07
rssFeed for this Thread

Contact us at files@mathworks.com