octave-cli: ../../../../../../../src/mesa/drivers/dri/i965/brw_eu_emit.c:267: validate_reg: Assertion `execsize >= width' failed.

Bug #1313952 reported by Arnold Wikey
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
octave (Debian)
Fix Released
Unknown
octave (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

octave crashes with this error when the 'plot' command is passed the "MarkerFaceColor" argument.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: octave 3.8.1-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Mon Apr 28 14:40:34 2014
InstallationDate: Installed on 2013-10-28 (182 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
SourcePackage: octave
UpgradeStatus: Upgraded to trusty on 2014-04-24 (3 days ago)

Revision history for this message
Arnold Wikey (bambooreeski) wrote :
Revision history for this message
Mike Miller (mtmiller) wrote :

Thanks for your bug report. As I noted in the Debian bug report, I am unable to reproduce this on a machine with an Intel graphics chip using the same DRI driver. This may be specific to a particular piece of hardware.

Also note this mesa upstream bug report that may be the same problem: https://bugs.freedesktop.org/show_bug.cgi?id=36193

Changed in octave (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in octave (Ubuntu):
status: New → Confirmed
Revision history for this message
Bhaskar Divya (bhaskar-divya007) wrote :

The bug is due to the use of "MarkFaceColor" in plot function.
for example, it crashes when i use,
plot(X(neg, 1), X(neg, 2), 'ko', 'MarkerFaceColor', 'y', 'MarkerSize', 7)

but it will not crash when the plot function is used as
plot(X(neg, 1), X(neg, 2), 'ko', 'MarkerSize', 7)

Hope its fixed soon.

Revision history for this message
Sabuj Pattanayek (sabujp) wrote :

This is a bug in the intel dri driver and occurred for me while using flightgear, but looks like can happen in libreoffice as well.

https://bugs.freedesktop.org/show_bug.cgi?format=multiple&id=70441

Building mesa 10.2.7 from source and installing fixes the issue :

intel core gpu (ironlake), ubuntu 14.04 64 bit

wget ftp://ftp.freedesktop.org/pub/mesa/10.2.7/MesaLib-10.2.7.tar.bz2
tar jxvf MesaLib<tab>
cd MesaLib<tab>
sudo apt-get install build-essential
sudo apt-get build-dep mesa
./configure --prefix=/usr --enable-gles1 --enable-gles2 --enable-xa --enable-opencl-icd --with-dri-drivers=i915,i965 --enable-glx-tls --with-dri-driverdir=/usr/lib/x86_64-linux-gnu/dri --with-egl-platforms='drm x11' --with-gallium-drivers=""
make -j
sudo make install

Revision history for this message
Mike Miller (mtmiller) wrote :

Can the original reporter or someone else affected by this bug see if it is fixed in Ubuntu 14.10? According to comment #5, a new mesa version which is in Ubuntu 14.10 and newer may resolve this error.

Changed in octave (Debian):
status: New → Fix Released
Revision history for this message
Mike Miller (mtmiller) wrote :

Updating status to incomplete and asking again for users to confirm if this bug is still present in 14.10 or newer. It has been reported that the newer version of mesa present in 14.10 and 15.04 fixes this crash.

Changed in octave (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
hippocanjump (hippocanjump-6) wrote :

The bug is still present and it can be reproduced by the 'MarkerFaceColor' in plot function.
Octave 4.0.0
Mint 17.1

Revision history for this message
Ben Stanley (ben-stanley) wrote :

I confirm that the bug is fixed in the following configuration:

Octave 3.8.2
Ubuntu 15.04
libglu1-mesa 9.0.0-2 Mesa OpenGL Utility Library (GLU)

Octave command for testing:
octave:1> plot([0 1], [0 1], 'ko', 'MarkerFaceColor', 'y')
octave:2>

Test Result: Plot is displayed, octave continues to run.

Note that under Ubuntu 14.04.2 with Octave 4.0.0, the plot command above causes octave to crash.
See http://savannah.gnu.org/bugs/index.php?46234

I hope that this information is enough to get the bug status from "Incomplete" to "In Progress"...

Changed in octave (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Mike Miller (mtmiller) wrote :

Ben, thanks for the additional info and for offering to help resolve this bug.

You and others have confirmed that the crash does not occur on newer release of Ubuntu. Can you install the HWE updates and see if an updated Intel video driver for 14.04 resolves this for you? See https://wiki.ubuntu.com/Kernel/LTSEnablementStack for more information.

Specifically, you will want to install the following packages: linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid.

Changed in octave (Ubuntu):
status: Confirmed → Incomplete
Mike Miller (mtmiller)
Changed in octave (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Ben Stanley (ben-stanley) wrote :

Mike,
Thanks for the advice to try the HWE updates.

Sorry I have been busy and the email that the bug was marked invalid has reminded me to chase this up.

I installed the HWE updates according to the instructions at
https://wiki.ubuntu.com/Kernel/LTSEnablementStack

That is, I ran
sudo apt-get install --install-recommends linux-generic-lts-wily xserver-xorg-core-lts-wily xserver-xorg-lts-wily xserver-xorg-video-all-lts-wily xserver-xorg-input-all-lts-wily libwayland-egl1-mesa-lts-wily

And then I re-tested
octave-4.0.0-3ubuntu2~octave~trusty3

with the command
plot([0 1],[0 1],'ko','MarkerFaceColor','y') ;

and the plot appears perfectly without crashing.

This confirms that the problem is in the graphics stack, not in octave.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.