[Qt-interest] SIGSEGV in QPixmapCache::Clear()
R. Reucher
rene.reucher at batcom-it.net
Thu Oct 29 15:44:55 CET 2009
On Thu, 29 Oct 2009 10:29:02 -0400, Josiah Bryan wrote:
> Josiah Bryan wrote:
>> Using qt from Git as of early October (qmake claims qt 4.7.0).
What? 4.7.0?
>> My program makes heavy use of QPixmapCache with the cache limit set up
>> around 512MB or higher. Upon exiting the problem, it crashes just
>> inside src/gui/image/qpixmapcache.cpp:623. Line 623 is
>> "pm_cache()->clear();", but the backtrace (below) doesnt indicate where
>> inside QPMCache::clear() that the program crashed. This is a very
>> repeatable problem. Any ideas on how to fix?
>>
>> Program received signal SIGSEGV, Segmentation fault. [Switching to
>> Thread -1208448752 (LWP 26921)] 0x00000019 in ?? ()
>> (gdb) bt
>> #0 0x00000019 in ?? ()
>> #1 0x00d72d6f in QPixmapCache::clear () at image/qpixmapcache.cpp:623
>> #2 0x00d06d2c in qt_cleanup () at kernel/qapplication_x11.cpp:2613 #3
>> 0x00c9648a in ~QApplication (this=0xbfb80e58) at
>> kernel/qapplication.cpp:1079
>> #4 0x0806f802 in main (argc=1, argv=0xbfb80f84) at main.cpp:184
>>
> I've still not found a way around this crashing upon exit. Anyone out
> there (Trolltech?) have any comments or ideas on this?
Why don't you first try with a stable Qt version (i. e., Qt 4.5.3) and
report back if it still crashes?!
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
Writing about music is like dancing about architecture.
-- Frank Zappa
More information about the Qt-interest-old
mailing list