Bug 356919 - Crash when app is closed
Summary: Crash when app is closed
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-19 20:23 UTC by danyelmo
Modified: 2015-12-21 12:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description danyelmo 2015-12-19 20:23:15 UTC
Application: krita ()

Qt Version: 5.5.1
Operating System: Linux 4.2.6-1 x86_64
Distribution: "KaOS"

-- Information about the crash:
Every time Krite is closed it crashes with a segfault. 
I'm using KaOS.

The crash can be reproduced every time.

-- Backtrace:
Application: krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa8b0be6800 (LWP 4648))]

Thread 6 (Thread 0x7fa8777fe700 (LWP 4659)):
#0  0x00007fa8ae5fe33c in pselect () from /lib/libc.so.6
#1  0x00007fa8af0b81dc in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa8af0b9c65 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/libQt5Core.so.5
#3  0x00007fa8af0ba171 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fa8af064022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa8aee8285c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fa8aee8772f in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fa8a97bf374 in start_thread () from /lib/libpthread.so.0
#8  0x00007fa8ae60532d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7fa87d46c700 (LWP 4660)):
#0  0x00007fa8a97c49af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa8aee8879b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa8aee814ab in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007fa8acca094e in ?? () from /usr/lib/libkritaimage.so.15
#4  0x00007fa8acca13e1 in ?? () from /usr/lib/libkritaimage.so.15
#5  0x00007fa8aee8772f in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fa8a97bf374 in start_thread () from /lib/libpthread.so.0
#7  0x00007fa8ae60532d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7fa88a38e700 (LWP 4661)):
#0  0x00007fa8a97c49af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa8aee8879b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa8aee81736 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQt5Core.so.5
#3  0x00007fa8accbd7ca in KisTileDataSwapper::run() () from /usr/lib/libkritaimage.so.15
#4  0x00007fa8aee8772f in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fa8a97bf374 in start_thread () from /lib/libpthread.so.0
#6  0x00007fa8ae60532d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7fa877fff700 (LWP 4664)):
#0  0x00007fa8aee7f7ba in QMutex::lock() () from /usr/lib/libQt5Core.so.5
#1  0x00007fa8af0ba07b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa8af064022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#3  0x00007fa8aee8285c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#4  0x00007fa8aee8772f in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fa8a97bf374 in start_thread () from /lib/libpthread.so.0
#6  0x00007fa8ae60532d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fa86ab6e700 (LWP 4667)):
#0  0x00007fa8aee7f7ba in QMutex::lock() () from /usr/lib/libQt5Core.so.5
#1  0x00007fa8af0ba07b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa8af064022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#3  0x00007fa8aee8285c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#4  0x00007fa8aee8772f in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fa8a97bf374 in start_thread () from /lib/libpthread.so.0
#6  0x00007fa8ae60532d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fa8b0be6800 (LWP 4648)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007fa8b061b888 in KisOpenGLImageTextures::destroyImageTextureTiles() () from /usr/lib/libkritaui.so.15
#7  0x00007fa8b061f895 in KisOpenGLImageTextures::~KisOpenGLImageTextures() () from /usr/lib/libkritaui.so.15
#8  0x00007fa8b061fa99 in KisOpenGLImageTextures::~KisOpenGLImageTextures() () from /usr/lib/libkritaui.so.15
#9  0x00007fa8b0780bf4 in KisAnimationFrameCache::~KisAnimationFrameCache() () from /usr/lib/libkritaui.so.15
#10 0x00007fa8b0780c59 in KisAnimationFrameCache::~KisAnimationFrameCache() () from /usr/lib/libkritaui.so.15
#11 0x00007fa8828908ae in TimelineFramesModel::~TimelineFramesModel() () from /usr/lib/krita/kritaanimationdocker.so
#12 0x00007fa8828908c9 in TimelineFramesModel::~TimelineFramesModel() () from /usr/lib/krita/kritaanimationdocker.so
#13 0x00007fa8af0939bc in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#14 0x00007fa8af997bfb in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#15 0x00007fa8828816b9 in ?? () from /usr/lib/krita/kritaanimationdocker.so
#16 0x00007fa8af0939bc in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#17 0x00007fa8af997bfb in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#18 0x00007fa8aafe26cf in KMainWindow::~KMainWindow() () from /usr/lib/libkritawidgetutils.so.15
#19 0x00007fa8b073855f in KisMainWindow::~KisMainWindow() () from /usr/lib/libkritaui.so.15
#20 0x00007fa8b07387b9 in KisMainWindow::~KisMainWindow() () from /usr/lib/libkritaui.so.15
#21 0x00007fa8af095df8 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#22 0x00007fa8af99bfe7 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007fa8afa8fe5b in QMainWindow::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007fa8aafe2b47 in KMainWindow::event(QEvent*) () from /usr/lib/libkritawidgetutils.so.15
#25 0x00007fa8ab00cc75 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkritawidgetutils.so.15
#26 0x00007fa8af95afbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007fa8af960130 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007fa8b07025f7 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.15
#29 0x00007fa8af066483 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#30 0x00007fa8af0686f3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#31 0x00007fa8af0ba062 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007fa89f06bf7d in ?? () from /usr/lib/libQt5XcbQpa.so.5
#33 0x00007fa8af064022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#34 0x00007fa8af06bb9d in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#35 0x0000000000402c4b in main ()

Reported using DrKonqi
Comment 1 wolthera 2015-12-20 10:06:31 UTC
Is this version 3.0? Or 2.9?
Comment 2 Halla Rempt 2015-12-20 12:00:27 UTC
Must be 3.0, since it's with Qt 5.5.1 -- but there's a reason that we don't have 3.0 in the versions yet, it's still a bit early to report bugs. This one is known, and Dmitry should be working on it. It's the opengl textures double cleanup bug.
Comment 3 Halla Rempt 2015-12-21 12:21:53 UTC
Dmitry says that this should be fixed by now, and I cannot reproduce it anymore.