[KPhotoAlbum] Seg fault when exiting
Robert Krawitz
rlk at alum.mit.edu
Fri May 18 21:40:28 BST 2018
On Fri, 18 May 2018 22:30:08 +0200, Johannes Zarl-Zierl wrote:
> Hi Robert,
>
> Is this with git master, or with the performance improvements you made?
That was, IIRC, somewhere in between. I haven't seen it since.
> Am Freitag, 11. Mai 2018, 23:46:07 CEST schrieb Robert Krawitz:
>> 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