[KPhotoAlbum] Seg fault when exiting
Johannes Zarl-Zierl
johannes at zarl-zierl.at
Fri May 18 21:30:08 BST 2018
Hi Robert,
Is this with git master, or with the performance improvements you made?
Johannes
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20180518/f2c79ed0/attachment.htm>
More information about the Kphotoalbum
mailing list