** Description changed: Qt 5.2.1 has a serious memory leak: https://bugreports.qt-project.org/browse/QTBUG-37578 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-1ubuntu14.2 ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6 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-opensource-src 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 libqt5serialport5-dev + 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-backend-gstreamer + sudo apt-get install libphonon4qt5-dev + sudo apt-get install flite-dev + 2- Checkout of QGroundControl. + git clone https://github.com/mavlink/qgroundcontrol + 3- Update QGroundControl Modules. + cd qgroundcontrol + git submodule init && git submodule update + 4- Compile QGroundControl. + qmake ./qgroundcontrol.pro + make -j4 + 5- Run Application + cd release + ./qgroundcontrol + 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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1377234 Title: QSerial memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtserialport-opensource-src/+bug/1377234/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs