https://bugs.kde.org/show_bug.cgi?id=365992

            Bug ID: 365992
           Summary: Krita Crashes on closing document
           Product: krita
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: raghavendr.ra...@gmail.com

Application: krita (3.0.1 Alpha (git f594e3e))
 (Compiled from sources)
Qt Version: 5.7.0
Frameworks Version: 5.24.0
Operating System: Linux 4.6.4-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
I closed a document after working on it. Some times krita crashes when I close
last remaining document after closing multiple documents.

I build krita from git on linux

The crash can be reproduced sometimes.

-- Backtrace:
Application: Krita (krita), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4e0546c840 (LWP 7506))]

Thread 5 (Thread 0x7f4dcbfff700 (LWP 7514)):
#0  0x00007f4df96f00af in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007f4dfda10c2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x00007f4dfeaed851 in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007f4dfda0fd78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f4df96ea484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f4dfce086dd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f4dd0844700 (LWP 7512)):
#0  0x00007f4df96f00af in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007f4dfda10c2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x00007f4dfda09e26 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/libQt5Core.so.5
#3  0x00007f4e04000d13 in KisTileDataSwapper::waitForWork (this=<optimized
out>) at
/home/raghu/kf5/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f4e04000f1a in KisTileDataSwapper::run (this=0x7f4e044c9f20
<(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at
/home/raghu/kf5/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f4dfda0fd78 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f4df96ea484 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f4dfce086dd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f4dd1045700 (LWP 7511)):
#0  0x00007f4df96f00af in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007f4dfda10c2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x00007f4dfda09b33 in QSemaphore::acquire(int) () from
/usr/lib/libQt5Core.so.5
#3  0x00007f4e03fe558d in KisTileDataPooler::waitForWork (this=0x7f4e044c9ee0
<(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at
/home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  KisTileDataPooler::run (this=0x7f4e044c9ee0 <(anonymous
namespace)::Q_QGS_s_instance::innerFunction()::holder>) at
/home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007f4dfda0fd78 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f4df96ea484 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f4dfce086dd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f4de3cb2700 (LWP 7508)):
#0  0x00007f4df7516044 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f4df74d1839 in g_main_context_query () from
/usr/lib/libglib-2.0.so.0
#2  0x00007f4df74d1f48 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f4df74d20ec in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#4  0x00007f4dfdc3e59b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#5  0x00007f4dfdbe80da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#6  0x00007f4dfda0b0f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007f4df9037e75 in ?? () from /usr/lib/libQt5DBus.so.5
#8  0x00007f4dfda0fd78 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f4df96ea484 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f4dfce086dd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f4e0546c840 (LWP 7506)):
[KCrash Handler]
#5  0x00007f4dfcd54295 in raise () from /usr/lib/libc.so.6
#6  0x00007f4dfcd556da in abort () from /usr/lib/libc.so.6
#7  0x00007f4dfd9f64a1 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt5Core.so.5
#8  0x00007f4dffed272d in kis_assert_common
(assertion=assertion@entry=0x7f4e04fdf5ae "!sanityCheckPointer.isValid()",
file=file@entry=0x7f4e04fdf988
"/home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp", line=line@entry=578,
throwException=throwException@entry=false, isIgnorable=isIgnorable@entry=false)
at /home/raghu/kf5/src/krita/libs/global/kis_assert.cpp:90
#9  0x00007f4dffed2a9a in kis_assert_recoverable
(assertion=assertion@entry=0x7f4e04fdf5ae "!sanityCheckPointer.isValid()",
file=file@entry=0x7f4e04fdf988
"/home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp", line=line@entry=578) at
/home/raghu/kf5/src/krita/libs/global/kis_assert.cpp:103
#10 0x00007f4e04e43ee8 in KisDocument::~KisDocument (this=0x8c93260,
__in_chrg=<optimized out>) at
/home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp:578
#11 0x00007f4e04e43f59 in KisDocument::~KisDocument (this=0x8c93260,
__in_chrg=<optimized out>) at
/home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp:581
#12 0x00007f4dfdc16380 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#13 0x00007f4dfe8c9e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#14 0x00007f4dfe8d15b1 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#15 0x00007f4e04e35797 in KisApplication::notify (this=<optimized out>,
receiver=0x8c93260, event=0xd3cdcf0) at
/home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:505
#16 0x00007f4dfdbe9c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#17 0x00007f4dfdbec3fd in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#18 0x00007f4dfdc3e173 in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007f4df74d1dd7 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#20 0x00007f4df74d2040 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007f4df74d20ec in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#22 0x00007f4dfdc3e57f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#23 0x00007f4e04e64959 in KisMainWindow::slotProgress (this=0x83e33c0,
value=100) at /home/raghu/kf5/src/krita/libs/ui/KisMainWindow.cpp:1804
#24 0x00007f4e00fa24bd in KoProgressUpdater::~KoProgressUpdater
(this=0x102a7ad0, __in_chrg=<optimized out>) at
/home/raghu/kf5/src/krita/libs/widgetutils/KoProgressUpdater.cpp:76
#25 0x00007f4e00fa2709 in KoProgressUpdater::~KoProgressUpdater
(this=0x102a7ad0, __in_chrg=<optimized out>) at
/home/raghu/kf5/src/krita/libs/widgetutils/KoProgressUpdater.cpp:89
#26 0x00007f4e04e3ef67 in KisDocument::clearFileProgressUpdater
(this=0x8c93260) at /home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp:2384
#27 0x00007f4e04e456ed in KisDocument::saveFile (this=0x8c93260) at
/home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp:713
#28 0x00007f4e04e45de1 in KisDocument::save (this=this@entry=0x8c93260) at
/home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp:2138
#29 0x00007f4e04e46150 in KisDocument::saveAs (this=this@entry=0x8c93260,
kurl=...) at /home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp:2111
#30 0x00007f4e04e46339 in KisDocument::exportDocument
(this=this@entry=0x8c93260, _url=...) at
/home/raghu/kf5/src/krita/libs/ui/KisDocument.cpp:625
#31 0x00007f4e04e6cc24 in KisMainWindow::saveDocument
(this=this@entry=0x83e33c0, document=0x8c93260, saveas=<optimized out>,
saveas@entry=true, silent=silent@entry=false,
specialOutputFlag=specialOutputFlag@entry=0) at
/home/raghu/kf5/src/krita/libs/ui/KisMainWindow.cpp:1098
#32 0x00007f4e04e6d314 in KisMainWindow::slotFileSaveAs (this=0x83e33c0) at
/home/raghu/kf5/src/krita/libs/ui/KisMainWindow.cpp:1449
#33 0x00007f4e04e6d3ff in KisMainWindow::slotExportFile (this=0x83e33c0) at
/home/raghu/kf5/src/krita/libs/ui/KisMainWindow.cpp:1919
#34 0x00007f4e04e71d69 in KisMainWindow::qt_static_metacall (_o=0x83e33c0,
_c=<optimized out>, _id=<optimized out>, _a=0x7fffe914bc30) at
/home/raghu/kf5/build/libs/ui/moc_KisMainWindow.cpp:362
#35 0x00007f4dfdc154e9 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQt5Core.so.5
#36 0x00007f4dfe8c3472 in QAction::triggered(bool) () from
/usr/lib/libQt5Widgets.so.5
#37 0x00007f4dfe8c5e60 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/libQt5Widgets.so.5
#38 0x00007f4dfe8c67dc in QAction::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#39 0x00007f4dfe8c9e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#40 0x00007f4dfe8d15b1 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#41 0x00007f4e04e35797 in KisApplication::notify (this=<optimized out>,
receiver=0x90b4b80, event=0x7fffe914bf80) at
/home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:505
#42 0x00007f4dfdbe9c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#43 0x00007f4dfe1646a8 in QShortcutMap::dispatchEvent(QKeyEvent*) () from
/usr/lib/libQt5Gui.so.5
#44 0x00007f4dfe164769 in QShortcutMap::tryShortcut(QKeyEvent*) () from
/usr/lib/libQt5Gui.so.5
#45 0x00007f4dfe11d2cd in QWindowSystemInterface::handleShortcutEvent(QWindow*,
unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int,
unsigned int, QString const&, bool, unsigned short) () from
/usr/lib/libQt5Gui.so.5
#46 0x00007f4dfe1348a4 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() from /usr/lib/libQt5Gui.so.5
#47 0x00007f4dfe139c45 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /usr/lib/libQt5Gui.so.5
#48 0x00007f4dfe117cbb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Gui.so.5
#49 0x00007f4df2757310 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#50 0x00007f4df74d1dd7 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#51 0x00007f4df74d2040 in ?? () from /usr/lib/libglib-2.0.so.0
#52 0x00007f4df74d20ec in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#53 0x00007f4dfdc3e57f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#54 0x00007f4dfdbe80da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#55 0x00007f4dfdbf05cc in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#56 0x0000000000404c39 in main (argc=<optimized out>, argv=<optimized out>) at
/home/raghu/kf5/src/krita/krita/main.cc:230

Possible duplicates by query: bug 365985, bug 363958.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to