glut corrupts terminal titlebar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
New
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
New
|
Undecided
|
Unassigned |
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);
glutInitDispla
glutCreateWind
return 0;
}
4. Compile test.c
gcc test.c -o test -lglut
5. Run the the compiled program
./test
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.
ps.
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.
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
.tmp.unity.
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Thu May 8 18:27:45 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
GraphicsCard:
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=
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/07/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: J7ET57WW (2.02 )
dmi.board.
dmi.board.name: 80B6QB0
dmi.board.vendor: LENOVO
dmi.board.version: 31900058 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 80B6QB0
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.11+
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.52-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Thu May 8 16:51:47 2014
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 13394
vendor SDC
xserver.version: 2:1.15.1-0ubuntu2
summary: |
- glutCreateWindow replaces terminal titlebar with random content from - memory + glut corrupts terminal titlebar |
This bug seems to fixed in 14.10.