glut corrupts terminal titlebar

Bug #1317558 reported by Markus Ilmola on 2014-05-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity (Ubuntu)

Bug Description

1. Open gnome-terminal (works with xterm and nautilus too)

2. Install freeglut3-dev package:

sudo apt-get install freeglut3-dev

3. Copy these lines to a file called test.c

#include <GL/glut.h>
int main(int argc, char *argv[]) {
 glutInit(&argc, argv);
 return 0;

4. Compile test.c

gcc test.c -o test -lglut

5. Run the the compiled program


6. Observe the terminal titlebar as it appears corrupted.

It seems the content of the titlebar is replaced with "random" content from the memory.

With enough tries, this makes it even possible to view the contents of bitmaps open in other programs in the titlebar.

This bug seem to be hardware specific as my other laptop which has an ATI video card does not suffer from this bug.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity 7.2.0+14.04.20140423-0ubuntu1.2
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64

ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu May 8 18:27:45 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:5024]
InstallationDate: Installed on 2014-05-07 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: LENOVO 80B6QB0
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed root=UUID=ced59d53-14ee-475e-a6d9-544cd0928b7e ro quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install) 11/07/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: J7ET57WW (2.02 )
dmi.board.asset.tag: Not Available 80B6QB0
dmi.board.vendor: LENOVO
dmi.board.version: 31900058 STD
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrJ7ET57WW(2.02):bd11/07/2013:svnLENOVO:pn80B6QB0:pvrB5400:rvnLENOVO:rn80B6QB0:rvr31900058STD:cvnLENOVO:ct10:cvrNotAvailable: 80B6QB0
dmi.product.version: B5400
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.11+14.04.20140409-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.52-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.0-4ubuntu5
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.0-4ubuntu5
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Thu May 8 16:51:47 2014
xserver.configfile: default

xserver.logfile: /var/log/Xorg.0.log
 product id 13394
 vendor SDC
xserver.version: 2:1.15.1-0ubuntu2

Markus Ilmola (markus-ilmola) wrote :
summary: - glutCreateWindow replaces terminal titlebar with random content from
- memory
+ glut corrupts terminal titlebar
Markus Ilmola (markus-ilmola) wrote :

This bug seems to fixed in 14.10.

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

Other bug subscribers