Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.8.6, 5.2.1
-
None
-
Linux 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux.
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
>>> PyQt4.QtCore.PYQT_VERSION_STR
'4.10.4'
>>> PyQt4.Qt.qVersion()
'4.8.6'
Python 3.4.0 (default, Apr 11 2014, 13:05:18)
[GCC 4.8.2] on linux
>>> PyQt5.QtCore.PYQT_VERSION_STR
'5.2.1'
>>> PyQt5.Qt.qVersion()
'5.2.1'
Qupzilla (Application version 1.6.0, WebKit version 537.21, Qt version 4.8.6)
Linux 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux. Python 2.7.6 (default, Mar 22 2014, 22:59:38) [GCC 4.8.2] on linux2 >>> PyQt4.QtCore.PYQT_VERSION_STR '4.10.4' >>> PyQt4.Qt.qVersion() '4.8.6' Python 3.4.0 (default, Apr 11 2014, 13:05:18) [GCC 4.8.2] on linux >>> PyQt5.QtCore.PYQT_VERSION_STR '5.2.1' >>> PyQt5.Qt.qVersion() '5.2.1' Qupzilla (Application version 1.6.0, WebKit version 537.21, Qt version 4.8.6)
-
b35325a13634501afc098c1dcc4a5a2236d6dd44
Description
To reproduce the bug (memory leak) open the attached leak.html file on any Qt 4/5 QWebKit based browser.
The file displays >1000 markers in Google Maps to better see the effect. Once opened, each press of zoom-in/zoom-out (+/-) increases the amount of memory by several MB. After 10-20 zoom-ins/outs the application eats all of the RAM and segfaults.
I found the leak using PyQt4 and PyQt5 on Ubuntu. I load the file with QWebView.setHtml().
To see that this is not Python related I checked that the leak affects in the same way Qupzilla (a Qt based browser written in C++). To reproduce simply open the file leak.html and click zoom-in/zoom-out several times, until the browser crashes.
This leak does not occur in PyQt4 on Windows.
The attached html file can be opened other main browser (Chrome, IE, Firefox) on both Windows and Linux and the memory does not blow up simply by zooming-in/zooming-out.
Attachments
Issue Links
- relates to
-
QTBUG-35161 Out-of-Memory condition when zooming into Google Maps too quickly
- Closed