[KPhotoAlbum] Seg fault when exiting
Robert Krawitz
rlk at alum.mit.edu
Fri May 11 22:46:07 BST 2018
I'm somtimes getting a seg fault when I exit kpa (at least when
thumbnails are in the process of building). The trace looks something
like this:
#0 0x00007fffeec2043f in QPen::QPen(Qt::PenStyle) () at /usr/lib64/libQt5Gui.so.5
#1 0x00007fffeebc564a in QPaintEngineExPrivate::QPaintEngineExPrivate() ()
at /usr/lib64/libQt5Gui.so.5
#2 0x00007fffeebd21cf in QRasterPaintEngine::QRasterPaintEngine(QPaintDevice*) ()
at /usr/lib64/libQt5Gui.so.5
#3 0x00007fffee9f7ff0 in QImage::paintEngine() const () at /usr/lib64/libQt5Gui.so.5
#4 0x00007fffeebe8189 in QPainter::begin(QPaintDevice*) () at /usr/lib64/libQt5Gui.so.5
#5 0x00007fffeea04062 in QImage::transformed(QTransform const&, Qt::TransformationMode) const () at /usr/lib64/libQt5Gui.so.5
#6 0x00007fffeea047a5 in QImage::scaled(QSize const&, Qt::AspectRatioMode, Qt::TransformationMode) const () at /usr/lib64/libQt5Gui.so.5
#7 0x000000000066f4e9 in Utilities::scaleImage(QImage const&, int, int, Qt::AspectRatioMode) ()
#8 0x000000000056052c in ImageManager::ImageLoaderThread::scaleAndRotate(ImageManager::ImageRequest*, QImage) ()
#9 0x0000000000560aae in ImageManager::ImageLoaderThread::run() ()
#10 0x00007fffee285e0f in () at /usr/lib64/libQt5Core.so.5
#11 0x00007fffecd32724 in start_thread () at /lib64/libpthread.so.0
#12 0x00007fffed677e8d in clone () at /lib64/libc.so.6
What I believe is happening is that the ImageLoaderThread is not being
notified to terminate when the app exits, and so doesn't terminate
cleanly. But I'm not sure how best to fix that.
--
Robert Krawitz <rlk at alum.mit.edu>
*** MIT Engineers A Proud Tradition http://mitathletics.com ***
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
More information about the Kphotoalbum
mailing list