Segfault on shutdown if glutMainLoop not called (fglrx)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freeglut (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Freeglut will segfault when exiting the application if glutMainLoop is not called (with the fglrx video drivers). A patch has been posted on Sourceforge;
https:/
https:/
Here is a modified version of the patch for Ubuntu 14.04 (freeglut3_
A method to build a custom version of the freeglut3 package on Ubuntu 14.04;
sudo apt-get install freeglut3 freeglut3-dev [this should install all necessary dependencies for freeglut]
sudo apt-get remove freeglut3 freeglut3-dev
sudo apt-get install build-essential [in order to compile your own programs in Ubuntu] [+ bison debuild(?)]
sudo apt-get install autotools-dev autoconf automake libtool dh-autoreconf [install all build dependencies for freeglut]
mkdir ~/freeglut3-
cd ~/freeglut3-
manually download freeglut_
manually download freeglut_
manually download freeglut_
dpkg-source -x freeglut_
rm freeglut_
rm freeglut_
[Ensure patch has been created; see "Record of freeglut_
cp freeglut_
nedit freeglut-
add reference to freeglut_
cd freeglut-2.8.1
dpkg-buildpackage -uc -us
cd ..
sudo dpkg -i freeglut3_
---
Record of freeglut_
cd ~/freeglut3-
mkdir a
mkdir b
mkdir a/src
mkdir b/src
cp orig/freeglut_
cp patched/
diff -urNad a/src b/src > freeglut_
The attachment "freeglut_ 2.8.1-FREEGLUT_ SOURCEFORGE_ BUG206_ PATCH (Ubuntu 14.04)" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]