[Qt-interest] SIGSEGV in QPixmapCache::Clear()

Josiah Bryan jbryan at productiveconcepts.com
Tue Oct 27 18:29:36 CET 2009


Using qt from Git as of early October (qmake claims qt 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

Thanks!
-josiah

-- 

-=-=-=-=-=-=-=-=-=-=-=-=-
Josiah Bryan
Productive Concepts, Inc.
jbryan at pciint.com
(765) 964-6009, ext. 224




More information about the Qt-interest-old mailing list