[Kde-pim] KMail: crash after double-freed pixmap memory

Jarosław Staniek js at iidea.pl
Thu Apr 3 23:13:52 BST 2008


I've noticed there's potentially evil

       static QPixmap mergedpix;

in const QPixmap *HeaderItem::pixmap(int col) const.

I guess that may be the reason why I've encountered crash in 
QRasterPaintEngine::~QRasterPaintEngine() at free(d->rasterPoolBase);
- d->rasterPoolBase points to a freed memory.

Is that assumption OK?

(attached the backtrace)

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backtrace.txt
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080404/ceb9c923/attachment.txt>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list