[Qt-interest] Mac Crash on Exit

Willy P willy.lists at gmail.com
Wed Apr 21 01:01:41 CEST 2010


Thanks guys.  I ended up calling:

QPixmap::clear()

In the destructor of my main window and it's all fixed.  Not sure what
the deal is.  Destruction order?

-WP

On Mon, Apr 19, 2010 at 10:56 PM, Tonu Jaansoo <chain at bsd.ee> wrote:
> I had the same problem a while ago. I also posted a fix.
> http://www.archivum.info/qt-interest@trolltech.com/2010-04/00042/Re-(Qt-interest)-Mac-Sparkle-updater-quot-install-and-relaunch-quot-crashing-Qt-app.html
>
> On Apr 20, 2010, at 2:56 AM, Stephen Chu wrote:
>
>> In article
>> <j2q3dd63f1004191449t8f18b357pe62bdbf6e2bd01a5 at mail.gmail.com>,
>> Willy P <willy.lists at gmail.com> wrote:
>>
>>> Hey,
>>> I've been on 4.5.3 for a while and I just moved to 4.6.2.  After the
>>> move I am getting this crash when my application exits:
>>>
>>> 0    QImagePixmapCleanupHooks::executePixmapDataDestructionHooks             0       0x01e74934
>>> 1    QPixmapData::~QPixmapData               0       0x01e69c5c
>>> 2    QMacPixmapData::~QMacPixmapData         0       0x01e784af
>>> 3    QPixmap::~QPixmap               0       0x01e63b41
>>> 4    QPixmapCacheEntry::~QPixmapCacheEntry           0       0x01e678c4
>>> 5    QPMCache::clear         0       0x01e67c4f
>>> 6    QPMCache::~QPMCache             0       0x01e67d92
>>> 7    __tcf_0         0       0x01e67141
>>> 8    __cxa_finalize          0       0x90e19d9c
>>> 9    exit            0       0x90e19c90
>>> 10   start           0       0x00007b1b
>>>
>>>
>>> I'm running OS 10.5.8.  Any thoughts as to what I've done wrong?
>>>
>>> Thanks in advance...
>>>
>>> -Willy
>>
>> Maybe you deleted a QPixmap you got from QPixmapCache without removing
>> it from the cache?
>>
>> --
>> Stephen Chu
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>




More information about the Qt-interest-old mailing list