[Qt-interest] SIGSEGV in QPixmapCache::Clear()
Josiah Bryan
jbryan at productiveconcepts.com
Thu Oct 29 15:29:02 CET 2009
Josiah Bryan wrote:
> 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
>
I've still not found a way around this crashing upon exit. Anyone out
there (Trolltech?) have any comments or ideas on this?
Thanks!
-josiah
More information about the Qt-interest-old
mailing list