Henk Jan Priester wrote:
> valgrind reports quite a lot of memory leaks when using the 'fantastic
> new graphicssystem raster'
> feature.

Hi,

I cannot reproduce this in the current snapshots when running a few 
examples. It does look like a bug I fixed in december, but it would be 
ncie to verify. Could you check against current snapshots?

If its still reproducable, could you give me the code to reproduce?

best regards,
Gunnar

> ==615== 1,012,520 (9,660 direct, 1,002,860 indirect) bytes in 161
> blocks are definitely lost in loss record 81 of 112
> ==615==    at 0x4004790: operator new(unsigned) (vg_replace_malloc.c:164)
> ==615==    by 0x82DED75: QRasterPaintEngine::clip(QRect const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x82D4A54: QRasterPaintEngine::clip(QVectorPath const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x86E4F92: QPaintEngineEx::clip(QRegion const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x82D1E70: QRasterPaintEngine::clip(QRegion const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x828D389: QPainter::setClipRegion(QRegion const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x8518EEE: QMenu::paintEvent(QPaintEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x81F05A9: QWidget::event(QEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x851D8D3: QMenu::event(QEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x81AB119: QApplicationPrivate::notify_helper(QObject*,
> QEvent*) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x81AC1F3: QApplication::notify(QObject*, QEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x80C9EB8: EditApp::notify(QObject*, QEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> 
> ==615== 34,976 bytes in 9 blocks are possibly lost in loss record 109 of 112
> ==615==    at 0x40056BF: calloc (vg_replace_malloc.c:279)
> ==615==    by 0x82D4512: QClipData::QClipData(int) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x82DED81: QRasterPaintEngine::clip(QRect const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x82D4A54: QRasterPaintEngine::clip(QVectorPath const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x86E4F92: QPaintEngineEx::clip(QRegion const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x82D1E70: QRasterPaintEngine::clip(QRegion const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x828D389: QPainter::setClipRegion(QRegion const&,
> Qt::ClipOperation) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x8518EEE: QMenu::paintEvent(QPaintEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x81F05A9: QWidget::event(QEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x851D8D3: QMenu::event(QEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x81AB119: QApplicationPrivate::notify_helper(QObject*,
> QEvent*) (in /home/hj/mtjcgmu42/montage2/justedit/justedit)
> ==615==    by 0x81AC1F3: QApplication::notify(QObject*, QEvent*) (in
> /home/hj/mtjcgmu42/montage2/justedit/justedit)
> 
> Henk Jan
> _______________________________________________
> Qt4-preview-feedback mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to