QSerial memory leak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtserialport-opensource-src (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Qt 5.2.1 has a serious memory leak: https:/
It is fixed in 5.2.2 as shown in the bug report.
Please update Qt for Ubuntu 14.04.
The bug turns custom applications unusable.
Thanks!
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: qt5-default 5.2.1+dfsg-
ProcVersionSign
Uname: Linux 3.13.0-36-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Oct 3 13:47:20 2014
InstallationDate: Installed on 2014-02-03 (242 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
SourcePackage: qtbase-
UpgradeStatus: Upgraded to trusty on 2014-04-18 (167 days ago)
[Test Case]
We found the memory leak while running the QGroundControl (QGC) application, so the steps to reproduce are the following:
1- Install QGroundControl dependencies.
sudo apt-get install git
sudo apt-get install qtcreator
sudo apt-get install qttools5-dev
sudo apt-get install qtbase5-dev
sudo apt-get install qt5-default
sudo apt-get install qtdeclarative5-dev
sudo apt-get install libqt5serialpor
sudo apt-get install libqt5svg5-dev
sudo apt-get install libqt5webkit5-dev
sudo apt-get install libsdl1.2-dev
sudo apt-get install build-essential
sudo apt-get install libudev-dev
sudo apt-get install libsdl-dev
sudo apt-get install phonon-
sudo apt-get install libphonon4qt5-dev
sudo apt-get install flite-dev
2- Checkout of QGroundControl.
git clone https:/
3- Update QGroundControl Modules.
cd qgroundcontrol
git submodule init && git submodule update
4- Compile QGroundControl.
qmake ./qgroundcontro
make -j4
5- Run Application
cd release
./qgroundco
6- Select "Radio / Serial Link" option on the window of connection selection.
7- While the application is run, execute htop to see the rising on the allocated memory of QGC, about 1MB / sec.
affects: | qtbase-opensource-src (Ubuntu) → qtserialport-opensource-src (Ubuntu) |
Changed in qtserialport-opensource-src (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Thanks for your report. Can you please include a test case in the bug description? We need it in order to upload the update (see https:/ /wiki.ubuntu. com/StableRelea seUpdates# Procedure).